Setting up an Enterprise Maven project
Now we will create, step-by-step, a secure application using Maven, the Oracle Maven plugin, and of course the WebLogic server. A prerequisite for this is that Maven 3 should be installed and properly configured. See the official Maven site for information about how to download and install Maven, at http://maven.apache.org.
Creating the modules with maven-archetype-plugin
The following are the steps we need to follow to create the application that we will be using during this chapter:
Create the parent Project Object Model (POM) by navigating to the project folder from the command-line tool and launching the following command:
mvn archetype:generate -Dversion=1.0-SNAPSHOT -DgroupId=net.lucamasini.security -DartifactId=chapter3 -DarchetypeArtifactId=pom-root -DarchetypeGroupId=org.codehaus.mojo.archetypes
Navigate to the newly created
chapter3
folder using the command-line tool and create the EAR module, as follows:mvn archetype:generate -Dversion=1.0...