コマンドラインコンソールを開いて、ユーティリティJARファイルをローカルMavenリポジトリーにデプロイします。
手順
-
次のコマンドを実行し、システムルーチンをデプロイします:
mvn install:install-file -DgroupId=org.talend.camel -DartifactId=systemRoutines -Dversion=1.0.0 -Dfile=./src/ext/systemRoutines.jar -Dpackaging=jar -DgeneratePom=true
-
次のコマンドを実行し、ユーザールーチンをデプロイします:
mvn install:install-file -DgroupId=org.talend.camel -DartifactId=userRoutines -Dversion=1.0.0 -Dfile=./src/ext/userRoutines.jar -Dpackaging=jar -DgeneratePom=true
タスクの結果
これで、単体テストを行うために必要なすべての依存項目が整いました。