diff options
author | sg481n <sg481n@att.com> | 2017-08-23 16:30:52 -0400 |
---|---|---|
committer | sg481n <sg481n@att.com> | 2017-08-23 17:06:39 -0400 |
commit | e4b20cc6f7c31f48ddd0de5bcd054b09a35cd510 (patch) | |
tree | a3359080a707e76332c4cfbb66d0af0a19b70191 /datarouter-prov/pom.xml | |
parent | 315f5603d8e42969a13d985ca8bb50146e82325a (diff) |
Update project structure to org.onap
Update project structure of dmaap/datarouter from
com.att to org.onap and add distribution management
and nexus repositires details.
Issue-id: DMAAP-52
Change-Id: Ibafee1cba43c7c5a3f227a02417998d36ecaae6b
Signed-off-by: sg481n <sg481n@att.com>
Diffstat (limited to 'datarouter-prov/pom.xml')
-rw-r--r-- | datarouter-prov/pom.xml | 131 |
1 files changed, 59 insertions, 72 deletions
diff --git a/datarouter-prov/pom.xml b/datarouter-prov/pom.xml index 51c995de..80eecc76 100644 --- a/datarouter-prov/pom.xml +++ b/datarouter-prov/pom.xml @@ -21,14 +21,17 @@ *
-->
<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>
-
- <groupId>com.att.datarouter-prov</groupId>
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.onap.dmaap.datarouter</groupId>
+ <artifactId>parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
<artifactId>datarouter-prov</artifactId>
- <version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
-
<name>datarouter-prov</name>
<url>https://github.com/att/DMAAP_DATAROUTER</url>
<licenses>
@@ -42,7 +45,11 @@ <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<dockerLocation>${basedir}/target/</dockerLocation>
- <docker.registry>hub.docker.com</docker.registry>
+ <nexusproxy>https://nexus.onap.org</nexusproxy>
+ <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
+ <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+ <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
+ <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
</properties>
<dependencies>
@@ -262,7 +269,7 @@ <manifest>
<addClasspath>true</addClasspath>
- <mainClass>com.att.research.datarouter.provisioning.Main</mainClass>
+ <mainClass>org.onap.datarouter.provisioning.Main</mainClass>
</manifest>
</archive>
@@ -286,7 +293,7 @@ <archive>
<manifest>
<addClasspath>true</addClasspath>
- <mainClass>com.att.research.datarouter.provisioning.Main</mainClass>
+ <mainClass>org.onap.datarouter.provisioning.Main</mainClass>
<outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
</manifest>
</archive>
@@ -341,24 +348,6 @@ </plugin>
-<plugin>
- <groupId>com.blackducksoftware.integration</groupId>
- <artifactId>hub-maven-plugin</artifactId>
- <version>1.0.4</version>
- <inherited>false</inherited>
- <configuration>
- <target>${project.basedir}</target>
- </configuration>
- <executions>
- <execution>
- <id>create-bdio-file</id>
- <phase>package</phase>
- <goals>
- <goal>createHubOutput</goal>
- </goals>
- </execution>
- </executions>
-</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
@@ -493,35 +482,7 @@ </goals>
</execution>
</executions>
- </plugin>
-
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>1.5</version>
- <executions>
- <execution>
- <id>sign-artifacts</id>
- <phase>verify</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>nexus-staging-maven-plugin</artifactId>
- <version>1.6.7</version>
- <extensions>true</extensions>
- <configuration>
- <serverId>ossrhdme</serverId>
- <nexusUrl>https://oss.sonatype.org/</nexusUrl>
- <autoReleaseAfterClose>true</autoReleaseAfterClose>
- </configuration>
- </plugin>
+ </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -536,23 +497,49 @@ </plugin>
</plugins>
</build>
-
-
<distributionManagement>
- <snapshotRepository>
- <id>ossrhdme</id>
- <url>https://oss.sonatype.org/content/repositories/snapshots</url>
- </snapshotRepository>
- <repository>
- <id>ossrhdme</id>
- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
- </repository>
+ <repository>
+ <id>ecomp-releases</id>
+ <name>AAF Release Repository</name>
+ <url>${nexusproxy}${releaseNexusPath}</url>
+ </repository>
+ <snapshotRepository>
+ <id>ecomp-snapshots</id>
+ <name>AAF Snapshot Repository</name>
+ <url>${nexusproxy}${snapshotNexusPath}</url>
+ </snapshotRepository>
+ <site>
+ <id>ecomp-site</id>
+ <url>dav:${nexusproxy}${sitePath}</url>
+ </site>
</distributionManagement>
-
- <scm>
- <connection>https://github.com/att/DMAAP_DATAROUTER.git</connection>
- <developerConnection>${project.scm.connection}</developerConnection>
- <url>https://github.com/att/DMAAP_DATAROUTER/tree/master</url>
- </scm>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>onap-plugin-snapshots</id>
+ <url>https://nexus.onap.org/content/repositories/snapshots/</url>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <repositories>
+ <repository>
+ <id>central</id>
+ <name>Maven 2 repository 2</name>
+ <url>http://repo2.maven.org/maven2/</url>
+ </repository>
+ <repository>
+ <id>onap-jar-snapshots</id>
+ <url>https://nexus.onap.org/content/repositories/snapshots</url>
+ </repository>
+ <repository>
+ <id>spring-repo</id>
+ <name>Spring repo</name>
+ <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
+ </repository>
+ <repository>
+ <id>repository.jboss.org-public</id>
+ <name>JBoss.org Maven repository</name>
+ <url>https://repository.jboss.org/nexus/content/groups/public</url>
+ </repository>
+ </repositories>
</project>
|