Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356622 - eclipse-feature dependencies in test configuration is silently ignored
Summary: eclipse-feature dependencies in test configuration is silently ignored
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Tobias Oberlies CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-02 12:17 EDT by Tobias Oberlies CLA
Modified: 2021-04-28 16:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Oberlies CLA 2011-09-02 12:17:35 EDT
The following configuration has no effect. I would expect that the feature is added to the test runtime.

<plugin>
	<groupId>org.eclipse.tycho</groupId>
	<artifactId>tycho-surefire-plugin</artifactId>
	<configuration>
		<dependencies>
			<dependency>
				<type>eclipse-feature</type>
				<artifactId>my-locally-built-feature</artifactId>
				<version>0.0.0</version>
			</dependency>
		</dependencies>
	</configuration>
</plugin>

Although the workaround is fairly easy (append ".feature.group" to the artifactId and change the type to  "p2-installable-unit"), I still consider this a major bug. Explicitly adding features to the test runtime becomes much more important in 0.13.0, because Tycho no longer magically adds the entire target platform to the runtime.
Comment 1 Tobias Oberlies CLA 2011-09-05 07:41:39 EDT
Fixed with 7e5439e. The example in the description now works.
Comment 2 Tobias Oberlies CLA 2011-09-05 07:41:59 EDT
As of last comment.