Difference between revisions of "Maven"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "The GreenVulcano team maintains a private ''Maven'' repository, where all the GreenVulcano artifacts are published, both in <code>SNAPSHOT</code> and in <code>RELEASE</code> vers...")
 
(No difference)

Latest revision as of 16:11, 10 March 2016

The GreenVulcano team maintains a private Maven repository, where all the GreenVulcano artifacts are published, both in SNAPSHOT and in RELEASE version.

Configuring your pom.xml to use artifacts from GreenVulcano

Add the following block to your project's pom.xml in order to access the GreenVulcano Maven Repository.

    <repositories>
        <repository>
            <id>nexus-cloud-snapshots</id>
            <name>Cloud Nexus instance - PUBLIC</name>
            <url>http://mvn.greenvulcano.com/nexus/content/groups/public</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>

Maintainers

Maintainers can add the following to their distribution pom.xml in order to gain upload access (access credentials are not included, ask the dictators):

	<distributionManagement>
		<repository>
			<id>nexus-cloud</id>
			<name>Cloud Nexus instance - RELEASES </name>
			<url>http://mvn.greenvulcano.com/nexus/content/repositories/releases</url>
		</repository>
		<snapshotRepository>
			<id>nexus-cloud</id>
			<name>Cloud Nexus instance - SNAPSHOTS</name>
			<url>http://mvn.greenvulcano.com/nexus/content/repositories/snapshots</url>
		</snapshotRepository>
	</distributionManagement>