Community
Participate
Working Groups
The integration test Tycho122GeneratePomFileTest only passes if the Tycho build results are deployed into a Maven repository and that repository is enabled through the settings.xml (see [1] for details). I can't get it to work when I only build Tycho locally. For normal Tycho users, this has the following effect: The tycho-pomgenerator-plugin can only be used if it is available on Maven central. This means that we don't have a real issue here. Nevertheless we should figure out a way to run the test locally. [1] http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00097.html
Created attachment 194077 [details] mylyn/context/zip Disabled test [1] for now. [1] https://github.com/sonatype/sonatype-tycho/commit/a76be506c705c06154c25a939993069b06436b68
Jan pointed me to a different integration test which also calls the generate-poms goal - and that simply with an explicit version. The same approach (8f7afac) also fixes this bug. The test now always executes the version which has just been built, and not the versions listed in the remote repository file org/eclipse/tycho/tycho-pomgenerator-plugin/maven-metadata.xml While this bug is fixed, I realized that the POM generated in the integration test is actually broken -> bug 363908