Author: bimargulies Date: Fri Sep 2 15:40:15 2011 New Revision: 1164585 URL: http://svn.apache.org/viewvc?rev=1164585&view=rev Log: [MPLUGIN-177] Required JDK incorrectly specified if using default for m-compiler-p o forgot two svn adds.
Added: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/invoker.properties (with props) maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/verify.groovy (with props) Added: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/invoker.properties?rev=1164585&view=auto ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/invoker.properties (added) +++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/invoker.properties Fri Sep 2 15:40:15 2011 @@ -0,0 +1 @@ +invoker.goals = clean site Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/invoker.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/invoker.properties ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/verify.groovy?rev=1164585&view=auto ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/verify.groovy (added) +++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/verify.groovy Fri Sep 2 15:40:15 2011 @@ -0,0 +1,27 @@ + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +assert new File( basedir, 'target/site' ).exists(); + +content = new File( basedir, 'target/site/plugin-info.html' ).text; + +assert !content.contains( '<td>1.1</td>' ); +assert content.contains( '<td>Default target for maven-compiler-plugin version' ); + +return true; \ No newline at end of file Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/verify.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk-default-version/verify.groovy ------------------------------------------------------------------------------ svn:mime-type = text/plain