投稿

ラベル(Maven)が付いた投稿を表示しています

Major Maven goals

Maven is a project management tool. It has many goals which can build and deploy your projects. This article introduces about how to use goals with sample commnds. Generate project Goals mvn compile mvn test-compile mvn test mvn package mvn clean mvn install mvn site mvn idea:idea mvn eclipse:eclipse Plugins mvn jar:jar mvn war:war Tips Generate project First, you must generate test project. mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app This command with those parameters will be able to generate a project. The archetypeGroupId parameter shuld be specifiled a package prepared by maven. You can also create original archetypeGroupId by myself. The groupId shuld be specified a name of package you like. The artifactId shuld be specified a name of project you like. Executing this command, you have to input any parameter to generate project. Choose a number or apply fil...