fix pom.xml warning duplicate groupId versionId
[policy/engine.git] / PyPDPServer / pom.xml
index 5875edc..e89f22d 100644 (file)
        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>org.openecomp.policy.engine</groupId>
        <artifactId>PyPDPServer</artifactId>
-       <version>1.0.0-SNAPSHOT</version>
        <packaging>war</packaging>
 
        <description>PyPDP Server</description>
 
        <parent>
-               <groupId>org.springframework.boot</groupId>
-               <artifactId>spring-boot-starter-parent</artifactId>
-               <version>1.3.3.RELEASE</version>
+               <groupId>org.openecomp.policy.engine</groupId>
+               <artifactId>PolicyEngineSuite</artifactId>
+               <version>1.0.0-SNAPSHOT</version>
        </parent>
 
        <properties>
@@ -48,6 +46,7 @@
                <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
                <sonar.jacoco.itReportPath>/opt/app/jacoco-it.exec</sonar.jacoco.itReportPath>
                <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
+               <nexusproxy>https://nexus.openecomp.org</nexusproxy>
        </properties>
 
        <repositories>
                        <id>spring-releases</id>
                        <url>https://repo.spring.io/libs-release</url>
                </repository>
+               <repository>
+                       <id>ecomp-releases</id>
+                       <name>OpenECOMP Release Repository</name>
+                       <url>${nexusproxy}/content/repositories/releases/</url>
+               </repository>
+               <repository>
+                       <id>ecomp-staging</id>
+                       <name>OpenECOMP Staging Repository</name>
+                       <url>${nexusproxy}/content/repositories/staging/</url>
+               </repository>
        </repositories>
        <pluginRepositories>
                <pluginRepository>
                </pluginRepository>
        </pluginRepositories>
 
+       <distributionManagement>
+               <repository>
+                       <id>ecomp-releases</id>
+                       <name>OpenECOMP Release Repository</name>
+                       <url>${nexusproxy}/content/repositories/releases/</url>
+               </repository>
+               <snapshotRepository>
+                       <id>ecomp-snapshots</id>
+                       <name>OpenECOMP Snapshot Repository</name>
+                       <url>${nexusproxy}/content/repositories/snapshots/</url>
+               </snapshotRepository>
+       </distributionManagement>
+
        <dependencies>
+               <dependency>
+             <groupId>org.springframework.boot</groupId>
+             <artifactId>spring-boot-dependencies</artifactId>
+             <version>1.3.3.RELEASE</version>
+             <type>pom</type>
+             <scope>import</scope>
+         </dependency>
                <dependency>
                        <groupId>org.openecomp.policy.engine</groupId>
                        <artifactId>PolicyEngineAPI</artifactId>
                <dependency>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-starter-web</artifactId>
+            <version>1.3.3.RELEASE</version>
                        <exclusions>
                                <exclusion>
                                        <groupId>org.slf4j</groupId>
                <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-web</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.springframework.boot</groupId>
-                       <artifactId>spring-boot-starter-tomcat</artifactId>
-                       <scope>provided</scope>
-               </dependency>
-               <dependency>
-                       <groupId>com.fasterxml.jackson.core</groupId>
-                       <artifactId>jackson-databind</artifactId>
+                       <version>4.2.5.RELEASE</version>
                </dependency>
                <dependency>
                        <groupId>org.glassfish</groupId>
                        <artifactId>commons-io</artifactId>
                        <version>2.4</version>
                </dependency>
-               <dependency>
-                       <groupId>org.neo4j</groupId>
-                       <artifactId>neo4j-cypher-compiler-2.1</artifactId>
-                       <version>2.1.2</version>
-               </dependency>
                <dependency>
                        <groupId>javax.validation</groupId>
                        <artifactId>validation-api</artifactId>
                <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-test</artifactId>
+                       <version>4.2.5.RELEASE</version>
                </dependency>
                <dependency>
                        <groupId>org.mapstruct</groupId>
 
        <build>
                <plugins>
+                       <plugin>
+                               <groupId>org.sonatype.plugins</groupId>
+                               <artifactId>nexus-staging-maven-plugin</artifactId>
+                               <version>1.6.7</version>
+                               <extensions>true</extensions>
+                               <configuration>
+                                       <nexusUrl>${nexusproxy}</nexusUrl>
+                                       <stagingProfileId>176c31dfe190a</stagingProfileId>
+                                       <serverId>ecomp-staging</serverId>
+                               </configuration>
+                       </plugin>
                        <plugin>
                                <groupId>org.springframework.boot</groupId>
                                <artifactId>spring-boot-maven-plugin</artifactId>