Return to Jive Software

Currently Being Moderated

settings.xml - For Licensed Customers and Partners

VERSION 13  Click to view document history

Created on: Oct 8, 2008 10:49 AM by Gregory Weinger - Last Modified:  Nov 11, 2009 1:23 PM by Gregory Weinger

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.

 

If you are a licensed customer or Jive partner and require access, please contact Gregory Weinger

 

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

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

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

                <pluginRepository>
                    <id>jive.snapshots</id>
                    <name>Jive's Repository</name>
                    <url>http://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>
3,405 Views Tags: developers, build, maven
Average User Rating
(4 ratings)
My Rating:
Ken Domen Ken Domen  says:

when i'm there, I was told to use jiveland instead of jivesoftware.

Gregory Weinger Gregory Weinger  says in response to Ken Domen:

As of this week this is no longer true, from now on everyone should not use jivesoftware.com

danbucholtz danbucholtz  says in response to Gregory Weinger:

What exactly does that mean?  What URL are we to use for pulling in the files?  Is the document correct?

 

Dan

danbucholtz danbucholtz  says in response to Gregory Weinger:

Is this document correct? 

Thanks, Dan

Gregory Weinger Gregory Weinger  says in response to danbucholtz:

This document is correct.   Please use it as is.

Yoshi Takahashi Yoshi Takahashi  says in response to Gregory Weinger:

Howdy Gregory.  Do you happen to have an email address I can use to contact you as per the first instruction in this document?  I couldn't seem to find any contact info for you.

ochotorena ochotorena  says:

Hi Gregory, I work for Mantech, and I think my company is a partner, how do I go about getting a username/password for settings.xml?

Thanks,

Dom

Bookmarked By (4)

More Like This

  • Retrieving data ...