June 2013
Intermediate to advanced
326 pages
6h 57m
English
As it is, you should be able to package your EJB project by issuing the following Maven goal, by starting a command-line prompt from your project root:
mvn install
The preceding command will compile and package the application that needs to be copied into the deployments folder of your application server. That's fine; however, we can expect lots more from Maven by installing just a couple of plugins. In our case, we will configure our project to use Maven's JBoss plugin by adding the following section:
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.jboss.as.plugins</groupId>
<artifactId>jboss-as-maven-plugin</artifactId> <version>${version.jboss.maven.plugin}</version> <configuration> ...Read now
Unlock full access