Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354421 - Broken API in MirrorApplicationService
Summary: Broken API in MirrorApplicationService
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jan Sievers CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 14:22 EDT by Kai Kreuzer CLA
Modified: 2021-04-28 16:55 EDT (History)
6 users (show)

See Also:


Attachments
Error message (832 bytes, text/plain)
2011-08-10 14:29 EDT, Kai Kreuzer CLA
no flags Details

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