リモートリポジトリに置けないライブラリ
ライセンスの関係でリモートリポジトリに置けないライブラリ(例:JTA)なんかに依存するときの解決方法も用意されたようだ。
[INFO] Failed to resolve artifact. GroupId: javax.transaction ArtifactId: jta Version: 1.0.1B Reason: Unable to download the artifact from any repository Try downloading the file manually from http://java.sun.com/products/jta and install it using the command: m2 install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file javax.transaction:jta:1.0.1B:jar from the specified remote repositories: central (http://repo1.maven.org/maven2)
こんなメッセージが出た。言うとおりにすると、ローカルリポジトリにモノが格納される。