Jenkinsのmavenにartifactory用のsettings.xmlを配置する。 false true false false false sun-jdk1.6.0_24 false cat << SETTINGSXML > $HOME/.m2/settings.xml 2>&1 <?xml version="1.0" encoding="UTF-8"?> <settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <mirrors> <mirror> <mirrorOf>*</mirrorOf> <name>repo</name> <url>https://monex-lab.gluegent.com/artifactory/repo</url> <id>repo</id> </mirror> </mirrors> <servers> <server> <id>repo</id> <username>hudson</username> <password>8698monex</password> </server> </servers> <profiles> <profile> <repositories> <repository> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>libs-releases</name> <url>https://monex-lab.gluegent.com/artifactory/libs-releases</url> </repository> <repository> <snapshots /> <id>snapshots</id> <name>libs-snapshots</name> <url>https://monex-lab.gluegent.com/artifactory/libs-snapshots</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>plugins-releases</name> <url>https://monex-lab.gluegent.com/artifactory/plugins-releases</url> </pluginRepository> <pluginRepository> <snapshots /> <id>snapshots</id> <name>plugins-snapshots</name> <url>https://monex-lab.gluegent.com/artifactory/plugins-snapshots</url> </pluginRepository> </pluginRepositories> <id>artifactory</id> </profile> </profiles> <activeProfiles> <activeProfile>artifactory</activeProfile> </activeProfiles> </settings> SETTINGSXML