资源说明:Maven archetype for generating Spring 3 / Primefaces 3 / JPA Java based applications
Follow the steps below to create a Spring 3/JPA/Primefaces 3 web project: 1. If it exists, delete the targetdirectory with the following command: rm -r 2. CD to the seam-archetype directory, and run the following maven command: mvn clean install 3. To create the new project (ensure current directory is /workspace), run the following maven command, replacing the parameters groupId, artifactId, package, version with desired values. mvn archetype:generate -DarchetypeRepository=/home/russell/.m2 -DarchetypeGroupId=adcowebsolutions -DarchetypeArtifactId=spring-archetype -DarchetypeVersion=1.0.0 -DgroupId=au.id.adco -DartifactId=adco -Dpackage=au.id.adco -Dversion=1.0.0 4. when created successfully, cd into the new directory and run the following maven command: mvn eclipse:eclipse 5. Then update the execute permissions on the deploy.sh file with the following command: chmod 777 deploy.sh 6. Build the project! mvn clean package -P dev
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。