Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/pom.xml URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/pom.xml?rev=1756059&r1=1756058&r2=1756059&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/pom.xml (original) +++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/pom.xml Thu Aug 11 22:15:35 2016 @@ -1,85 +1,85 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- - 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. ---> - -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <groupId>org.apache.maven.plugins.plugin.its</groupId> - <artifactId>mplugin305</artifactId> - <version>1.0-SNAPSHOT</version> - <packaging>maven-plugin</packaging> - - <url>https://issues.apache.org/jira/browse/MPLUGIN-305</url> - - <properties> - <mavenPluginPluginVersion>@project.version@</mavenPluginPluginVersion> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - <version>2.2.1</version> - </dependency> - <dependency> - <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-annotations</artifactId> - <version>${mavenPluginPluginVersion}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.maven.surefire</groupId> - <artifactId>maven-surefire-common</artifactId> - <version>2.19.1</version> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>2.4</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-plugin-plugin</artifactId> - <version>${mavenPluginPluginVersion}</version> - <configuration> - <extractors> - <extractor>java-annotations</extractor> - </extractors> - <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> - <mojoDependencies> - <mojoDependency>org.apache.maven.surefire:maven-surefire-common</mojoDependency> - </mojoDependencies> - </configuration> - <executions> - <execution> - <id>mojo-descriptor</id> - <goals> - <goal>descriptor</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> -</project> +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + 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. +--> + +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.apache.maven.plugins.plugin.its</groupId> + <artifactId>mplugin305</artifactId> + <version>1.0-SNAPSHOT</version> + <packaging>maven-plugin</packaging> + + <url>https://issues.apache.org/jira/browse/MPLUGIN-305</url> + + <properties> + <mavenPluginPluginVersion>@project.version@</mavenPluginPluginVersion> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <version>2.2.1</version> + </dependency> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + <version>${mavenPluginPluginVersion}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.maven.surefire</groupId> + <artifactId>maven-surefire-common</artifactId> + <version>2.19.1</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.4</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-plugin-plugin</artifactId> + <version>${mavenPluginPluginVersion}</version> + <configuration> + <extractors> + <extractor>java-annotations</extractor> + </extractors> + <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> + <mojoDependencies> + <mojoDependency>org.apache.maven.surefire:maven-surefire-common</mojoDependency> + </mojoDependencies> + </configuration> + <executions> + <execution> + <id>mojo-descriptor</id> + <goals> + <goal>descriptor</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project>
Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/src/main/java/org/apache/maven/plugins/plugin/it/CustomSurefireMojo.java URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/src/main/java/org/apache/maven/plugins/plugin/it/CustomSurefireMojo.java?rev=1756059&r1=1756058&r2=1756059&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/src/main/java/org/apache/maven/plugins/plugin/it/CustomSurefireMojo.java (original) +++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/src/main/java/org/apache/maven/plugins/plugin/it/CustomSurefireMojo.java Thu Aug 11 22:15:35 2016 @@ -1,289 +1,289 @@ -package org.apache.maven.plugins.plugin.it; - -/* - * 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. - */ - -import java.io.File; -import java.util.List; - -import org.apache.maven.plugin.surefire.AbstractSurefireMojo; -import org.apache.maven.plugins.annotations.Mojo; -import org.apache.maven.surefire.suite.RunResult; - -@Mojo(name="custom-surefire") -public class CustomSurefireMojo extends AbstractSurefireMojo { - - public File getBasedir() - { - return null; - } - - public File getClassesDirectory() - { - return null; - } - - public String getDebugForkedProcess() - { - return null; - } - - public Boolean getFailIfNoSpecifiedTests() - { - return null; - } - - public int getForkedProcessTimeoutInSeconds() - { - return 0; - } - - public double getParallelTestsTimeoutForcedInSeconds() - { - return 0; - } - - public double getParallelTestsTimeoutInSeconds() - { - return 0; - } - - public String getReportFormat() - { - return null; - } - - public File getReportsDirectory() - { - return null; - } - - public String getShutdown() - { - return null; - } - - public int getSkipAfterFailureCount() - { - return 0; - } - - public String getTest() - { - return null; - } - - public File getTestClassesDirectory() - { - return null; - } - - public boolean isPrintSummary() - { - return false; - } - - public boolean isSkip() - { - return false; - } - - public boolean isSkipExec() - { - return false; - } - - public boolean isSkipTests() - { - return false; - } - - public boolean isUseFile() - { - return false; - } - - public boolean isUseManifestOnlyJar() - { - return false; - } - - public boolean isUseSystemClassLoader() - { - return false; - } - - public void setBasedir( File arg0 ) - { - } - - public void setClassesDirectory( File arg0 ) - { - } - - public void setDebugForkedProcess( String arg0 ) - { - } - - public void setFailIfNoSpecifiedTests( boolean arg0 ) - { - } - - public void setForkedProcessTimeoutInSeconds( int arg0 ) - { - } - - public void setParallelTestsTimeoutForcedInSeconds( double arg0 ) - { - } - - public void setParallelTestsTimeoutInSeconds( double arg0 ) - { - } - - public void setPrintSummary( boolean arg0 ) - { - } - - public void setReportFormat( String arg0 ) - { - } - - public void setReportsDirectory( File arg0 ) - { - } - - public void setSkip( boolean arg0 ) - { - } - - public void setSkipExec( boolean arg0 ) - { - } - - public void setSkipTests( boolean arg0 ) - { - } - - public void setTest( String arg0 ) - { - } - - public void setTestClassesDirectory( File arg0 ) - { - } - - public void setUseFile( boolean arg0 ) - { - } - - public void setUseManifestOnlyJar( boolean arg0 ) - { - } - - public void setUseSystemClassLoader( boolean arg0 ) - { - } - - @Override - protected String[] getDefaultIncludes() - { - return null; - } - - @Override - public File getExcludesFile() - { - return null; - } - - @Override - public List<String> getIncludes() - { - return null; - } - - @Override - public File getIncludesFile() - { - return null; - } - - @Override - protected String getPluginName() - { - return null; - } - - @Override - protected int getRerunFailingTestsCount() - { - return 0; - } - - @Override - public String getRunOrder() - { - return null; - } - - @Override - public File[] getSuiteXmlFiles() - { - return null; - } - - @Override - protected void handleSummary( RunResult arg0, Exception arg1 ) - { - } - - @Override - protected boolean hasSuiteXmlFiles() - { - return false; - } - - @Override - protected boolean isSkipExecution() - { - return false; - } - - @Override - public void setIncludes( List<String> arg0 ) - { - } - - @Override - public void setRunOrder( String arg0 ) - { - } - - @Override - public void setSuiteXmlFiles( File[] arg0 ) - { - } - - @Override - protected List<File> suiteXmlFiles() - { - return null; - } +package org.apache.maven.plugins.plugin.it; + +/* + * 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. + */ + +import java.io.File; +import java.util.List; + +import org.apache.maven.plugin.surefire.AbstractSurefireMojo; +import org.apache.maven.plugins.annotations.Mojo; +import org.apache.maven.surefire.suite.RunResult; + +@Mojo(name="custom-surefire") +public class CustomSurefireMojo extends AbstractSurefireMojo { + + public File getBasedir() + { + return null; + } + + public File getClassesDirectory() + { + return null; + } + + public String getDebugForkedProcess() + { + return null; + } + + public Boolean getFailIfNoSpecifiedTests() + { + return null; + } + + public int getForkedProcessTimeoutInSeconds() + { + return 0; + } + + public double getParallelTestsTimeoutForcedInSeconds() + { + return 0; + } + + public double getParallelTestsTimeoutInSeconds() + { + return 0; + } + + public String getReportFormat() + { + return null; + } + + public File getReportsDirectory() + { + return null; + } + + public String getShutdown() + { + return null; + } + + public int getSkipAfterFailureCount() + { + return 0; + } + + public String getTest() + { + return null; + } + + public File getTestClassesDirectory() + { + return null; + } + + public boolean isPrintSummary() + { + return false; + } + + public boolean isSkip() + { + return false; + } + + public boolean isSkipExec() + { + return false; + } + + public boolean isSkipTests() + { + return false; + } + + public boolean isUseFile() + { + return false; + } + + public boolean isUseManifestOnlyJar() + { + return false; + } + + public boolean isUseSystemClassLoader() + { + return false; + } + + public void setBasedir( File arg0 ) + { + } + + public void setClassesDirectory( File arg0 ) + { + } + + public void setDebugForkedProcess( String arg0 ) + { + } + + public void setFailIfNoSpecifiedTests( boolean arg0 ) + { + } + + public void setForkedProcessTimeoutInSeconds( int arg0 ) + { + } + + public void setParallelTestsTimeoutForcedInSeconds( double arg0 ) + { + } + + public void setParallelTestsTimeoutInSeconds( double arg0 ) + { + } + + public void setPrintSummary( boolean arg0 ) + { + } + + public void setReportFormat( String arg0 ) + { + } + + public void setReportsDirectory( File arg0 ) + { + } + + public void setSkip( boolean arg0 ) + { + } + + public void setSkipExec( boolean arg0 ) + { + } + + public void setSkipTests( boolean arg0 ) + { + } + + public void setTest( String arg0 ) + { + } + + public void setTestClassesDirectory( File arg0 ) + { + } + + public void setUseFile( boolean arg0 ) + { + } + + public void setUseManifestOnlyJar( boolean arg0 ) + { + } + + public void setUseSystemClassLoader( boolean arg0 ) + { + } + + @Override + protected String[] getDefaultIncludes() + { + return null; + } + + @Override + public File getExcludesFile() + { + return null; + } + + @Override + public List<String> getIncludes() + { + return null; + } + + @Override + public File getIncludesFile() + { + return null; + } + + @Override + protected String getPluginName() + { + return null; + } + + @Override + protected int getRerunFailingTestsCount() + { + return 0; + } + + @Override + public String getRunOrder() + { + return null; + } + + @Override + public File[] getSuiteXmlFiles() + { + return null; + } + + @Override + protected void handleSummary( RunResult arg0, Exception arg1 ) + { + } + + @Override + protected boolean hasSuiteXmlFiles() + { + return false; + } + + @Override + protected boolean isSkipExecution() + { + return false; + } + + @Override + public void setIncludes( List<String> arg0 ) + { + } + + @Override + public void setRunOrder( String arg0 ) + { + } + + @Override + public void setSuiteXmlFiles( File[] arg0 ) + { + } + + @Override + protected List<File> suiteXmlFiles() + { + return null; + } } \ No newline at end of file Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/src/main/java/org/apache/maven/plugins/plugin/it/CustomSurefireMojo.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/verify.groovy?rev=1756059&r1=1756058&r2=1756059&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/verify.groovy (original) +++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/verify.groovy Thu Aug 11 22:15:35 2016 @@ -1,26 +1,26 @@ -/* - * 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. - */ - -File descriptorFile = new File( basedir, "target/classes/META-INF/maven/plugin.xml" ); -assert descriptorFile.isFile() - -def pluginDescriptor = new XmlParser().parse( descriptorFile ); - -assert pluginDescriptor.mojos.mojo.size() == 1 -assert pluginDescriptor.mojos.mojo.parameters.parameter.size() == 50 - -return true; +/* + * 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. + */ + +File descriptorFile = new File( basedir, "target/classes/META-INF/maven/plugin.xml" ); +assert descriptorFile.isFile() + +def pluginDescriptor = new XmlParser().parse( descriptorFile ); + +assert pluginDescriptor.mojos.mojo.size() == 1 +assert pluginDescriptor.mojos.mojo.parameters.parameter.size() == 50 + +return true; Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/verify.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/packaging-jar/invoker.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/packaging-jar/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/packaging-jar/src/main/java/org/apache/maven/plugin/coreit/FirstMojo.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/packaging-jar/verify.groovy ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/plugin/src/main/resources/META-INF/maven/plugin.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/pluginManagement/src/main/resources/META-INF/maven/plugin.xml URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/pluginManagement/src/main/resources/META-INF/maven/plugin.xml?rev=1756059&r1=1756058&r2=1756059&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/pluginManagement/src/main/resources/META-INF/maven/plugin.xml (original) +++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/pluginManagement/src/main/resources/META-INF/maven/plugin.xml Thu Aug 11 22:15:35 2016 @@ -1,69 +1,69 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- -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. ---> - -<plugin> - <name>target bytecode defined by pluginManagement configuration</name> - <description></description> - <groupId>org.apache.maven.its.plugin-info-jdk</groupId> - <artifactId>pluginManagement</artifactId> - <version>1.0-SNAPSHOT</version> - <goalPrefix>Management</goalPrefix> - <isolatedRealm>false</isolatedRealm> - <inheritedByDefault>true</inheritedByDefault> - <mojos> - <mojo> - <goal>touch</goal> - <description>Goal which touches a timestamp file.</description> - <requiresDirectInvocation>false</requiresDirectInvocation> - <requiresProject>true</requiresProject> - <requiresReports>false</requiresReports> - <aggregator>false</aggregator> - <requiresOnline>false</requiresOnline> - <inheritedByDefault>true</inheritedByDefault> - <phase>process-sources</phase> - <implementation>org.apache.maven.plugins.issues.plugin.MyMojo</implementation> - <language>java</language> - <instantiationStrategy>per-lookup</instantiationStrategy> - <executionStrategy>once-per-session</executionStrategy> - <threadSafe>false</threadSafe> - <parameters> - <parameter> - <name>outputDirectory</name> - <type>java.io.File</type> - <required>true</required> - <editable>true</editable> - <description>Location of the file.</description> - </parameter> - </parameters> - <configuration> - <outputDirectory implementation="java.io.File">${project.build.directory}</outputDirectory> - </configuration> - </mojo> - </mojos> - <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - <type>jar</type> - <version>2.0</version> - </dependency> - </dependencies> +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +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. +--> + +<plugin> + <name>target bytecode defined by pluginManagement configuration</name> + <description></description> + <groupId>org.apache.maven.its.plugin-info-jdk</groupId> + <artifactId>pluginManagement</artifactId> + <version>1.0-SNAPSHOT</version> + <goalPrefix>Management</goalPrefix> + <isolatedRealm>false</isolatedRealm> + <inheritedByDefault>true</inheritedByDefault> + <mojos> + <mojo> + <goal>touch</goal> + <description>Goal which touches a timestamp file.</description> + <requiresDirectInvocation>false</requiresDirectInvocation> + <requiresProject>true</requiresProject> + <requiresReports>false</requiresReports> + <aggregator>false</aggregator> + <requiresOnline>false</requiresOnline> + <inheritedByDefault>true</inheritedByDefault> + <phase>process-sources</phase> + <implementation>org.apache.maven.plugins.issues.plugin.MyMojo</implementation> + <language>java</language> + <instantiationStrategy>per-lookup</instantiationStrategy> + <executionStrategy>once-per-session</executionStrategy> + <threadSafe>false</threadSafe> + <parameters> + <parameter> + <name>outputDirectory</name> + <type>java.io.File</type> + <required>true</required> + <editable>true</editable> + <description>Location of the file.</description> + </parameter> + </parameters> + <configuration> + <outputDirectory implementation="java.io.File">${project.build.directory}</outputDirectory> + </configuration> + </mojo> + </mojos> + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <type>jar</type> + <version>2.0</version> + </dependency> + </dependencies> </plugin> \ No newline at end of file Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/pluginManagement/src/main/resources/META-INF/maven/plugin.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/property/src/main/resources/META-INF/maven/plugin.xml URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/property/src/main/resources/META-INF/maven/plugin.xml?rev=1756059&r1=1756058&r2=1756059&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/property/src/main/resources/META-INF/maven/plugin.xml (original) +++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/property/src/main/resources/META-INF/maven/plugin.xml Thu Aug 11 22:15:35 2016 @@ -1,69 +1,69 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- -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. ---> - -<plugin> - <name>target bytecode defined by maven.compiler.target property</name> - <description></description> - <groupId>org.apache.maven.its.plugin-info-jdk</groupId> - <artifactId>property</artifactId> - <version>1.0-SNAPSHOT</version> - <goalPrefix>property</goalPrefix> - <isolatedRealm>false</isolatedRealm> - <inheritedByDefault>true</inheritedByDefault> - <mojos> - <mojo> - <goal>touch</goal> - <description>Goal which touches a timestamp file.</description> - <requiresDirectInvocation>false</requiresDirectInvocation> - <requiresProject>true</requiresProject> - <requiresReports>false</requiresReports> - <aggregator>false</aggregator> - <requiresOnline>false</requiresOnline> - <inheritedByDefault>true</inheritedByDefault> - <phase>process-sources</phase> - <implementation>org.apache.maven.plugins.issues.plugin.MyMojo</implementation> - <language>java</language> - <instantiationStrategy>per-lookup</instantiationStrategy> - <executionStrategy>once-per-session</executionStrategy> - <threadSafe>false</threadSafe> - <parameters> - <parameter> - <name>outputDirectory</name> - <type>java.io.File</type> - <required>true</required> - <editable>true</editable> - <description>Location of the file.</description> - </parameter> - </parameters> - <configuration> - <outputDirectory implementation="java.io.File">${project.build.directory}</outputDirectory> - </configuration> - </mojo> - </mojos> - <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - <type>jar</type> - <version>2.0</version> - </dependency> - </dependencies> +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +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. +--> + +<plugin> + <name>target bytecode defined by maven.compiler.target property</name> + <description></description> + <groupId>org.apache.maven.its.plugin-info-jdk</groupId> + <artifactId>property</artifactId> + <version>1.0-SNAPSHOT</version> + <goalPrefix>property</goalPrefix> + <isolatedRealm>false</isolatedRealm> + <inheritedByDefault>true</inheritedByDefault> + <mojos> + <mojo> + <goal>touch</goal> + <description>Goal which touches a timestamp file.</description> + <requiresDirectInvocation>false</requiresDirectInvocation> + <requiresProject>true</requiresProject> + <requiresReports>false</requiresReports> + <aggregator>false</aggregator> + <requiresOnline>false</requiresOnline> + <inheritedByDefault>true</inheritedByDefault> + <phase>process-sources</phase> + <implementation>org.apache.maven.plugins.issues.plugin.MyMojo</implementation> + <language>java</language> + <instantiationStrategy>per-lookup</instantiationStrategy> + <executionStrategy>once-per-session</executionStrategy> + <threadSafe>false</threadSafe> + <parameters> + <parameter> + <name>outputDirectory</name> + <type>java.io.File</type> + <required>true</required> + <editable>true</editable> + <description>Location of the file.</description> + </parameter> + </parameters> + <configuration> + <outputDirectory implementation="java.io.File">${project.build.directory}</outputDirectory> + </configuration> + </mojo> + </mojos> + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <type>jar</type> + <version>2.0</version> + </dependency> + </dependencies> </plugin> \ No newline at end of file Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/property/src/main/resources/META-INF/maven/plugin.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/requirement/src/main/resources/META-INF/maven/plugin.xml URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/requirement/src/main/resources/META-INF/maven/plugin.xml?rev=1756059&r1=1756058&r2=1756059&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/requirement/src/main/resources/META-INF/maven/plugin.xml (original) +++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/requirement/src/main/resources/META-INF/maven/plugin.xml Thu Aug 11 22:15:35 2016 @@ -1,69 +1,69 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- -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. ---> - -<plugin> - <name>target bytecode defined by report jdk requirement configuration</name> - <description></description> - <groupId>org.apache.maven.its.plugin-info-jdk</groupId> - <artifactId>requirement</artifactId> - <version>1.0-SNAPSHOT</version> - <goalPrefix>requirement</goalPrefix> - <isolatedRealm>false</isolatedRealm> - <inheritedByDefault>true</inheritedByDefault> - <mojos> - <mojo> - <goal>touch</goal> - <description>Goal which touches a timestamp file.</description> - <requiresDirectInvocation>false</requiresDirectInvocation> - <requiresProject>true</requiresProject> - <requiresReports>false</requiresReports> - <aggregator>false</aggregator> - <requiresOnline>false</requiresOnline> - <inheritedByDefault>true</inheritedByDefault> - <phase>process-sources</phase> - <implementation>org.apache.maven.plugins.issues.plugin.MyMojo</implementation> - <language>java</language> - <instantiationStrategy>per-lookup</instantiationStrategy> - <executionStrategy>once-per-session</executionStrategy> - <threadSafe>false</threadSafe> - <parameters> - <parameter> - <name>outputDirectory</name> - <type>java.io.File</type> - <required>true</required> - <editable>true</editable> - <description>Location of the file.</description> - </parameter> - </parameters> - <configuration> - <outputDirectory implementation="java.io.File">${project.build.directory}</outputDirectory> - </configuration> - </mojo> - </mojos> - <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - <type>jar</type> - <version>2.0</version> - </dependency> - </dependencies> +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +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. +--> + +<plugin> + <name>target bytecode defined by report jdk requirement configuration</name> + <description></description> + <groupId>org.apache.maven.its.plugin-info-jdk</groupId> + <artifactId>requirement</artifactId> + <version>1.0-SNAPSHOT</version> + <goalPrefix>requirement</goalPrefix> + <isolatedRealm>false</isolatedRealm> + <inheritedByDefault>true</inheritedByDefault> + <mojos> + <mojo> + <goal>touch</goal> + <description>Goal which touches a timestamp file.</description> + <requiresDirectInvocation>false</requiresDirectInvocation> + <requiresProject>true</requiresProject> + <requiresReports>false</requiresReports> + <aggregator>false</aggregator> + <requiresOnline>false</requiresOnline> + <inheritedByDefault>true</inheritedByDefault> + <phase>process-sources</phase> + <implementation>org.apache.maven.plugins.issues.plugin.MyMojo</implementation> + <language>java</language> + <instantiationStrategy>per-lookup</instantiationStrategy> + <executionStrategy>once-per-session</executionStrategy> + <threadSafe>false</threadSafe> + <parameters> + <parameter> + <name>outputDirectory</name> + <type>java.io.File</type> + <required>true</required> + <editable>true</editable> + <description>Location of the file.</description> + </parameter> + </parameters> + <configuration> + <outputDirectory implementation="java.io.File">${project.build.directory}</outputDirectory> + </configuration> + </mojo> + </mojos> + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <type>jar</type> + <version>2.0</version> + </dependency> + </dependencies> </plugin> \ No newline at end of file Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/requirement/src/main/resources/META-INF/maven/plugin.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/test.properties URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/test.properties?rev=1756059&r1=1756058&r2=1756059&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/test.properties (original) +++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/test.properties Thu Aug 11 22:15:35 2016 @@ -1,18 +1,18 @@ -# 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. -maven.compiler.source=1.3 +# 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. +maven.compiler.source=1.3 maven.compiler.target=1.3 \ No newline at end of file Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/test.properties ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/invoker.properties URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/invoker.properties?rev=1756059&r1=1756058&r2=1756059&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/invoker.properties (original) +++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/invoker.properties Thu Aug 11 22:15:35 2016 @@ -1,19 +1,19 @@ -# 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. - -invoker.goals = install -DskipTests +# 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. + +invoker.goals = install -DskipTests invoker.mavenOpts = -Dmaven.plugin.skip=true \ No newline at end of file Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/invoker.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/src/main/java/org/apache/maven/plugin/coreit/CoreIt0013Mojo.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/src/main/java/org/apache/maven/plugin/coreit/FirstMojo.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/src/main/java/org/apache/maven/plugin/coreit/SecondMojo.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/verify.groovy?rev=1756059&r1=1756058&r2=1756059&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/verify.groovy (original) +++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/verify.groovy Thu Aug 11 22:15:35 2016 @@ -1,23 +1,23 @@ -/* - * 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. - */ - -File descriptorFile = new File( basedir, "target/classes/META-INF/maven/plugin.xml" ); -assert !descriptorFile.isFile() - -return true; +/* + * 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. + */ + +File descriptorFile = new File( basedir, "target/classes/META-INF/maven/plugin.xml" ); +assert !descriptorFile.isFile() + +return true; Propchange: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/verify.groovy ------------------------------------------------------------------------------ svn:eol-style = native