-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run some pde.build tests with Tycho (second attempt) #980
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
requires.0.namespace = org.eclipse.equinox.p2.iu | ||
requires.0.name = org.eclipse.osgi.compatibility.state |
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
@@ -0,0 +1,57 @@ | ||||
<?xml version="1.0" encoding="UTF-8"?> | ||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||
<modelVersion>4.0.0</modelVersion> | ||||
<parent> | ||||
<groupId>org.eclipse.pde</groupId> | ||||
<artifactId>eclipse.pde.build</artifactId> | ||||
<version>4.31.0-SNAPSHOT</version> | ||||
</parent> | ||||
<artifactId>org.eclipse.pde.build.tests</artifactId> | ||||
<version>1.4.300-SNAPSHOT</version> | ||||
<packaging>eclipse-test-plugin</packaging> | ||||
|
||||
<build> | ||||
<plugins> | ||||
<plugin> | ||||
<groupId>org.eclipse.tycho</groupId> | ||||
<artifactId>target-platform-configuration</artifactId> | ||||
<configuration> | ||||
<dependency-resolution> | ||||
<extraRequirements> | ||||
<requirement> | ||||
<!-- The product --> | ||||
<type>p2-installable-unit</type> | ||||
<id>org.eclipse.sdk.ide</id> | ||||
<versionRange>0.0.0</versionRange> | ||||
</requirement> | ||||
</extraRequirements> | ||||
</dependency-resolution> | ||||
</configuration> | ||||
</plugin> | ||||
<plugin> | ||||
<groupId>org.eclipse.tycho</groupId> | ||||
<artifactId>tycho-surefire-plugin</artifactId> | ||||
<configuration> | ||||
<product>org.eclipse.sdk.ide</product> | ||||
<testRuntime>p2Installed</testRuntime> | ||||
<testClass>org.eclipse.pde.build.tests.PDEBuildTestSuite</testClass> | ||||
<systemProperties> | ||||
<pde.build.includeP2>false</pde.build.includeP2> | ||||
</systemProperties> | ||||
</configuration> | ||||
<executions> | ||||
<execution> | ||||
<id>p2-tests</id> | ||||
<goals><goal>test</goal></goals> | ||||
<configuration> | ||||
<testClass>org.eclipse.pde.build.tests.P2TestSuite</testClass> | ||||
<systemProperties/> | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Is this necessary? The effective pom view says this element is not configured in a parent pom. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is to clear the inherited properties from the default execution/plugin configuration, one might can configure the default execution but lets dont complicate it too much as it already is :-) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
That's fine :) |
||||
</configuration> | ||||
</execution> | ||||
</executions> | ||||
</plugin> | ||||
</plugins> | ||||
</build> | ||||
|
||||
</project> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am I right, that this testClass is used for the default
test
goal execution of thetycho-surefire-plugin
foreclipse-test-plugins
and the overwritten value in the separatep2-tests
execution refelects the second execution defined in this projects test.xml?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes