Release sdc/sdc-tosca
[sdc/sdc-tosca.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index e1f846d..95d6bcc 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -7,9 +7,16 @@
        <artifactId>sdc-tosca</artifactId>
        <name>sdc-sdc-tosca</name>
        <description>SDC Tosca Parser JAR file for use by consumers</description>
-       <version>1.4.7-SNAPSHOT</version>
+       <version>1.6.2</version>
        <packaging>jar</packaging>
 
+       <parent>
+               <groupId>org.onap.oparent</groupId>
+               <artifactId>oparent</artifactId>
+               <version>2.0.0</version>
+               <relativePath/>
+       </parent>
+
        <properties>
 
                <!-- ==================== -->
@@ -30,7 +37,6 @@
                <sitePath>/content/sites/site/org/onap/sdc/sdc-tosca/${project.version}</sitePath>
                <snapshots.path>snapshots</snapshots.path>
                <releases.path>releases</releases.path>
-               <staging.profile.id>176c31dfe190a</staging.profile.id>
                <!-- Sonar properties -->
                <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
                <sonar.skipDesign>true</sonar.skipDesign>
                        <scope>compile</scope>
                </dependency>
 
-               <dependency>
-                       <groupId>commons-codec</groupId>
-                       <artifactId>commons-codec</artifactId>
-                       <version>1.9</version>
-                       <scope>compile</scope>
-               </dependency>
-
                <!-- YAML parser -->
                <dependency>
                        <groupId>org.yaml</groupId>
                <dependency>
                    <groupId>com.fasterxml.jackson.core</groupId>
                    <artifactId>jackson-databind</artifactId>
-                   <version>2.9.4</version>
+                   <version>2.9.9</version>
                </dependency>
 
                <!-- jtosca Tosca Parser -->
                <dependency>
                        <groupId>org.onap.sdc.jtosca</groupId>
                        <artifactId>jtosca</artifactId>
-                       <version>1.4.7</version>
+                       <version>1.6.0</version>
                </dependency>
 
 
                        <groupId>org.eclipse.jetty</groupId>
                        <artifactId>jetty-servlet</artifactId>
                        <scope>test</scope>
-                       <version>9.2.10.v20150310</version>
+                       <version>9.4.18.v20190429</version>
                </dependency>
 
                <dependency>
                        <groupId>org.eclipse.jetty</groupId>
                        <artifactId>jetty-webapp</artifactId>
-                       <version>9.2.10.v20150310</version>
+                       <version>9.4.18.v20190429</version>
                        <scope>test</scope>
                </dependency>
 
                                </dependencies>
                        </plugin>
 
+                       <plugin>
+                               <artifactId>maven-checkstyle-plugin</artifactId>
+                               <version>2.17</version>
+                               <configuration>
+                                       <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
+                                       <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
+                               </configuration>
+                       </plugin>
+
                        <plugin>
                                <groupId>org.jacoco</groupId>
                                <artifactId>jacoco-maven-plugin</artifactId>
                                </executions>
                        </plugin>
 
-                       <!-- Staging Plugin -->
-                       <plugin>
-                               <groupId>org.sonatype.plugins</groupId>
-                               <artifactId>nexus-staging-maven-plugin</artifactId>
-                               <version>1.6.7</version>
-                               <extensions>true</extensions>
-                               <configuration>
-                                       <nexusUrl>${nexus.proxy}</nexusUrl>
-                                       <stagingProfileId>${staging.profile.id}</stagingProfileId>
-                                       <serverId>onap-staging</serverId>
-                               </configuration>
-                       </plugin>
-
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <artifactId>maven-surefire-plugin</artifactId>
                                <version>2.19.1</version>
                                <configuration>
+                                       <argLine>${argLine} -Xmx2048m</argLine>
                                        <includes>
                                                <include>**/ToscaParser***Test.class</include>
                                        </includes>
                                <artifactId>sonar-maven-plugin</artifactId>
                                <version>3.0.2</version>
                        </plugin>
+
+                       <plugin>
+                               <groupId>com.github.sylvainlaurent.maven</groupId>
+                               <artifactId>yaml-json-validator-maven-plugin</artifactId>
+                               <version>1.0.1</version>
+                               <executions>
+                                       <execution>
+                                               <id>validate</id>
+                                               <phase>validate</phase>
+                                               <goals>
+                                                       <goal>validate</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <validationSets>
+                                                               <validationSet>
+                                                                       <includes>
+                                                                               <include>src/main/resources/**/*.y*ml</include>
+                                                                               <include>src/test/resources/**/*.y*ml</include>
+                                                                       </includes>
+                                                               </validationSet>
+                                                               <validationSet>
+                                                                       <includes>
+                                                                               <include>src/main/resources/**/*.json</include>
+                                                                               <include>src/test/resources/**/*.json</include>
+                                                                       </includes>
+                                                               </validationSet>
+                                                       </validationSets>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
                </plugins>
        </build>
 
                        <url>http://repo2.maven.org/maven2/</url>
                </repository>
                <repository>
-                       <id>onap-releases</id>
+                       <id>ecomp-releases</id>
                        <name>Release Repository</name>
                        <url>${nexus.proxy}/content/repositories/releases/</url>
                </repository>
                <repository>
-                       <id>onap-snapshots</id>
+                       <id>ecomp-snapshots</id>
                        <name>Snapshots Repository</name>
                        <url>${nexus.proxy}/content/repositories/snapshots/</url>
                </repository>
 
        <distributionManagement>
                <repository>
-                       <id>onap-releases</id>
+                       <id>ecomp-releases</id>
                        <name>Release Repository</name>
                        <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
                </repository>
                <snapshotRepository>
-                       <id>onap-snapshots</id>
+                       <id>ecomp-snapshots</id>
                        <name>Snapshot Repository</name>
                        <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
                </snapshotRepository>
                <site>
-                       <id>onap-site</id>
+                       <id>ecomp-site</id>
                        <url>dav:${nexus.proxy}${sitePath}</url>
                </site>
        </distributionManagement>