From 937042eaed921a1bb04eec1717c899a0a03663fe Mon Sep 17 00:00:00 2001
From: vharseko <vharseko@openam.org.ru>
Date: Tue, 21 Nov 2017 14:35:53 +0000
Subject: [PATCH] add sources jar

---
 pom.xml |   82 +++++++++++++++++++++++-----------------
 1 files changed, 47 insertions(+), 35 deletions(-)

diff --git a/pom.xml b/pom.xml
index 823eed4..a9a9189 100644
--- a/pom.xml
+++ b/pom.xml
@@ -70,23 +70,22 @@
     </properties>
 
     <inceptionYear>2011</inceptionYear>
-    <url>http://opendj.forgerock.org</url>
+    <url>https://github.com/OpenIdentityPlatform/OpenDJ</url>
 
     <mailingLists>
-        <mailingList>
-            <name>OpenDJ Users Mailing List</name>
-            <archive>http://lists.forgerock.org/pipermail/opendj/</archive>
-            <subscribe>https://lists.forgerock.org/mailman/listinfo/opendj/</subscribe>
-            <unsubscribe>https://lists.forgerock.org/mailman/listinfo/opendj/</unsubscribe>
-            <post>opendj@forgerock.org</post>
+         <mailingList>
+            <name>OpenDJ Users List</name>
+            <subscribe>https://groups.google.com/d/forum/open-identity-platform-opendj</subscribe>
+            <unsubscribe>https://groups.google.com/d/forum/open-identity-platform-opendj</unsubscribe>
+            <post>open-identity-platform-opendj@googlegroups.com</post>
+            <archive>https://groups.google.com/d/forum/open-identity-platform-opendj</archive>
         </mailingList>
-
         <mailingList>
-            <name>OpenDJ Developers Mailing List</name>
-            <archive>http://lists.forgerock.org/pipermail/opendj-dev/</archive>
-            <subscribe>https://lists.forgerock.org/mailman/listinfo/opendj-dev/</subscribe>
-            <unsubscribe>https://lists.forgerock.org/mailman/listinfo/opendj-dev/</unsubscribe>
-            <post>opendj-dev@forgerock.org</post>
+            <name>OpenDJ Developers List</name>
+            <subscribe>https://groups.google.com/d/forum/open-identity-platform-opendj</subscribe>
+            <unsubscribe>https://groups.google.com/d/forum/open-identity-platform-opendj</unsubscribe>
+            <post>open-identity-platform-opendj@googlegroups.com</post>
+            <archive>https://groups.google.com/d/forum/open-identity-platform-opendj</archive>
         </mailingList>
     </mailingLists>
 
@@ -102,17 +101,17 @@
         </license>
     </licenses>
 
-    <issueManagement>
-        <system>Jira</system>
-        <url>https://bugster.forgerock.org/jira/browse/OPENDJ</url>
+     <issueManagement>
+        <system>github.com</system>
+        <url>https://github.com/OpenIdentityPlatform/OpenDJ/issues</url>
     </issueManagement>
 
     <scm>
-        <url>https://stash.forgerock.org/projects/OPENDJ/repos/opendj/browse</url>
-        <connection>scm:git:ssh://git@stash.forgerock.org:7999/opendj/opendj.git</connection>
-        <developerConnection>scm:git:ssh://git@stash.forgerock.org:7999/opendj/opendj.git</developerConnection>
-        <tag>HEAD</tag>
-    </scm>
+        <connection>scm:git:https://github.com/OpenIdentityPlatform/OpenDJ.git</connection>
+        <developerConnection>scm:git:ssh://git@github.com:OpenIdentityPlatform/OpenDJ.git</developerConnection>
+        <url>https://github.com/OpenIdentityPlatform/OpenDJ</url>
+      	<tag>HEAD</tag>
+  	</scm>
 
     <distributionManagement>
         <site>
@@ -122,20 +121,20 @@
         </site>
     </distributionManagement>
 
-    <ciManagement>
-        <system>jenkins</system>
-        <url>https://ci.forgerock.org/view/OpenDJ/job/OpenDJ%20-%20postcommit</url>
-        <notifiers>
-            <notifier>
-                <type>mail</type>
-                <sendOnError>true</sendOnError>
-                <sendOnFailure>true</sendOnFailure>
-                <sendOnSuccess>false</sendOnSuccess>
-                <sendOnWarning>false</sendOnWarning>
-                <address>opendj-dev@forgerock.org</address>
-            </notifier>
-        </notifiers>
-    </ciManagement>
+<!--     <ciManagement> -->
+<!--         <system>jenkins</system> -->
+<!--         <url>https://ci.forgerock.org/view/OpenDJ/job/OpenDJ%20-%20postcommit</url> -->
+<!--         <notifiers> -->
+<!--             <notifier> -->
+<!--                 <type>mail</type> -->
+<!--                 <sendOnError>true</sendOnError> -->
+<!--                 <sendOnFailure>true</sendOnFailure> -->
+<!--                 <sendOnSuccess>false</sendOnSuccess> -->
+<!--                 <sendOnWarning>false</sendOnWarning> -->
+<!--                 <address>opendj-dev@forgerock.org</address> -->
+<!--             </notifier> -->
+<!--         </notifiers> -->
+<!--     </ciManagement> -->
 
     <dependencyManagement>
         <dependencies>
@@ -258,6 +257,19 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <executions>
+		          <execution>
+		            <id>attach-sources</id>
+		            <phase>verify</phase>
+		            <goals>
+		              <goal>jar-no-fork</goal>
+		            </goals>
+		          </execution>
+		        </executions>
+            </plugin>
         </plugins>
 
         <pluginManagement>

--
Gitblit v1.10.0