tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1460304 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java
Date Sun, 24 Mar 2013 10:17:22 GMT
Author: olamy
Date: Sun Mar 24 10:17:22 2013
New Revision: 1460304

URL: http://svn.apache.org/r1460304
Log:
[MTOMCAT-214] Default attachArtifactClassifierType for AbstractStandaloneWarMojo should be
war
Submitted by Tim Astle.

Modified:
    tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java

Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java
URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java?rev=1460304&r1=1460303&r2=1460304&view=diff
==============================================================================
--- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java
(original)
+++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java
Sun Mar 24 10:17:22 2013
@@ -68,6 +68,13 @@ public abstract class AbstractStandalone
                required = true)
     protected String attachArtifactClassifier;
 
+    /**
+     * the type to use for the attached/generated artifact
+     * @since 2.2
+     */
+    @Parameter( property = "maven.tomcat.exec.war.attachArtifactType", defaultValue = "war",
required = true )
+    protected String attachArtifactClassifierType;
+
     public void execute()
         throws MojoExecutionException, MojoFailureException
     {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message