Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343857 - Integration test Tycho122GeneratePomFileTest fails
Summary: Integration test Tycho122GeneratePomFileTest fails
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-26 10:30 EDT by Tobias Oberlies CLA
Modified: 2021-04-28 16:55 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (1.14 KB, application/octet-stream)
2011-04-26 12:47 EDT, Tobias Oberlies CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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