[MEJB-115] Wrong default EJB version stated on Usage page
git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1805498 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/site/apt/usage.apt.vm b/src/site/apt/usage.apt.vm
index a7c1848..8111c7b 100644
--- a/src/site/apt/usage.apt.vm
+++ b/src/site/apt/usage.apt.vm
@@ -64,20 +64,22 @@
* Specifying the EJB version to use
- In EJB3, the <<<ejb-jar.xml>>> deployment descriptor is not mandatory anymore. By default
- the plugin assumes version 2.1. To use another version, configure the plugin as follows:
+ The plugin generates according to the EJB version specified by the {{{./ejb-mojo.html#ejbVersion}ejbVersion}}
+ parameter. To use some other version than the default, configure the plugin as in the example below:
+--------
<build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-ejb-plugin</artifactId>
- <version>${project.version}</version>
- <configuration>
- <ejbVersion>3.0</ejbVersion>
- </configuration>
- </plugin>
- </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <version>${project.version}</version>
+ <configuration>
+ <ejbVersion>3.0</ejbVersion>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
</build>
+---------