You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2015/11/11 14:28:22 UTC

svn commit: r1713838 - in /maven/plugins/trunk/maven-ejb-plugin/src: main/java/org/apache/maven/plugin/ejb/EjbMojo.java site/apt/index.apt.vm

Author: khmarbaise
Date: Wed Nov 11 13:28:22 2015
New Revision: 1713838

URL: http://svn.apache.org/viewvc?rev=1713838&view=rev
Log:
[MEJB-86] Make naming of properties consistent

Modified:
    maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java
    maven/plugins/trunk/maven-ejb-plugin/src/site/apt/index.apt.vm

Modified: maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java?rev=1713838&r1=1713837&r2=1713838&view=diff
==============================================================================
--- maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java (original)
+++ maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java Wed Nov 11 13:28:22 2015
@@ -82,26 +82,26 @@ public class EjbMojo
     /**
      * The name of the EJB file to generate.
      */
-    @Parameter( property = "jarName", defaultValue = "${project.build.finalName}" )
+    @Parameter( property = "maven.ejb.jarName", defaultValue = "${project.build.finalName}" )
     private String jarName;
 
     /**
      * Classifier to add to the artifact generated. If given, the artifact will be an attachment instead.
      */
-    @Parameter( property = "ejb.classifier" )
+    @Parameter( property = "maven.ejb.classifier" )
     private String classifier;
 
     /**
      * You can define the location of <code>ejb-jar.xml</code> file.
      */
-    @Parameter( property = "ejb.ejbJar", defaultValue = "META-INF/ejb-jar.xml" )
+    @Parameter( property = "maven.ejb.ejbJar", defaultValue = "META-INF/ejb-jar.xml" )
     // The initialization is needed to get the unit tests running which seemed to lack lookup for the defaultValue.
     private String ejbJar = "META-INF/ejb-jar.xml";
 
     /**
      * Whether the EJB client jar should be generated or not.
      */
-    @Parameter( property = "ejb.generateClient", defaultValue = "false" )
+    @Parameter( property = "maven.ejb.generateClient", defaultValue = "false" )
     private boolean generateClient;
 
     /**
@@ -177,10 +177,9 @@ public class EjbMojo
      * <pre>
      * &lt;ejbVersion&gt;3.0&lt;&#47;ejbVersion&gt;
      * </pre>
-     *
      * @since 2.1
      */
-    @Parameter( property = "ejb.ejbVersion", defaultValue = "2.1" )
+    @Parameter( property = "maven.ejb.ejbVersion", defaultValue = "2.1" )
     private String ejbVersion;
 
     /**
@@ -207,7 +206,7 @@ public class EjbMojo
      *
      * @since 2.3
      */
-    @Parameter( property = "ejb.escapeBackslashesInFilePath", defaultValue = "false" )
+    @Parameter( property = "maven.ejb.escapeBackslashesInFilePath", defaultValue = "false" )
     private boolean escapeBackslashesInFilePath;
 
     /**
@@ -215,7 +214,7 @@ public class EjbMojo
      *
      * @since 2.3
      */
-    @Parameter( property = "ejb.escapeString" )
+    @Parameter( property = "maven.ejb.escapeString" )
     protected String escapeString;
 
     /**
@@ -223,7 +222,7 @@ public class EjbMojo
      *
      * @since 2.3
      */
-    @Parameter( property = "ejb.filterDeploymentDescriptor", defaultValue = "false" )
+    @Parameter( property = "maven.ejb.filterDeploymentDescriptor", defaultValue = "false" )
     private boolean filterDeploymentDescriptor;
 
     /**

Modified: maven/plugins/trunk/maven-ejb-plugin/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ejb-plugin/src/site/apt/index.apt.vm?rev=1713838&r1=1713837&r2=1713838&view=diff
==============================================================================
--- maven/plugins/trunk/maven-ejb-plugin/src/site/apt/index.apt.vm (original)
+++ maven/plugins/trunk/maven-ejb-plugin/src/site/apt/index.apt.vm Wed Nov 11 13:28:22 2015
@@ -5,7 +5,7 @@
  <sn...@apache.org>
  Pete Marvin King
  ------
- 2013-07-22
+ 2015-11-11
  ------
 
  ~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -56,6 +56,8 @@ ${project.name}
   Of course, patches are welcome, too. Contributors can check out the project from our
   {{{./source-repository.html}source repository}} and will find supplementary information in the
   {{{http://maven.apache.org/guides/development/guide-helping.html}guide to helping with Maven}}.
+  
+  Important Note: Starting with version 3.0.0 of the plugin all properties have been named like <<maven.ejb.*>>.
 
 * Examples