settings.xml - For Licensed Customers and Partners

settings.xml - For Licensed Customers and Partners

Note: this Maven configuration provides access to Jive binaries and sources via the maven-secure.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 Supportal case.  If you do not have a company group, you may email your maven request to accountsupport@jivesoftware.com

Where to Put This

VERY IMPORTANT: 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.  See How-To: Install Maven for more information if this doesn't make sense.

If you don't put settings.xml in the right location, Maven won't find your dependencies.   This is the #1 reason people experience 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

The File

<?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-secure.jivesoftware.com/archiva/repository/jive.internal</url>
                </repository>

                <repository>
                    <id>jive.snapshots</id>
                    <name>Jive's Repository</name>
                    <url>https://maven-secure.jivesoftware.com/archiva/repository/jive.snapshots</url>
                </repository>
            </repositories>

            <pluginRepositories>
                <pluginRepository>
                    <id>jive.internal</id>
                    <name>Jive's Repository</name>
                    <url>https://maven-secure.jivesoftware.com/archiva/repository/jive.internal</url>
                </pluginRepository>

                <pluginRepository>
                    <id>jive.snapshots</id>
                    <name>Jive's Repository</name>
                    <url>https://maven-secure.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>