Update project structure to org.onap
[dmaap/datarouter.git] / datarouter-prov / pom.xml
index 51c995d..80eecc7 100644 (file)
   *\r
 -->\r
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-       <modelVersion>4.0.0</modelVersion>\r
-\r
-       <groupId>com.att.datarouter-prov</groupId>\r
+        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
+         <modelVersion>4.0.0</modelVersion>\r
+       <parent>\r
+               <groupId>org.onap.dmaap.datarouter</groupId>\r
+               <artifactId>parent</artifactId>\r
+               <version>1.0.0-SNAPSHOT</version>\r
+               <relativePath>../pom.xml</relativePath>\r
+       </parent>\r
+       \r
        <artifactId>datarouter-prov</artifactId>\r
-       <version>1.0.0-SNAPSHOT</version>\r
        <packaging>jar</packaging>\r
-\r
        <name>datarouter-prov</name>\r
        <url>https://github.com/att/DMAAP_DATAROUTER</url>\r
     <licenses>\r
                <maven.compiler.source>1.8</maven.compiler.source>\r
                <maven.compiler.target>1.8</maven.compiler.target>\r
                <dockerLocation>${basedir}/target/</dockerLocation>\r
-               <docker.registry>hub.docker.com</docker.registry>\r
+               <nexusproxy>https://nexus.onap.org</nexusproxy>\r
+               <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
+               <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
+               <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
+               <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>\r
        </properties>\r
        <dependencies>\r
                \r
 \r
                                                <manifest>\r
                                                        <addClasspath>true</addClasspath>\r
-                                                       <mainClass>com.att.research.datarouter.provisioning.Main</mainClass>\r
+                                                       <mainClass>org.onap.datarouter.provisioning.Main</mainClass>\r
                                                         \r
                                                </manifest>\r
                                        </archive>\r
                                        <archive>\r
                                                <manifest>\r
                                                        <addClasspath>true</addClasspath>\r
-                                                       <mainClass>com.att.research.datarouter.provisioning.Main</mainClass>\r
+                                                       <mainClass>org.onap.datarouter.provisioning.Main</mainClass>\r
                                                         <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>\r
                                                </manifest>\r
                                        </archive>\r
                        </plugin> \r
                        \r
 \r
-<plugin>\r
- <groupId>com.blackducksoftware.integration</groupId>\r
- <artifactId>hub-maven-plugin</artifactId>\r
- <version>1.0.4</version>\r
- <inherited>false</inherited>\r
- <configuration>\r
-  <target>${project.basedir}</target>\r
- </configuration>\r
- <executions>\r
-  <execution>\r
-   <id>create-bdio-file</id>\r
-   <phase>package</phase>\r
-   <goals>\r
-    <goal>createHubOutput</goal>\r
-   </goals>\r
-  </execution>\r
- </executions>\r
-</plugin>\r
   \r
   <plugin>\r
     <artifactId>maven-resources-plugin</artifactId>\r
                          </goals>\r
                        </execution>\r
                      </executions>\r
-                   </plugin>\r
-       \r
-\r
-       <plugin>\r
-           <groupId>org.apache.maven.plugins</groupId>\r
-           <artifactId>maven-gpg-plugin</artifactId>\r
-           <version>1.5</version>\r
-           <executions>\r
-               <execution>\r
-                   <id>sign-artifacts</id>\r
-                   <phase>verify</phase>\r
-                   <goals>\r
-                       <goal>sign</goal>\r
-                   </goals>\r
-               </execution>\r
-           </executions>\r
-         </plugin> \r
-                       \r
-               <plugin>\r
-                       <groupId>org.sonatype.plugins</groupId>\r
-                       <artifactId>nexus-staging-maven-plugin</artifactId>\r
-                       <version>1.6.7</version>\r
-                       <extensions>true</extensions>\r
-                       <configuration>\r
-                       <serverId>ossrhdme</serverId>\r
-                       <nexusUrl>https://oss.sonatype.org/</nexusUrl>\r
-                       <autoReleaseAfterClose>true</autoReleaseAfterClose>\r
-                       </configuration>\r
-               </plugin>\r
+                   </plugin>                           \r
                        \r
                <plugin>\r
                                <groupId>org.codehaus.mojo</groupId>\r
                        </plugin>\r
                </plugins>\r
        </build>\r
-       \r
-       \r
 <distributionManagement>\r
-               <snapshotRepository>\r
-                       <id>ossrhdme</id>\r
-                       <url>https://oss.sonatype.org/content/repositories/snapshots</url>\r
-               </snapshotRepository>\r
-               <repository>\r
-                       <id>ossrhdme</id>\r
-                       <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>\r
-               </repository>\r
+               <repository>\r
+                       <id>ecomp-releases</id>\r
+                       <name>AAF Release Repository</name>\r
+                       <url>${nexusproxy}${releaseNexusPath}</url>\r
+               </repository>\r
+               <snapshotRepository>\r
+                       <id>ecomp-snapshots</id>\r
+                       <name>AAF Snapshot Repository</name>\r
+                       <url>${nexusproxy}${snapshotNexusPath}</url>\r
+               </snapshotRepository>\r
+               <site>\r
+                       <id>ecomp-site</id>\r
+                       <url>dav:${nexusproxy}${sitePath}</url>\r
+               </site>\r
        </distributionManagement>\r
-       \r
-       <scm>\r
-               <connection>https://github.com/att/DMAAP_DATAROUTER.git</connection>\r
-               <developerConnection>${project.scm.connection}</developerConnection>\r
-               <url>https://github.com/att/DMAAP_DATAROUTER/tree/master</url>\r
-       </scm>\r
+    <pluginRepositories>\r
+        <pluginRepository>\r
+            <id>onap-plugin-snapshots</id>\r
+            <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
+        </pluginRepository>\r
+    </pluginRepositories>\r
+\r
+       <repositories>\r
+               <repository>\r
+                       <id>central</id>\r
+                       <name>Maven 2 repository 2</name>\r
+                       <url>http://repo2.maven.org/maven2/</url>\r
+               </repository>\r
+               <repository>\r
+            <id>onap-jar-snapshots</id>\r
+            <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
+        </repository>\r
+               <repository>\r
+                       <id>spring-repo</id>\r
+                       <name>Spring repo</name>\r
+                       <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
+               </repository>\r
+               <repository>\r
+                       <id>repository.jboss.org-public</id>\r
+                       <name>JBoss.org Maven repository</name>\r
+                       <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
+               </repository>\r
+       </repositories>\r
        \r
 </project>\r