Created
May 17, 2013 18:58
-
-
Save wrpinheiro/5601188 to your computer and use it in GitHub Desktop.
Maven settings.xml file to integrate with Artifactory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<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"> | |
<servers> | |
<server> | |
<!-- The following configuration is used to authenticate with --> | |
<!-- Artifactory if we need to deploy a file to the repository --> | |
<!-- The admin/password are the defaults in Artifactory and --> | |
<!-- it's a good idea change these settings. --> | |
<id>artifactory</id> | |
<username>admin</username> | |
<password>password</password> | |
<configuration> | |
<authenticationInfo> | |
<userName>auth-user</userName> | |
<password>auth-pass</password> | |
</authenticationInfo> | |
</configuration> | |
</server> | |
</servers> | |
<profiles> | |
<profile> | |
<repositories> | |
<repository> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
<id>central</id> | |
<name>libs-release</name> | |
<url>http://localhost:8081/artifactory/libs-release</url> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
<id>central</id> | |
<name>plugins-release</name> | |
<url>http://localhost:8081/artifactory/plugins-release</url> | |
</pluginRepository> | |
</pluginRepositories> | |
<id>artifactory</id> | |
</profile> | |
</profiles> | |
<activeProfiles> | |
<activeProfile>artifactory</activeProfile> | |
</activeProfiles> | |
</settings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment