If you are (or want to start) using Maven as a build tool for your project, a quick way to start is to use an archetype to create a pom.xml and the default folder structure. This is the command:
mvn archetype:create
-DarchetypeGroupId=[archetype-groupId]
-DarchetypeArtifactId=[archetype-artifactId]
-DarchetypeVersion=[archetype-version]
-DgroupId=[my.groupid]
-DartifactId=[my-artifactId]
1 comment:
Para criar uma aplicação web, por exemplo, usar:
mvn archetype:create -Dversion=0.0.1 -DartifactId=mymoney-web -DgroupId=com.jc.mymoney -DarchetypeArtifactId=maven-archetype-webapp
Post a Comment