Author: rfscholte Date: Thu Feb 5 17:47:03 2015 New Revision: 1657640 URL: http://svn.apache.org/r1657640 Log: Improve ITs. However, it seems like the output needs to be parsed: exitcode is always 0?
Modified: maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_main/pom.xml maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_test/invoker.properties maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_test/pom.xml Modified: maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_main/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_main/pom.xml?rev=1657640&r1=1657639&r2=1657640&view=diff ============================================================================== --- maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_main/pom.xml (original) +++ maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_main/pom.xml Thu Feb 5 17:47:03 2015 @@ -27,6 +27,11 @@ under the License. <artifactId>unsupported-api</artifactId> <version>1.0-SNAPSHOT</version> + <properties> + <maven.compiler.source>1.6</maven.compiler.source> + <maven.compiler.target>1.6</maven.compiler.target> + </properties> + <build> <plugins> <plugin> Modified: maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_test/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_test/invoker.properties?rev=1657640&r1=1657639&r2=1657640&view=diff ============================================================================== --- maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_test/invoker.properties (original) +++ maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_test/invoker.properties Thu Feb 5 17:47:03 2015 @@ -15,7 +15,10 @@ # specific language governing permissions and limitations # under the License. -invoker.goals=process-test-classes # JDK1.8 exits with 0 when hitting a failure invoker.java.version=1.9+ -invoker.buildResult=failure +invoker.goals.1=process-classes +invoker.buildResult.1=success + +invoker.goals.2=process-test-classes +invoker.buildResult.2=failure Modified: maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_test/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_test/pom.xml?rev=1657640&r1=1657639&r2=1657640&view=diff ============================================================================== --- maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_test/pom.xml (original) +++ maven/plugins/trunk/maven-jdeps-plugin/src/it/unsupported-api_test/pom.xml Thu Feb 5 17:47:03 2015 @@ -27,6 +27,11 @@ under the License. <artifactId>unsupported-api</artifactId> <version>1.0-SNAPSHOT</version> + <properties> + <maven.compiler.source>1.6</maven.compiler.source> + <maven.compiler.target>1.6</maven.compiler.target> + </properties> + <build> <plugins> <plugin>