You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2012/02/01 22:45:14 UTC
svn commit: r1239339 - in /maven/plugins/trunk/maven-ejb-plugin: pom.xml
src/site/apt/usage.apt.vm
Author: dennisl
Date: Wed Feb 1 21:45:13 2012
New Revision: 1239339
URL: http://svn.apache.org/viewvc?rev=1239339&view=rev
Log:
Put the versions of maven-archiver and maven-filtering into properties, and show those versions on the generated site.
Modified:
maven/plugins/trunk/maven-ejb-plugin/pom.xml
maven/plugins/trunk/maven-ejb-plugin/src/site/apt/usage.apt.vm
Modified: maven/plugins/trunk/maven-ejb-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ejb-plugin/pom.xml?rev=1239339&r1=1239338&r2=1239339&view=diff
==============================================================================
--- maven/plugins/trunk/maven-ejb-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-ejb-plugin/pom.xml Wed Feb 1 21:45:13 2012
@@ -51,6 +51,8 @@ under the License.
</issueManagement>
<properties>
+ <mavenArchiverVersion>2.5</mavenArchiverVersion>
+ <mavenFilteringVersion>1.0-beta-2</mavenFilteringVersion>
<mavenVersion>2.0.6</mavenVersion>
</properties>
@@ -73,7 +75,7 @@ under the License.
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-archiver</artifactId>
- <version>2.5</version>
+ <version>${mavenArchiverVersion}</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
@@ -84,7 +86,7 @@ under the License.
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-filtering</artifactId>
- <version>1.0-beta-2</version>
+ <version>${mavenFilteringVersion}</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
Modified: maven/plugins/trunk/maven-ejb-plugin/src/site/apt/usage.apt.vm
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ejb-plugin/src/site/apt/usage.apt.vm?rev=1239339&r1=1239338&r2=1239339&view=diff
==============================================================================
--- maven/plugins/trunk/maven-ejb-plugin/src/site/apt/usage.apt.vm (original)
+++ maven/plugins/trunk/maven-ejb-plugin/src/site/apt/usage.apt.vm Wed Feb 1 21:45:13 2012
@@ -5,7 +5,7 @@
<sn...@apache.org>
Pete Marvin King
------
- 2008-07-07
+ 2012-02-01
------
~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -31,15 +31,15 @@
Usage
- The EJB Plugin is used to package an EJB module. There are two ways to use the EJB Plugin:
+ The EJB Plugin is used to package an EJB module. There are two ways to use the EJB Plugin:
- * If the packaging type defined in the <<<pom.xml>>> is <<<ejb>>>, the <<<package>>> lifecycle phase can be used
+ * If the packaging type defined in the <<<pom.xml>>> is <<<ejb>>>, the <<<package>>> lifecycle phase can be used
+--------------+
mvn package
+--------------+
- * or using the <<<ejb:ejb>>> goal
+ * or using the <<<ejb:ejb>>> goal
+--------------+
mvn ejb:ejb
@@ -47,14 +47,20 @@ Usage
[]
- The plugin doesn't do any EJB specific processing during the generation of the jar except for validating the existence
- of an EJB deployment descriptor if the EJB version is 2.0+, but it provides the following customization:
+ To handle archiving this version of Maven EJB Plugin uses
+ {{{http://maven.apache.org/shared/maven-archiver/index.html}Maven Archiver}} ${mavenArchiverVersion}.
+
+ To handle filtering this version of Maven EJB Plugin uses
+ {{{http://maven.apache.org/shared/maven-filtering/index.html}Maven Filtering}} ${mavenFilteringVersion}.
+
+ The plugin doesn't do any EJB specific processing during the generation of the JAR except for validating the existence
+ of an EJB deployment descriptor if the EJB version is 2.0+, but it provides the following customization:
* The EJB version to use
* {{{./examples/generating-ejb-client.html}Generating and customizing an ejb-client}}
- <<Note:>> The dependencies will not be package with the EJB jar.
+ <<Note:>> The dependencies will not be package with the EJB JAR.
* Specifying the EJB version to use