投稿

6月, 2019の投稿を表示しています

jenkins + Maven

参考URL: https://dominoc925.blogspot.com/2018/03/resolving-maven-trustanchors-parameter.html 1.「setting.xml」 ファイルを作成し適当なフォルダに配置する 2.Jenkins の 「プロジェクト → 設定 → ビルド → Mavenの呼び出し → 高度な設定 →  設定ファイル」 に作成した「setting.xml」 を指定する (通常は、「C:\user\ \.m2\setting.xml」にあるが、Eclipseとかでやってると作られない) <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository>/home/yourname/.m2/repository</localRepository> <interactiveMode /> <usePluginRegistry /> <offline /> <pluginGroups /> <servers /> <mirrors /> <proxies> </proxies> <activeProfiles> <activeProfile>securecentral</activeProfile> </activeProfiles> <profiles> <pro...