Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] tycho 0.13.0 - installation failed

hi guys,

today i did an update to 0.13.0-snapshot, now i get an error on mvn install:

Installation failed.
The installable unit at.xyz.prod.product has not been found.

my product configuration file at.xyz.prod.product is in the root directory of the project "at.xyz.prod", product name & id are also "at.xyz.prod.product"

with 0.12.0 i had another problem, but tycho found the product.

my pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";>
	<modelVersion>4.0.0</modelVersion>
	<name>MFS Product</name>

	<groupId>at.xyz.prod</groupId>
	<artifactId>at.xyz.prod</artifactId>
	<packaging>eclipse-repository</packaging>

	<parent>
		<groupId>at.xyz</groupId>
		<artifactId>parentproject</artifactId>
		<relativePath>../parentproject/pom.xml</relativePath>
		<version>1.2.0</version>
	</parent>

	<properties>
		<product-id>at.xyz.prod.product</product-id>
	</properties>
	
	<build>
		<plugins>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-p2-director-plugin</artifactId>
				<version>${tycho-version}</version>
				<executions>
					<execution>
						<id>materialize-products</id>
						<goals>
							<goal>materialize-products</goal>
						</goals>
					</execution>
					<execution>
						<id>archive-products</id>
						<goals>
							<goal>archive-products</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<products>
						<product>
							<id>${product-id}</id>
						</product>
					</products>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.5</version>
				<executions>
					<execution>
						<id>copy-resources</id>
						<phase>generate-resources</phase>
						<goals>
							<goal>copy-resources</goal>
						</goals>
						<configuration>
<outputDirectory>${project.build.directory}/products/${product-id}/icons/</outputDirectory>
							<nonFilteredFileExtensions>
								<nonFilteredFileExtension>bmp</nonFilteredFileExtension>
								<nonFilteredFileExtension>png</nonFilteredFileExtension>
							</nonFilteredFileExtensions>
							<resources>
								<resource>
									<directory>icons</directory>
								</resource>
								<resource>
									<directory>OSGI-INF</directory>
								</resource>
							</resources>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>

any ideas?
thanks in advance, martin


Back to the top