Author: andham Date: Sat Aug 19 10:52:32 2017 New Revision: 1805498 URL: http://svn.apache.org/viewvc?rev=1805498&view=rev Log: [MEJB-115] Wrong default EJB version stated on Usage page
Modified: maven/plugins/trunk/maven-ejb-plugin/src/site/apt/usage.apt.vm 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=1805498&r1=1805497&r2=1805498&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 Sat Aug 19 10:52:32 2017 @@ -64,20 +64,22 @@ Usage * 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> +---------