From 1e835435c6b1472e9b689294ac45b99b2a433dd7 Mon Sep 17 00:00:00 2001 From: Raja Aluri <raja@cmbasics.com> Date: Wed, 22 Apr 2015 14:47:13 -0700 Subject: [PATCH] BUG-35265 DGI needs to support publishing jar files to maven repositories --- pom.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1b60a7e..f1b22d4 100755 --- a/pom.xml +++ b/pom.xml @@ -1,3 +1,4 @@ +<?xml version="1.0"?> <!-- ~ Licensed to the Apache Software Foundation (ASF) under one ~ or more contributor license agreements. See the NOTICE file @@ -93,6 +94,12 @@ <PermGen>64m</PermGen> <MaxPermGen>512m</MaxPermGen> + <SnapshotsId>apache.snapshots.repo</SnapshotsId> + <SnapshotsName>Apache Snapshot Repository</SnapshotsName> + <SnapshotsUrl> https://repository.apache.org/content/groups/snapshots</SnapshotsUrl> + <StagingId>apache-staging</StagingId> + <StagingName>Apache Release Distribution Repository</StagingName> + <StagingUrl>https://repository.apache.org/content/groups/staging</StagingUrl> </properties> <profiles> @@ -182,7 +189,18 @@ <url>http://repo.typesafe.com/typesafe/releases/</url> </repository> </repositories> - + <distributionManagement> + <repository> + <id>${StagingId}</id> + <name>${StagingName}</name> + <url>${StagingUrl}</url> + </repository> + <snapshotRepository> + <id>${SnapshotsId}</id> + <name>${SnapshotsName}</name> + <url>${SnapshotsUrl}</url> + </snapshotRepository> + </distributionManagement> <dependencyManagement> <dependencies> <dependency> -- libgit2 0.27.1