Update the pom to be able to properly deploy onap
[aai/aai-common.git] / aai-schema / pom.xml
index 5aa58b0..78f76fb 100644 (file)
@@ -3,21 +3,23 @@
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
        xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <modelVersion>4.0.0</modelVersion>
-       <groupId>org.openecomp.aai</groupId>
+  <parent>
+    <groupId>org.openecomp.aai.aai-common</groupId>
+    <artifactId>aai-common</artifactId>
+    <version>1.1.0-SNAPSHOT</version>
+  </parent>
        <artifactId>aai-schema</artifactId>
-       <version>1.1.0-SNAPSHOT</version>
        <name>aai-schema</name>
        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-               <aai.annotations.version>1.1.0-SNAPSHOT</aai.annotations.version>
                <nexusproxy>https://nexus.onap.org</nexusproxy>
-               <sitePath>/content/sites/site/${project.groupId}/aai-common/${project.artifactId}/${project.version}</sitePath>
+               <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
                <maven.compiler.target>1.8</maven.compiler.target>
                <maven.compiler.source>1.8</maven.compiler.source>
        </properties>
        <dependencies>
                <dependency>
-                       <groupId>org.openecomp.aai</groupId>
+                       <groupId>org.openecomp.aai.aai-common</groupId>
                        <artifactId>aai-annotations</artifactId>
                        <version>${aai.annotations.version}</version>
                </dependency>
@@ -83,7 +85,7 @@
                                                <version>1.0.2</version>
                                        </dependency>
                                        <dependency>
-                                               <groupId>org.openecomp.aai</groupId>
+                                               <groupId>org.openecomp.aai.aai-common</groupId>
                                                <artifactId>aai-annotations</artifactId>
                                                <version>${aai.annotations.version}</version>
                                        </dependency>