Clean up pom.xml of archetypes projects (not archetypes content) 82/39482/2
authorMichael Vorburger <vorburger@redhat.com>
Thu, 26 May 2016 12:55:28 +0000 (14:55 +0200)
committerTom Pantelis <tpanteli@brocade.com>
Mon, 6 Jun 2016 01:19:25 +0000 (01:19 +0000)
This removes a lot of duplication, which appears to be historical (we
can see that <distributionManagement> is meanwhile defined in
odl-parent; and <scm> in controller parent)

Change-Id: I4f033cb143c3317f86ea8dce2b8398fdb0b526b1
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
opendaylight/archetypes/odl-model-project/pom.xml
opendaylight/archetypes/opendaylight-configfile-archetype/pom.xml
opendaylight/archetypes/opendaylight-karaf-distro-archetype/pom.xml
opendaylight/archetypes/opendaylight-karaf-features/pom.xml
opendaylight/archetypes/opendaylight-startup/pom.xml
opendaylight/archetypes/pom.xml
opendaylight/commons/opendaylight/pom.xml

index b4823bbc0d7cba71422486736590834401395957..26207592a3088a29c9090816b43bd41c108c276b 100644 (file)
@@ -8,37 +8,9 @@
      <version>0.4.0-SNAPSHOT</version>
   </parent>
 
-  <groupId>org.opendaylight.controller.archetypes</groupId>
   <artifactId>odl-model-project</artifactId>
   <version>1.4.0-SNAPSHOT</version>
   <packaging>maven-archetype</packaging>
-
-  <properties>
-    <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
-    <nexus.repository.release>opendaylight.release</nexus.repository.release>
-    <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
-  </properties>
-
   <name>odl-model-project</name>
-  <scm>
-    <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
-    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
-    <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
-    <tag>HEAD</tag>
-  </scm>
 
-  <distributionManagement>
-    <repository>
-      <id>opendaylight-release</id>
-      <url>${nexusproxy}/repositories/${nexus.repository.release}/</url>
-    </repository>
-    <snapshotRepository>
-      <id>opendaylight-snapshot</id>
-      <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
-    </snapshotRepository>
-    <site>
-      <id>website</id>
-      <url>${sitedeploy}/sal-samples</url>
-    </site>
-  </distributionManagement>
 </project>
index b9e3b3069e242a6a335a549d11e86ceed30c83f7..07cba83e5c8c2e975c6701cf1851bb43cda98921 100644 (file)
 
   <description>Configuration files for md-sal</description>
 
-  <scm>
-    <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git/md-sal-config</connection>
-    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git/md-sal-config</developerConnection>
-    <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL/md-sal-config</url>
-  </scm>
-
-  <distributionManagement>
-    <repository>
-      <id>opendaylight-release</id>
-      <url>${nexusproxy}/repositories/opendaylight.release/</url>
-    </repository>
-    <snapshotRepository>
-      <id>opendaylight-snapshot</id>
-      <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
-    </snapshotRepository>
-    <site>
-      <id>website</id>
-      <url>dav:${nexusproxy}/sites/site/sal-parent</url>
-    </site>
-  </distributionManagement>
 </project>
index 8b0bb991a4d3804b0b26541c57a4f5942f85edbb..58186ec211f9da86fe6839ba8ebb212a4ed5c684 100644 (file)
@@ -1,23 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
+
   <parent>
      <groupId>org.opendaylight.controller.archetypes</groupId>
      <artifactId>archetypes-parent</artifactId>
      <version>0.4.0-SNAPSHOT</version>
   </parent>
+
   <groupId>org.opendaylight.controller</groupId>
   <artifactId>opendaylight-karaf-distro-archetype</artifactId>
   <version>1.3.0-SNAPSHOT</version>
   <packaging>maven-archetype</packaging>
 
   <name>distribution-karaf-archetype</name>
-
   <url>https://wiki.opendaylight.org/view/CrossProject:Integration_Group/distribution-karaf</url>
 
-  <scm>
-    <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
-    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
-    <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
-  </scm>
 </project>
index b88b8ec8e59bf97395bcc8fba8e8548dfd8ebd0f..47493975a6ed0bed5cdae5460c5338efc7deafff 100644 (file)
@@ -7,16 +7,11 @@
      <artifactId>archetypes-parent</artifactId>
      <version>0.4.0-SNAPSHOT</version>
   </parent>
+
   <groupId>org.opendaylight.controller</groupId>
   <artifactId>opendaylight-karaf-features-archetype</artifactId>
   <version>1.3.0-SNAPSHOT</version>
   <packaging>maven-archetype</packaging>
-
   <name>opendaylight-karaf-features-archetype</name>
 
-  <scm>
-    <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git/</connection>
-    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git/</developerConnection>
-    <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>
-  </scm>
 </project>
index 6963d767ad82007d8a8b568d0dad24261e8e07a7..336d56be65da14fe0bb213997a26a69b74c384e2 100644 (file)
@@ -12,7 +12,6 @@
   <artifactId>opendaylight-startup-archetype</artifactId>
   <version>1.2.0-SNAPSHOT</version>
   <packaging>maven-archetype</packaging>
-
   <name>${project.artifactId}</name>
 
   <build>
index 8beb3bb91fd897feb56d1e2c2403ca74b1c2c0ea..b22b37cb4e76501d8fd4394bf369aace6b683b29 100644 (file)
@@ -1,39 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
+
   <parent>
     <groupId>org.opendaylight.controller</groupId>
     <artifactId>commons.opendaylight</artifactId>
     <version>1.7.0-SNAPSHOT</version>
     <relativePath>../commons/opendaylight</relativePath>
   </parent>
-  <scm>
-    <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
-    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
-    <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
-    <tag>HEAD</tag>
-  </scm>
+
   <groupId>org.opendaylight.controller.archetypes</groupId>
   <artifactId>archetypes-parent</artifactId>
   <version>0.4.0-SNAPSHOT</version>
   <packaging>pom</packaging>
-    <distributionManagement>
-    <!-- OpenDayLight Released artifact -->
-    <repository>
-      <id>opendaylight-release</id>
-      <url>${nexusproxy}/repositories/${nexus.repository.release}/</url>
-    </repository>
-    <!-- OpenDayLight Snapshot artifact -->
-    <snapshotRepository>
-      <id>opendaylight-snapshot</id>
-      <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
-    </snapshotRepository>
-    <!-- Site deployment -->
-    <site>
-      <id>website</id>
-      <url>${sitedeploy}</url>
-    </site>
-  </distributionManagement>
 
   <build>
     <extensions>
index 9befd76bc7ee0a2991c2e48fbcdc1f2cf9628001..9c95733c404672bf8754ca73ea4a52de965e0e90 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
+
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent</artifactId>
@@ -10,7 +11,6 @@
 
   <groupId>org.opendaylight.controller</groupId>
   <artifactId>commons.opendaylight</artifactId>
-  <version>1.7.0-SNAPSHOT</version>
   <packaging>pom</packaging>
 
   <properties>
       </plugin>
     </plugins>
   </reporting>
+
   <scm>
     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>