Click Finish to generate the scripts.
Click Next to define variables to relativize absolute paths
in the workspace's .metadata directory
build.xml and pom.xml scripts will be written to the individual project directories.
Before you use the generated Maven scripts, you will need to install the Workshop Maven plugin into your local maven repository. To do this from the command line, modify the following example:
mvn install:install-file -Dfile=WorkshopMavenPlugin-1.0.jar -DartifactId=WorkshopMavenPlugin -DgroupId=com.mycompany.webapp1 -Dpackaging=maven-plugin -Dversion=1.0 -DgeneratePom=true
Also The following shell environment variables are needed when running Maven via the command-line:
JAVA_HOME (for example, set JAVA_HOME= C:\bea\jrockit90_150_06)
WL_HOME (for example, set WL_HOME= C:\bea\wlserver_10.3)
Also the Maven /bin directory must be on the PATH (for example, set PATH= C:\maven-2.0.4\bin;%PATH%)
Now in the directory containing the pom.xml file, you can run a Maven command, for example: mvn clean compile