Skip to content

Instantly share code, notes, and snippets.

@akirakw
Created April 27, 2011 07:57
Show Gist options
  • Save akirakw/943880 to your computer and use it in GitHub Desktop.
Save akirakw/943880 to your computer and use it in GitHub Desktop.
よく使うMavenコマンドメモ
# ローカルリポジトリを最新に更新
cd asakusa-aggregator
mvn clean install eclipse:eclipse -Dmaven.test.skip=true
# アーキタイプからテストプロジェクト作成
mvn archetype:generate -DinteractiveMode=false -DarchetypeCatalog=local -DarchetypeGroupId=com.asakusafw -DarchetypeArtifactId=asakusa-archetype-batchapp -DarchetypeVersion=0.2-SNAPSHOT -DgroupId=test -DartifactId=testprj -Dversion=1.0-SNAPSHOT -Dpackage=test
# Asakusa Runtime/ThnderGateの入れ換え
cd testprj
mvn assembly:single antrun:run
# ビルド
mvn clean test eclipse:eclipse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment