Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How do I Merge p2 repository builds

I can't see anything obvious. Can you reproduce it in a stand alone case?
Have you tried Tycho 0.15.0? Also try running mvn with -X to see full
debugging output.

Simon

On 25 July 2012 08:16, Nadav Hoze <nadavh@xxxxxxxxxx> wrote:
> Hi,
>
> I'm using tycho version 0.14.1
>
> but in  Tycho-Extras there is no version 0.14.1, so I used version 0.14.0.
>
> regarding the order I did change the  the phase mirror goal from
> prepare-package to package because the packaging of the repository was not
> created and I though that this is the problem.
>
> please tell me how should I set the configuration right ?
>
> here is my entire pom, if you need anything else let me know.
>
> <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>
> <artifactId>spml-plugin-update-site</artifactId>
> <packaging>eclipse-repository</packaging>
> <name>Spml Update Site</name>
>
> <parent>
> <artifactId>spml-tycho-parent</artifactId>
> <groupId>com.sapiens.spml</groupId>
> <version>${spml.bundle.version}</version>
> <relativePath>../spml-tycho-parent</relativePath>
> </parent>
>
>
> <dependencies>
> <dependency>
> <artifactId>com.sapiens.spml.tool.ide</artifactId>
> <groupId>com.sapiens.spml</groupId>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> <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>
> </plugin>
> <plugin>
> <groupId>org.eclipse.tycho.extras</groupId>
> <artifactId>tycho-p2-extras-plugin</artifactId>
> <version>0.14.0</version>
> <executions>
> <execution>
> <phase>package</phase>
> <goals>
> <goal>mirror</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <source>
> <!-- source repositories to mirror from -->
> <repository>
> <!-- I removed it from confidentiality reasons -->
>
> <url>my-update-site-url</url>
> <layout>p2</layout>
> <!-- supported layouts are "p2-metadata", "p2-artifacts", and "p2"
> (for joint repositories; default) -->
> </repository>
>
> <!-- starting from here all configuration parameters are optional -->
> <!-- they are only shown here with default values for documentation
> purpose -->
>
> <!-- List of IUs to mirror. If omitted, allIUs will be mirrored. -->
> <!-- Omitted IU version element means latest version of the IU -->
> <!-- <ius> <iu> <id>org.eclipse.rcp.feature.group</id> </iu> </ius> -->
> <!-- The destination directory to mirror to. -->
> <destination>${project.build.directory}/repository</destination>
> <!-- Whether only strict dependencies should be followed. -->
> <!-- "strict" means perfect version match -->
> <followStrictOnly>false</followStrictOnly>
> <!-- Whether or not to follow optional requirements. -->
> <includeOptional>true</includeOptional>
> <!-- Whether or not to follow non-greedy requirements. -->
> <includeNonGreedy>true</includeNonGreedy>
> <!-- Filter properties. E.g. filter only one platform -->
>
>
> <!-- Whether to filter the resulting set of IUs to only -->
> <!-- include the latest version of each IU -->
> <latestVersionOnly>false</latestVersionOnly>
> <!-- don't mirror artifacts, only metadata -->
> <mirrorMetadataOnly>false</mirrorMetadataOnly>
> <!-- whether to compress the content.xml/artifacts.xml -->
> <compress>true</compress>
> <!-- whether to append to the target repository content -->
> <append>true</append>
> </source>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
>
> Thanks,
>
> Nadav


Back to the top