Author: rfscholte
Date: Thu Aug 11 22:15:35 2016
New Revision: 1756059
URL: http://svn.apache.org/viewvc?rev=1756059&view=rev
Log:
Ensure native EOL
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/java-basic-annotations/src/main/java/org/apache/maven/plugin/coreit/MPlugin220Mojo.java
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-187/invoker.properties
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-187/pom.xml
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/invoker.properties
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/src/main/java/org/apache/maven/plugins/plugin/it/MyMojo.java
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/verify.groovy
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/invoker.properties
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/pom.xml
(props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/src/main/java/fr/ca/MyMojo.java
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/src/main/java/fr/ca/TestInterface.java
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/invoker.properties
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/pom.xml
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/src/main/java/org/apache/maven/plugins/plugin/it/CustomSurefireMojo.java
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/verify.groovy
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/invoker.properties
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/pom.xml
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/src/main/java/org/apache/maven/plugins/plugin/it/CustomSurefireMojo.java
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/verify.groovy
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/invoker.properties
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/pom.xml
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/src/main/java/org/apache/maven/plugins/plugin/it/CustomSurefireMojo.java
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/verify.groovy
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/packaging-jar/invoker.properties
(props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/packaging-jar/pom.xml
(props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/packaging-jar/src/main/java/org/apache/maven/plugin/coreit/FirstMojo.java
(props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/packaging-jar/verify.groovy
(props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/plugin/src/main/resources/META-INF/maven/plugin.xml
(props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/pluginManagement/src/main/resources/META-INF/maven/plugin.xml
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/property/src/main/resources/META-INF/maven/plugin.xml
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/requirement/src/main/resources/META-INF/maven/plugin.xml
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-info-jdk/test.properties
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/invoker.properties
(contents, props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/pom.xml (props
changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/src/main/java/org/apache/maven/plugin/coreit/CoreIt0013Mojo.java
(props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/src/main/java/org/apache/maven/plugin/coreit/FirstMojo.java
(props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/src/main/java/org/apache/maven/plugin/coreit/SecondMojo.java
(props changed)
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/skip/verify.groovy
(contents, props changed)
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/java-basic-annotations/src/main/java/org/apache/maven/plugin/coreit/MPlugin220Mojo.java
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/java-basic-annotations/src/main/java/org/apache/maven/plugin/coreit/MPlugin220Mojo.java?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/java-basic-annotations/src/main/java/org/apache/maven/plugin/coreit/MPlugin220Mojo.java
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/java-basic-annotations/src/main/java/org/apache/maven/plugin/coreit/MPlugin220Mojo.java
Thu Aug 11 22:15:35 2016
@@ -1,47 +1,47 @@
-package org.apache.maven.plugin.coreit;
-
-/*
- * 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 org.apache.maven.plugin.AbstractMojo;
-import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.plugins.annotations.Mojo;
-import org.apache.maven.plugins.annotations.Parameter;
-
-import java.io.File;
-import java.io.IOException;
-
-/**
- * Could not use regex in @Parameter(defaultValue)
- */
-@Mojo( name = "mplugin-220" )
-public class MPlugin220Mojo
- extends AbstractMojo
-{
-
- @Parameter( defaultValue = "[a-zA-Z]{2,}-\\\\d+" )
- private String regex;
-
- public void execute()
- throws MojoExecutionException
- {
- getLog().info( "regex = " + regex );
- }
-
-}
+package org.apache.maven.plugin.coreit;
+
+/*
+ * 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 org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.Parameter;
+
+import java.io.File;
+import java.io.IOException;
+
+/**
+ * Could not use regex in @Parameter(defaultValue)
+ */
+@Mojo( name = "mplugin-220" )
+public class MPlugin220Mojo
+ extends AbstractMojo
+{
+
+ @Parameter( defaultValue = "[a-zA-Z]{2,}-\\\\d+" )
+ private String regex;
+
+ public void execute()
+ throws MojoExecutionException
+ {
+ getLog().info( "regex = " + regex );
+ }
+
+}
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/java-basic-annotations/src/main/java/org/apache/maven/plugin/coreit/MPlugin220Mojo.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-187/invoker.properties
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-187/invoker.properties?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-187/invoker.properties
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-187/invoker.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.
-
-invoker.goals = clean plugin:report -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 = clean plugin:report -DskipTests
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-187/invoker.properties
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-187/pom.xml
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-187/pom.xml?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-187/pom.xml
(original)
+++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-187/pom.xml Thu
Aug 11 22:15:35 2016
@@ -1,45 +1,45 @@
-<?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>mplugin-187</artifactId>
- <version>1.0-SNAPSHOT</version>
-
- <description>Verify that plugin:report succeeds</description>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-plugin-plugin</artifactId>
- <version>@project.version@</version>
- </plugin>
- </plugins>
- </build>
-
+<?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>mplugin-187</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <description>Verify that plugin:report succeeds</description>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <version>@project.version@</version>
+ </plugin>
+ </plugins>
+ </build>
+
</project>
\ No newline at end of file
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-187/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/invoker.properties
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/invoker.properties?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/invoker.properties
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/invoker.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.
-
-invoker.goals = clean compile plugin:report
+# 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 = clean compile plugin:report
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/invoker.properties
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/src/main/java/org/apache/maven/plugins/plugin/it/MyMojo.java
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/src/main/java/org/apache/maven/plugins/plugin/it/MyMojo.java?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/src/main/java/org/apache/maven/plugins/plugin/it/MyMojo.java
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/src/main/java/org/apache/maven/plugins/plugin/it/MyMojo.java
Thu Aug 11 22:15:35 2016
@@ -1,81 +1,81 @@
-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 org.apache.maven.plugin.AbstractMojo;
-import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.plugins.annotations.LifecyclePhase;
-import org.apache.maven.plugins.annotations.Mojo;
-import org.apache.maven.plugins.annotations.Parameter;
-
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-
-/**
- * Goal which touches a timestamp file.
- */
-@Mojo(name = "touch", defaultPhase = LifecyclePhase.PROCESS_RESOURCES)
-public class MyMojo
- extends AbstractMojo
-{
- /**
- * Location of the file.
- */
- @Parameter(defaultValue = "${project.build.directory}", required = true)
- private File outputDirectory;
-
- public void execute()
- throws MojoExecutionException
- {
- File f = outputDirectory;
-
- if ( !f.exists() )
- {
- f.mkdirs();
- }
-
- File touch = new File( f, "touch.txt" );
-
- FileWriter w = null;
- try
- {
- w = new FileWriter( touch );
-
- w.write( "touch.txt" );
- }
- catch ( IOException e )
- {
- throw new MojoExecutionException( "Error creating file " + touch,
e );
- }
- finally
- {
- if ( w != null )
- {
- try
- {
- w.close();
- }
- catch ( IOException e )
- {
- // ignore
- }
- }
- }
- }
-}
+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 org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.Parameter;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+
+/**
+ * Goal which touches a timestamp file.
+ */
+@Mojo(name = "touch", defaultPhase = LifecyclePhase.PROCESS_RESOURCES)
+public class MyMojo
+ extends AbstractMojo
+{
+ /**
+ * Location of the file.
+ */
+ @Parameter(defaultValue = "${project.build.directory}", required = true)
+ private File outputDirectory;
+
+ public void execute()
+ throws MojoExecutionException
+ {
+ File f = outputDirectory;
+
+ if ( !f.exists() )
+ {
+ f.mkdirs();
+ }
+
+ File touch = new File( f, "touch.txt" );
+
+ FileWriter w = null;
+ try
+ {
+ w = new FileWriter( touch );
+
+ w.write( "touch.txt" );
+ }
+ catch ( IOException e )
+ {
+ throw new MojoExecutionException( "Error creating file " + touch,
e );
+ }
+ finally
+ {
+ if ( w != null )
+ {
+ try
+ {
+ w.close();
+ }
+ catch ( IOException e )
+ {
+ // ignore
+ }
+ }
+ }
+ }
+}
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/src/main/java/org/apache/maven/plugins/plugin/it/MyMojo.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/verify.groovy
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/verify.groovy?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/verify.groovy
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/verify.groovy
Thu Aug 11 22:15:35 2016
@@ -1,24 +1,24 @@
-/*
- * 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 pluginInfo = new File( basedir, "target/site/plugin-info.html" );
-assert pluginInfo.isFile()
-
-File touchMojo = new File( basedir,
"target/generated-site/xdoc/touch-mojo.xml" );
-assert touchMojo.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 pluginInfo = new File( basedir, "target/site/plugin-info.html" );
+assert pluginInfo.isFile()
+
+File touchMojo = new File( basedir,
"target/generated-site/xdoc/touch-mojo.xml" );
+assert touchMojo.isFile()
+
+return true;
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-191/verify.groovy
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/invoker.properties
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/invoker.properties?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/invoker.properties
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/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.java.version = 1.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.
+
+invoker.java.version = 1.8+
invoker.goals.1 = clean verify
\ No newline at end of file
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/invoker.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/src/main/java/fr/ca/MyMojo.java
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/src/main/java/fr/ca/MyMojo.java?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/src/main/java/fr/ca/MyMojo.java
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/src/main/java/fr/ca/MyMojo.java
Thu Aug 11 22:15:35 2016
@@ -1,37 +1,37 @@
-package fr.ca;
-
-/*
- * 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 org.apache.maven.plugin.AbstractMojo;
-import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.plugin.MojoFailureException;
-import org.apache.maven.plugins.annotations.LifecyclePhase;
-import org.apache.maven.plugins.annotations.Mojo;
-
-/**
- * Created by clement.agarini on 04/08/14.
- */
-@Mojo(name="test-plugin",defaultPhase = LifecyclePhase.GENERATE_SOURCES)
-public class MyMojo extends AbstractMojo {
- @Override
- public void execute() throws MojoExecutionException, MojoFailureException {
-
- }
-}
+package fr.ca;
+
+/*
+ * 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 org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+
+/**
+ * Created by clement.agarini on 04/08/14.
+ */
+@Mojo(name="test-plugin",defaultPhase = LifecyclePhase.GENERATE_SOURCES)
+public class MyMojo extends AbstractMojo {
+ @Override
+ public void execute() throws MojoExecutionException, MojoFailureException {
+
+ }
+}
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/src/main/java/fr/ca/MyMojo.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/src/main/java/fr/ca/TestInterface.java
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/src/main/java/fr/ca/TestInterface.java?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/src/main/java/fr/ca/TestInterface.java
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/src/main/java/fr/ca/TestInterface.java
Thu Aug 11 22:15:35 2016
@@ -1,27 +1,27 @@
-package fr.ca;
-
-/*
- * 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.
- */
-
-public interface TestInterface {
-
- public default void foo(){
-
- }
-}
+package fr.ca;
+
+/*
+ * 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.
+ */
+
+public interface TestInterface {
+
+ public default void foo(){
+
+ }
+}
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-272_java8/src/main/java/fr/ca/TestInterface.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/invoker.properties
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/invoker.properties?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/invoker.properties
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/invoker.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.
-
+# 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.1 = clean process-classes
\ No newline at end of file
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/invoker.properties
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/pom.xml
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/pom.xml?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/pom.xml
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/pom.xml
Thu Aug 11 22:15:35 2016
@@ -1,82 +1,82 @@
-<?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>
- </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>
+ </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_defaultMojoDependencies/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/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_defaultMojoDependencies/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_defaultMojoDependencies/src/main/java/org/apache/maven/plugins/plugin/it/CustomSurefireMojo.java
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/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_defaultMojoDependencies/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_defaultMojoDependencies/verify.groovy
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/verify.groovy?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/verify.groovy
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_defaultMojoDependencies/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_defaultMojoDependencies/verify.groovy
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/invoker.properties
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/invoker.properties?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/invoker.properties
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/invoker.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.
-
+# 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.1 = clean process-classes
\ No newline at end of file
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/invoker.properties
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/pom.xml
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/pom.xml?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/pom.xml
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/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>
- </configuration>
- <executions>
- <execution>
- <id>mojo-descriptor</id>
- <goals>
- <goal>descriptor</goal>
- </goals>
- <configuration>
- <mojoDependencies/>
- </configuration>
- </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>
+ </configuration>
+ <executions>
+ <execution>
+ <id>mojo-descriptor</id>
+ <goals>
+ <goal>descriptor</goal>
+ </goals>
+ <configuration>
+ <mojoDependencies/>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/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_emptyMojoDependencies/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_emptyMojoDependencies/src/main/java/org/apache/maven/plugins/plugin/it/CustomSurefireMojo.java
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/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_emptyMojoDependencies/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_emptyMojoDependencies/verify.groovy
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/verify.groovy?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/verify.groovy
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/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() == 0
-
-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() == 0
+
+return true;
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_emptyMojoDependencies/verify.groovy
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/invoker.properties
URL:
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/invoker.properties?rev=1756059&r1=1756058&r2=1756059&view=diff
==============================================================================
---
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/invoker.properties
(original)
+++
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/invoker.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.
-
+# 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.1 = clean process-classes
\ No newline at end of file
Propchange:
maven/plugin-tools/trunk/maven-plugin-plugin/src/it/mplugin-305_singleMojoDependencies/invoker.properties
------------------------------------------------------------------------------
svn:eol-style = native