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

Bug 354421

Summary: Broken API in MirrorApplicationService
Product: z_Archived Reporter: Kai Kreuzer <kai>
Component: TychoAssignee: Jan Sievers <jan.sievers>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: bugs.eclipse.org, igor, jan.sievers, krum.tsvetkov, steffen.kriese, te
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Error message none

Description Kai Kreuzer CLA 2011-08-10 14:22:58 EDT
Since this commit today https://github.com/sonatype/sonatype-tycho/commit/ae73acb5c6c673a653aa914a7596f7c20042233c, my tycho build breaks during the eclipse-repository packaging with the following message:

org.eclipse.tycho:tycho-p2-repository-plugin:0.13.0-SNAPSHOT:assemble-repository (default-assemble-repository) on project org.openhab.runtime.product: Execution default-assemble-repository of goal org.eclipse.
n:0.13.0-SNAPSHOT:assemble-repository failed: An API incompatibility was encountered while executing org.eclipse.tycho:tycho-p2-repository-plugin:0.13.0-SNAPSHOT:assemble-repository: java.lang.NoSuchMethodErro
irroring.facade.MirrorApplicationService.mirrorReactor(Lorg/eclipse/tycho/p2/tools/RepositoryReferences;Lorg/eclipse/tycho/p2/tools/DestinationRepositoryDescriptor;Ljava/util/Collection;Lorg/eclipse/tycho/p2/t
/tycho/core/facade/MavenLogger;)V

This occurs on different test systems and also with a "-U". So I expect that there is a flaw in the current code?
Comment 1 Kai Kreuzer CLA 2011-08-10 14:29:38 EDT
Created attachment 201265 [details]
Error message

Sorry, the error message is a bit scrambled in the description, so I also add it as an attachment.
Comment 2 Jan Sievers CLA 2011-08-11 03:18:48 EDT
build and tests went OK for this change on hudson.eclipse.org:

https://hudson.eclipse.org/hudson/view/Tycho%20+%20Maven/job/tycho-nightly/25/

@Igor could it be that the sonatype build which deploys to

https://repository.sonatype.org/content/groups/forge/org/eclipse/tycho/

was broken and did a partial deployment?
Comment 4 Igor Fedorenko CLA 2011-08-11 06:09:05 EDT
(In reply to comment #2)
> 
> @Igor could it be that the sonatype build which deploys to
> 
> https://repository.sonatype.org/content/groups/forge/org/eclipse/tycho/
> 
> was broken and did a partial deployment?

Maven JVM crashed with OutOfMemoryError: PermGen space and not all artifacts were deployed as a result. There was a successful build after that, so latest deployed snapshots should be consistent now.
Comment 5 Kai Kreuzer CLA 2011-08-11 06:17:40 EDT
Thanks a lot, I can confirm that the build works again smoothly!
Comment 6 Jan Sievers CLA 2011-08-11 09:13:26 EDT
rebuild fixed the issue
Comment 7 Tobias Oberlies CLA 2011-08-23 12:03:03 EDT
This wasn't a tycho bug - marking it as WORKSFORME so that it doesn't appear in the 0.13.0 release notes.