update link to upper-constraints.txt
[aai/sparky-be.git] / sparkybe-onap-service / pom.xml
index f3dd245..ef1961e 100644 (file)
@@ -4,34 +4,41 @@
        <parent>
          <groupId>org.onap.aai</groupId>
          <artifactId>sparky-be</artifactId>
-         <version>1.6.1-SNAPSHOT</version>
+         <version>2.0.3-SNAPSHOT</version>
        </parent>
 
        <groupId>org.onap.aai.sparky-be</groupId>
        <artifactId>sparkybe-onap-service</artifactId>
-       <version>1.6.1-SNAPSHOT</version>
+       <version>2.0.3-SNAPSHOT</version>
        <packaging>jar</packaging>
 
        <properties>
-               <java.version>1.8</java.version>
-               <version.jacoco.maven.plugin>0.7.9</version.jacoco.maven.plugin>
+               <java.version>11</java.version>
                <frontEndGroupdId>org.onap.aai</frontEndGroupdId>
                <frontEndArtifactId>sparky-fe</frontEndArtifactId>
-               <frontEndVersion>1.3.0</frontEndVersion>
+               <frontEndVersion>2.0.0</frontEndVersion>
                <serverPort>9517</serverPort>
                <sslport>8000</sslport>
                <nexusproxy>https://nexus.onap.org</nexusproxy>
                <camel-spring-boot.version>2.21.1</camel-spring-boot.version>
-               <config-home>${basedir}/</config-home>  
+               <config-home>${basedir}/</config-home>
                <version.aai.aai-schema-ingest>1.4.1</version.aai.aai-schema-ingest>
-               <version.aai-schema>1.6.0</version.aai-schema>
+               <version.aai-schema>1.6.6</version.aai-schema>
                <sitePath>/content/sites/site/org/onap/aai/sparky-be/${project.artifactId}/${project.version}</sitePath>
                <onap.nexus.url>https://neexus.onap.org</onap.nexus.url>
                <jacoco.line.coverage.limit>0.55</jacoco.line.coverage.limit>
+               <spring.boot.version>1.5.22.RELEASE</spring.boot.version>
        </properties>
 
        <dependencyManagement>
                <dependencies>
+                     <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-parent</artifactId>
+                       <version>${spring.boot.version}</version>
+                       <type>pom</type>
+                       <scope>import</scope>
+                     </dependency>
                        <!-- Camel BOM -->
                        <dependency>
                                <groupId>org.apache.camel</groupId>
@@ -211,7 +218,7 @@ some of the depedencies should probably have a scope of provided so they don't a
                <dependency>
                        <groupId>org.eclipse.persistence</groupId>
                        <artifactId>eclipselink</artifactId>
-                       <version>2.6.2</version>
+                       <version>2.7.7</version>
                </dependency>
 
                <dependency>
@@ -243,17 +250,7 @@ some of the depedencies should probably have a scope of provided so they don't a
                                </exclusion>
                    </exclusions>
            </dependency>
-               <dependency>
-                       <groupId>com.att.eelf</groupId>
-                       <artifactId>eelf-core</artifactId>
-                       <exclusions> <!--excluding transitive dependency coming from this artifact, as we would need powermock-api-mockito2-->
-                               <exclusion>
-                                       <groupId>org.powermock</groupId>
-                                       <artifactId>powermock-api-mockito</artifactId>
-                               </exclusion>
-                       </exclusions>
-                       <version>1.0.1-oss</version>
-               </dependency>
+                               
                <dependency>
                        <groupId>org.onap.aai</groupId>
                        <artifactId>rest-client</artifactId>
@@ -284,7 +281,6 @@ some of the depedencies should probably have a scope of provided so they don't a
                <dependency>
                        <groupId>org.json</groupId>
                        <artifactId>json</artifactId>
-                       <version>20140107</version>
                        <scope>provided</scope>
                </dependency>
 
@@ -317,6 +313,24 @@ some of the depedencies should probably have a scope of provided so they don't a
                        </exclusions>
                </dependency>
 
