Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343857

Summary: Integration test Tycho122GeneratePomFileTest fails
Product: z_Archived Reporter: Tobias Oberlies <t-oberlies>
Component: TychoAssignee: Project Inbox <tycho-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Tobias Oberlies CLA 2011-04-26 10:30:00 EDT
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
Comment 1 Tobias Oberlies CLA 2011-04-26 12:47:38 EDT
Created attachment 194077 [details]
mylyn/context/zip

Disabled test [1] for now.

[1] https://github.com/sonatype/sonatype-tycho/commit/a76be506c705c06154c25a939993069b06436b68
Comment 2 Tobias Oberlies CLA 2011-11-17 03:28:06 EST
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