maven
http://maven.apache.org/plugins/ http://mojo.codehaus.org/plugins.html http://code.google.com/hosting/search?q=maven%20plugin%20label%3Amaven&filter=0&start=10
archetype-catalog.xmlに自分のarchetypeを追加してくれるプラグイン。 バグなのか、そのまま実行すると~/.m2/repository/.m2/archetype-catalog.xmlにファイルを作ってしまう。これだarchetype:generateの候補出てこないので以下のように指定して実行する。…
クライアント側 ~/.m2/settings.xml サーバの情報のBasic認証の設定を書く。 <settings> <servers> <server> <id>yamkazu-repository</id> <username>yamkazu</username> <password>xxxxxxx</password> </server> </servers> </settings> pom.xml <distributionManagement> <repository> <uniqueVersion>fa…</uniqueversion></repository></distributionmanagement>
参考 http://maven.apache.org/guides/mini/guide-creating-archetypes.html http://www.techscore.com/tech/ApacheJakarta/Maven/7-2.html#maven-6-16 準備 以下のようなディレクトリ構成にする。 -- pom.xml `-- src `-- main `-- resources |-- META-INF …
mvn -Declipse.workspace=<path-to-eclipse-workspace> eclipse:add-maven-repo</path-to-eclipse-workspace>