Maven: settings.xml for licensed customers and partners
Here you can find the settings for your Maven project.
Note: This Maven configuration provides access to Jive binaries and sources via the
https://maven.jivesoftware.com/
server; it requires login
access. See the bottom of the document where to put your login information.Please request maven access by creating a case with Support. If you do not have a company group, you may email your maven request to accountsupport@jivesoftware.com.
Where to put this
You need to put this in ~/.m2/
if you are on Unix/Mac or in your user
home/.m2
directory (C:\Documents and Settings\your
username\.m2
) on Windows. For details, see Maven: Installing.
If you don't put settings.xml in the right location, Maven won't find your dependencies. This is the reason for some of the Maven issues.
Alternatively, you can run Maven with a command line switch pointing to settings.xml in a
different location like this: mvn -s C:\Jive\maven\settings.xml
.
settings.xml listing
<?xml version="1.0"?>
<settings>
<profiles>
<profile>
<id>jive.archiva</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>jive.internal</id>
<name>Jive's Repository</name>
<url>https://maven.jivesoftware.com/
archiva/repository/jive.internal</url>
</repository>
<repository>
<id>jive.snapshots</id>
<name>Jive's Repository</name>
<url>https://maven.jivesoftware.com/
archiva/repository/jive.snapshots</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jive.internal</id>
<name>Jive's Repository</name>
<url>https://maven.jivesoftware.com/
archiva/repository/jive.internal</url>
</pluginRepository>
<pluginRepository>
<id>jive.snapshots</id>
<name>Jive's Repository</name>
<url>https://maven.jivesoftware.com/
archiva/repository/jive.snapshots</url>
</pluginRepository>
</pluginRepositories>
<properties>
<tomcat6.home><![CDATA[/usr/local/apache-tomcat-6.0.14]]></tomcat6.home>
<cargo.wait>false</cargo.wait>
<jive.setup>true</jive.setup>
<jive.devMode>false</jive.devMode>
<pluginDirs>null</pluginDirs>
</properties>
</profile>
</profiles>
<!-- Be sure to substitute your login name and password information here -->
<servers>
<server>
<id>jive.internal</id>
<username>your-name</username>
<password>changeme</password>
</server>
<server>
<id>jive.snapshots</id>
<username>your-name</username>
<password>changeme</password>
</server>
<server>
<id>central</id>
<username>your-name</username>
<password>changeme</password>
</server>
</servers>
</settings>