+               <dependency>
+                       <groupId>jakarta.xml.bind</groupId>
+                       <artifactId>jakarta.xml.bind-api</artifactId>
+                       <version>2.3.3</version>
+               </dependency>
+
+               <dependency>
+                       <groupId>javax.json</groupId>
+                       <artifactId>javax.json-api</artifactId>
+                       <version>1.1</version>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.glassfish</groupId>
+                       <artifactId>javax.json</artifactId>
+                       <version>1.1</version>
+               </dependency>
+
                <!-- Test dependencies -->
 
                <dependency>
@@ -334,19 +348,14 @@ some of the depedencies should probably have a scope of provided so they don't a
                </dependency>
                <dependency>
                        <groupId>org.powermock</groupId>
-                       <artifactId>powermock-api-mockito2</artifactId>
-                       <version>2.0.2</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.powermock</groupId>
-                       <artifactId>powermock-module-javaagent</artifactId>
+                       <artifactId>powermock-api-mockito</artifactId>
                        <version>1.6.2</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.powermock</groupId>
-                       <artifactId>powermock-core</artifactId>
-                       <version>2.0.0</version>
+                       <artifactId>powermock-module-javaagent</artifactId>
+                       <version>1.6.2</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
@@ -360,19 +369,13 @@ some of the depedencies should probably have a scope of provided so they don't a
                    <artifactId>javax.inject</artifactId>
                    <version>1</version>
                        <scope>test</scope>
-               </dependency>
+               </dependency>           
 
                <dependency>
                        <groupId>org.hamcrest</groupId>
                        <artifactId>hamcrest-library</artifactId>
                        <scope>test</scope>
                </dependency>
-               <dependency>
-                       <groupId>org.hamcrest</groupId>
-                       <artifactId>hamcrest-core</artifactId>
-                       <version>1.3</version>
-                       <scope>compile</scope>
-               </dependency>
 
        </dependencies>
 
@@ -385,9 +388,9 @@ some of the depedencies should probably have a scope of provided so they don't a
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-compiler-plugin</artifactId>
+                                       <version>3.8.0</version>
                                        <configuration>
-                                               <source>1.8</source>
-                                               <target>1.8</target>
+                                               <release>11</release>  <!--or <release>10</release>-->
                                        </configuration>
                                </plugin>
 
@@ -491,48 +494,6 @@ some of the depedencies should probably have a scope of provided so they don't a
                                </executions>
                        </plugin>
  -->
-                       <plugin>
-                               <groupId>org.jacoco</groupId>
-                               <artifactId>jacoco-maven-plugin</artifactId>
-                               <version>${version.jacoco.maven.plugin}</version>
-                               <executions>
-                                       <execution>
-                                               <id>prepare-agent</id>
-                                               <goals>
-                                                       <goal>prepare-agent</goal>
-                                               </goals>
-                                       </execution>
-                                       <execution>
-                                               <id>report</id>
-                                               <phase>package</phase>
-                                               <goals>
-                                                       <goal>report</goal>
-                                               </goals>
-                                       </execution>
-                                       <execution>
-                        <id>default-check</id>
-                        <goals>
-                            <goal>check</goal>
-                        </goals>
-                        <configuration>
-                            <dataFile>${project.build.directory}/jacoco.exec</dataFile>
-                            <rules>
-                                <!--  implementation is needed only for Maven 2  -->
-                                <rule implementation="org.jacoco.maven.RuleConfiguration">
-                                    <element>BUNDLE</element>
-                                    <limits>
-                                        <limit implementation="org.jacoco.report.check.Limit">
-                                            <counter>LINE</counter>
-                                            <value>COVEREDRATIO</value>
-                                            <minimum>${jacoco.line.coverage.limit}</minimum>
-                                        </limit>
-                                    </limits>
-                                </rule>
-                            </rules>
-                        </configuration>
-                    </execution>
-                               </executions>
-                       </plugin>
 
 <!--                   <plugin>
                                <groupId>org.codehaus.mojo</groupId>
@@ -640,7 +601,7 @@ some of the depedencies should probably have a scope of provided so they don't a
              </plugins>
 </build>
 
-
+       
     <distributionManagement>
        <repository>
           <id>ecomp-releases</id>