Merge "Add additional fields validation report"
[aai/data-router.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 99bca06..60714d1 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -25,12 +25,12 @@ limitations under the License.
    <parent>
       <groupId>org.springframework.boot</groupId>
       <artifactId>spring-boot-starter-parent</artifactId>
-      <version>1.5.10.RELEASE</version>
+      <version>1.5.15.RELEASE</version>
       <relativePath />
    </parent>
    <groupId>org.onap.aai.data-router</groupId>
    <artifactId>data-router</artifactId>
-   <version>1.2.0-SNAPSHOT</version>
+   <version>1.3.0-SNAPSHOT</version>
    <name>aai-data-router</name>
 
    <properties>
@@ -38,10 +38,10 @@ limitations under the License.
       <camel-spring-boot.version>2.20.0</camel-spring-boot.version>
       <docker.location>${basedir}/target</docker.location>
       <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>
-      <!-- For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot> 
-         property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT" 
-         version, THIS will be used as your directory structure. If you do NOT want 
-         this, simply remove the "-SNAPSHOT" from your <version> declaration at the 
+      <!-- For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot>
+         property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT"
+         version, THIS will be used as your directory structure. If you do NOT want
+         this, simply remove the "-SNAPSHOT" from your <version> declaration at the
          top of pom.xml -->
       <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot>
       <!-- For SOA Cloud Installation -->
@@ -49,8 +49,8 @@ limitations under the License.
       <installOwnerGroup>aaiadmin</installOwnerGroup>
       <ownerManagementGroup>com.att.csid.lab</ownerManagementGroup>
 
-      <!-- Port Selection. A value of 0 will allow for dynamic port selection. 
-         For local testing, you may choose to hardcode this value to something like 
+      <!-- Port Selection. A value of 0 will allow for dynamic port selection.
+         For local testing, you may choose to hardcode this value to something like
          8080 -->
       <serverPort>0</serverPort>
       <sslport>9502</sslport>
@@ -67,6 +67,8 @@ limitations under the License.
       <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
       <sonar.projectVersion>${project.version}</sonar.projectVersion>
       <logback.version>1.2.3</logback.version>
+      <version.com.google.guava>16.0.1</version.com.google.guava>
+      <camel-spring-boot.version>2.22.0</camel-spring-boot.version>
    </properties>
 
    <dependencies>
@@ -92,7 +94,7 @@ limitations under the License.
       <dependency>
          <groupId>org.apache.camel</groupId>
          <artifactId>camel-core</artifactId>
-         <version>2.20.1</version>
+         <version>${camel-spring-boot.version}</version>
       </dependency>
       <dependency>
          <groupId>org.apache.camel</groupId>
@@ -101,7 +103,7 @@ limitations under the License.
       <dependency>
          <groupId>org.apache.camel</groupId>
          <artifactId>camel-cxf</artifactId>
-         <version>2.20.1</version>
+         <version>${camel-spring-boot.version}</version>
       </dependency>
       <!-- Spring dependencies -->
       <dependency>
@@ -120,7 +122,7 @@ limitations under the License.
       <dependency>
          <groupId>javax.ws.rs</groupId>
          <artifactId>javax.ws.rs-api</artifactId>
-         <version>2.0.1</version>
+         <version>2.1</version>
       </dependency>
       <dependency>
          <groupId>org.powermock</groupId>
@@ -129,6 +131,12 @@ limitations under the License.
          <scope>test</scope>
       </dependency>
 
+     <dependency>
+       <groupId>org.assertj</groupId>
+       <artifactId>assertj-core</artifactId>
+       <version>3.10.0</version>
+       <scope>test</scope>
+     </dependency>
       <dependency>
          <groupId>org.powermock</groupId>
          <artifactId>powermock-api-mockito</artifactId>
@@ -162,15 +170,26 @@ limitations under the License.
          <version>3.1.200</version>
          <scope>provided</scope>
       </dependency>
-      <dependency>
-         <groupId>org.onap.aai.aai-common</groupId>
-         <artifactId>aai-schema</artifactId>
-         <version>1.2.2-SNAPSHOT</version>
-      </dependency>
+      <!--<dependency>-->
+         <!--<groupId>org.onap.aai.aai-common</groupId>-->
+         <!--<artifactId>aai-schema</artifactId>-->
+         <!--<version>1.3.0-SNAPSHOT</version>-->
+      <!--</dependency>-->
+      <!--<dependency>-->
+        <!--<groupId>org.onap.aai.aai-common</groupId>-->
+         <!--<artifactId>aai-schema-ingest</artifactId>-->
+         <!--<version>1.2.2</version>-->
+         <!--<exclusions>-->
+             <!--<exclusion>-->
+                 <!--<groupId>com.google.guava</groupId>-->
+                 <!--<artifactId>guava</artifactId>-->
+             <!--</exclusion>-->
+         <!--</exclusions>-->
+      <!--</dependency>-->
       <dependency>
          <groupId>org.onap.aai.router-core</groupId>
          <artifactId>router-core</artifactId>
-         <version>1.2.0-SNAPSHOT</version>
+         <version>1.3.0-SNAPSHOT</version>
       </dependency>
 
       <dependency>
@@ -208,7 +227,11 @@ limitations under the License.
          <version>1.1.0</version>
       </dependency>
 
-
+    <dependency>
+        <groupId>com.google.guava</groupId>
+        <artifactId>guava</artifactId>
+        <version>${version.com.google.guava}</version>
+      </dependency>
 
    </dependencies>
 
@@ -278,11 +301,43 @@ limitations under the License.
                               <include>**/*</include>
                            </includes>
                         </resource>
+                        <resource>
+                           <directory>${basedir}/config</directory>
+                           <filtering>true</filtering>
+                           <includes>
+                              <include>schema/**</include>
+                           </includes>
+                        </resource>
                      </resources>
                   </configuration>
                </execution>
             </executions>
          </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>unpack</id>
+                <phase>prepare-package</phase>
+                <goals>
+                  <goal>unpack</goal>
+                </goals>
+                <configuration>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.onap.aai.aai-common</groupId>
+                      <artifactId>aai-schema</artifactId>
+                      <version>1.2.2</version>
+                      <type>jar</type>
+                      <includes>oxm/</includes>
+                      <outputDirectory>${project.build.directory}/bundleconfig-local/etc</outputDirectory>
+                    </artifactItem>
+                  </artifactItems>
+                  </configuration>
+               </execution>
+            </executions>
+         </plugin>
          <plugin>
             <groupId>com.spotify</groupId>
             <artifactId>docker-maven-plugin</artifactId>
@@ -299,12 +354,27 @@ limitations under the License.
             </configuration>
          </plugin>
          <!-- license plugin -->
-         <!-- Uncomment this to add a license header to every source file 
-            <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> 
-            <version>3.0</version> <configuration> <header>License.txt</header> <includes> 
-            <include>src/main/java/**</include> <include>src/test/java/**</include> </includes> 
-            </configuration> <executions> <execution> <goals> <goal>format</goal> </goals> 
-            <phase>process-sources</phase> </execution> </executions> </plugin> -->
+         <!-- Uncomment this to add a license header to every source file
+  <plugin>
+    <groupId>com.mycila</groupId>
+    <artifactId>license-maven-plugin</artifactId>
+    <version>3.0</version>
+    <configuration>
+      <header>License.txt</header>
+      <includes>
+        <include>src/main/java/**</include>
+        <include>src/test/java/**</include>
+      </includes>
+    </configuration>
+    <executions>
+      <execution>
+        <goals>
+          <goal>format</goal>
+        </goals>
+        <phase>process-sources</phase>
+      </execution>
+    </executions>
+  </plugin> -->
          <plugin>
             <groupId>org.sonatype.plugins</groupId>
             <artifactId>nexus-staging-maven-plugin</artifactId>
@@ -365,7 +435,7 @@ limitations under the License.
          <dependency>
             <groupId>org.apache.httpcomponents</groupId>
             <artifactId>httpclient</artifactId>
-            <version>4.5</version>
+            <version>4.5.5</version>
          </dependency>
          <dependency>
             <groupId>org.apache.httpcomponents</groupId>