Add multi-oxm using schemaIngest library
[aai/data-router.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 917a635..c66b855 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -67,6 +67,7 @@ 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>
    </properties>
 
    <dependencies>
@@ -167,6 +168,17 @@ limitations under the License.
          <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>
@@ -208,7 +220,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 +294,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>