Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356031 - The pomDependencies=consider demo fails with 0.12.0 and maven 3.0.3 on a mac
Summary: The pomDependencies=consider demo fails with 0.12.0 and maven 3.0.3 on a mac
Status: RESOLVED INVALID
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: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-28 14:16 EDT by benson margulies CLA
Modified: 2021-04-28 16:55 EDT (History)
0 users

See Also:


Attachments
log of failing run. (13.97 KB, application/octet-stream)
2011-08-28 14:16 EDT, benson margulies CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description benson margulies CLA 2011-08-28 14:16:04 EDT
Build Identifier: 0.12.0

Using current content of the github sonatype-tycho repo, I followed the procedure to run itp02. One of the tests fails with a missing class.

Error log to be attached.

Reproducible: Always

Steps to Reproduce:
1. clone sonatype-tycho
2. cd tycho-demo/itp02/build01
3. mvn install
4. cd ../build02
5. mvn install
Comment 1 benson margulies CLA 2011-08-28 14:16:35 EDT
Created attachment 202283 [details]
log of failing run.
Comment 2 benson margulies CLA 2011-08-28 16:39:20 EDT
This worked when I tried it a second time.
Comment 3 Tobias Oberlies CLA 2012-05-22 10:03:49 EDT
From the build log, I would say that this problem occurred because the project was imported in Eclipse, and the Eclipse Builder happened to do an incremental build while the tests were executed:

java.lang.Error: Unresolved compilation problems: 
	The import tycho.demo.itp02.pomfirst cannot be resolved
	PomFirst cannot be resolved to a type

	at tycho.demo.itp02.bundle.ITP02.<init>(ITP02.java:13)
	at tycho.demo.itp02.bundle.tests.ITP02Test.basic(ITP02Test.java:22)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)