Remove the aai-schema from aai-common
[aai/aai-common.git] / aai-core / pom.xml
index f43c19e..06820a3 100644 (file)
             </properties>
         </profile>
         <!-- End of ONAP profile -->
-        <profile>
-            <id>generateXsd</id>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>exec-maven-plugin</artifactId>
-                        <version>1.1.1</version>
-                        <executions>
-                            <execution>
-                                <phase>process-classes</phase>
-                                <goals>
-                                    <goal>java</goal>
-                                </goals>
-                                <configuration>
-                                    <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
-                                    <systemProperties>
-                                        <systemProperty>
-                                            <key>gen_version</key>
-                                            <value>${gendoc.version}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>gen_type</key>
-                                            <value>XSD</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>yamlresponses_url</key>
-                                            <value></value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>yamlresponses_label</key>
-                                            <value></value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.configuration.location</key>
-                                            <value>${schema.configuration.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.nodes.location</key>
-                                            <value>${schema.nodes.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.edges.location</key>
-                                            <value>${schema.edges.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.list</key>
-                                            <value>${schema.version.list}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.depth.start</key>
-                                            <value>${schema.version.depth.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.depth.start</key>
-                                            <value>${schema.version.depth.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.related.link.start</key>
-                                            <value>${schema.version.related.link.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.app.root.start</key>
-                                            <value>${schema.version.app.root.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.edge.label.start</key>
-                                            <value>${schema.version.app.root.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.namespace.change.start</key>
-                                            <value>${schema.version.namespace.change.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.api.default</key>
-                                            <value>${schema.version.api.default}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.uri.base.path</key>
-                                            <value>${schema.uri.base.path}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.translator.list</key>
-                                            <value>${schema.translator.list}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>aai.release</key>
-                                            <value>${aai.release}</value>
-                                        </systemProperty>
-                                    </systemProperties>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-            <id>generateYaml</id>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>exec-maven-plugin</artifactId>
-                        <version>1.1.1</version>
-                        <executions>
-                            <execution>
-                                <phase>process-classes</phase>
-                                <goals>
-                                    <goal>java</goal>
-                                </goals>
-                                <configuration>
-                                    <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
-                                    <systemProperties>
-                                        <systemProperty>
-                                            <key>gen_version</key>
-                                            <value>${gendoc.version}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>gen_type</key>
-                                            <value>YAML</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>yamlresponses_url</key>
-                                            <value>https://wiki.web.att.com/pages/viewpage.action?pageId=607391054
-                                            </value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>yamlresponses_label</key>
-                                            <value>Response codes found in [response codes]</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.configuration.location</key>
-                                            <value>${schema.configuration.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.nodes.location</key>
-                                            <value>${schema.nodes.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.edges.location</key>
-                                            <value>${schema.edges.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.list</key>
-                                            <value>${schema.version.list}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.depth.start</key>
-                                            <value>${schema.version.depth.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.depth.start</key>
-                                            <value>${schema.version.depth.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.related.link.start</key>
-                                            <value>${schema.version.related.link.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.app.root.start</key>
-                                            <value>${schema.version.app.root.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.edge.label.start</key>
-                                            <value>${schema.version.app.root.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.namespace.change.start</key>
-                                            <value>${schema.version.namespace.change.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.api.default</key>
-                                            <value>${schema.version.api.default}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.uri.base.path</key>
-                                            <value>${schema.uri.base.path}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.translator.list</key>
-                                            <value>${schema.translator.list}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>aai.release</key>
-                                            <value>${aai.release}</value>
-                                        </systemProperty>
-                                    </systemProperties>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-            <id>generateHtml</id>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>exec-maven-plugin</artifactId>
-                        <version>1.1.1</version>
-                        <executions>
-                            <execution>
-                                <phase>process-classes</phase>
-                                <goals>
-                                    <goal>java</goal>
-                                </goals>
-                                <configuration>
-                                    <mainClass>org.onap.aai.util.swagger.GenerateSwagger</mainClass>
-                                    <systemProperties>
-                                        <property>
-                                            <key>aai.generate.version</key>
-                                            <value>${gendoc.version}</value>
-                                        </property>
-                                        <property>
-                                            <key>aai.wiki.link</key>
-                                            <value>${aai.wiki.link}</value>
-                                        </property>
-                                        <systemProperty>
-                                            <key>schema.configuration.location</key>
-                                            <value>${schema.configuration.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.nodes.location</key>
-                                            <value>${schema.nodes.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.edges.location</key>
-                                            <value>${schema.edges.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.list</key>
-                                            <value>${schema.version.list}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.depth.start</key>
-                                            <value>${schema.version.depth.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.depth.start</key>
-                                            <value>${schema.version.depth.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.related.link.start</key>
-                                            <value>${schema.version.related.link.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.app.root.start</key>
-                                            <value>${schema.version.app.root.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.edge.label.start</key>
-                                            <value>${schema.version.app.root.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.namespace.change.start</key>
-                                            <value>${schema.version.namespace.change.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.api.default</key>
-                                            <value>${schema.version.api.default}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.uri.base.path</key>
-                                            <value>${schema.uri.base.path}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.translator.list</key>
-                                            <value>${schema.translator.list}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>aai.release</key>
-                                            <value>${aai.release}</value>
-                                        </systemProperty>
-                                    </systemProperties>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-            <id>autoGenerate</id>
-            <activation>
-                <property>
-                    <name>aai.generate.schema</name>
-                    <value>!false</value>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>exec-maven-plugin</artifactId>
-                        <version>1.1.1</version>
-                        <executions>
-                            <execution>
-                                <id>autoGenerateXsd</id>
-                                <phase>process-classes</phase>
-                                <goals>
-                                    <goal>java</goal>
-                                </goals>
-                                <configuration>
-                                    <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
-                                    <systemProperties>
-                                        <systemProperty>
-                                            <key>gen_version</key>
-                                            <value>ALL</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>gen_type</key>
-                                            <value>XSD</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>yamlresponses_url</key>
-                                            <value></value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>yamlresponses_label</key>
-                                            <value></value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.configuration.location</key>
-                                            <value>${schema.configuration.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.nodes.location</key>
-                                            <value>${schema.nodes.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.edges.location</key>
-                                            <value>${schema.edges.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.list</key>
-                                            <value>${schema.version.list}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.depth.start</key>
-                                            <value>${schema.version.depth.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.depth.start</key>
-                                            <value>${schema.version.depth.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.related.link.start</key>
-                                            <value>${schema.version.related.link.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.app.root.start</key>
-                                            <value>${schema.version.app.root.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.edge.label.start</key>
-                                            <value>${schema.version.app.root.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.namespace.change.start</key>
-                                            <value>${schema.version.namespace.change.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.api.default</key>
-                                            <value>${schema.version.api.default}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.uri.base.path</key>
-                                            <value>${schema.uri.base.path}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.translator.list</key>
-                                            <value>${schema.translator.list}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>aai.release</key>
-                                            <value>${aai.release}</value>
-                                        </systemProperty>
-                                    </systemProperties>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>autoGenerateYaml</id>
-                                <phase>process-classes</phase>
-                                <goals>
-                                    <goal>java</goal>
-                                </goals>
-                                <configuration>
-                                    <mainClass>org.onap.aai.util.GenerateXsd</mainClass>
-                                    <systemProperties>
-                                        <systemProperty>
-                                            <key>gen_version</key>
-                                            <value>ALL</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>gen_type</key>
-                                            <value>YAML</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>yamlresponses_url</key>
-                                            <value>https://wiki.web.att.com/pages/viewpage.action?pageId=607391054
-                                            </value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>yamlresponses_label</key>
-                                            <value>Response codes found in [response codes]</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.configuration.location</key>
-                                            <value>${schema.configuration.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.nodes.location</key>
-                                            <value>${schema.nodes.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.edges.location</key>
-                                            <value>${schema.edges.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.list</key>
-                                            <value>${schema.version.list}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.depth.start</key>
-                                            <value>${schema.version.depth.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.depth.start</key>
-                                            <value>${schema.version.depth.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.related.link.start</key>
-                                            <value>${schema.version.related.link.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.app.root.start</key>
-                                            <value>${schema.version.app.root.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.edge.label.start</key>
-                                            <value>${schema.version.app.root.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.namespace.change.start</key>
-                                            <value>${schema.version.namespace.change.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.api.default</key>
-                                            <value>${schema.version.api.default}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>aai.release</key>
-                                            <value>${aai.release}</value>
-                                        </systemProperty>
-                                    </systemProperties>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>autoGenerateHtml</id>
-                                <phase>process-classes</phase>
-                                <goals>
-                                    <goal>java</goal>
-                                </goals>
-                                <configuration>
-                                    <mainClass>org.onap.aai.util.AutoGenerateHtml</mainClass>
-                                    <systemProperties>
-                                        <property>
-                                            <key>aai.generate.version</key>
-                                            <value>${gendoc.version}</value>
-                                        </property>
-                                        <property>
-                                            <key>aai.wiki.link</key>
-                                            <value>${aai.wiki.link}</value>
-                                        </property>
-                                        <systemProperty>
-                                            <key>schema.configuration.location</key>
-                                            <value>${schema.configuration.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.nodes.location</key>
-                                            <value>${schema.nodes.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.edges.location</key>
-                                            <value>${schema.edges.location}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.list</key>
-                                            <value>${schema.version.list}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.depth.start</key>
-                                            <value>${schema.version.depth.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.depth.start</key>
-                                            <value>${schema.version.depth.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.related.link.start</key>
-                                            <value>${schema.version.related.link.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.app.root.start</key>
-                                            <value>${schema.version.app.root.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.edge.label.start</key>
-                                            <value>${schema.version.app.root.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.namespace.change.start</key>
-                                            <value>${schema.version.namespace.change.start}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>schema.version.api.default</key>
-                                            <value>${schema.version.api.default}</value>
-                                        </systemProperty>
-                                        <systemProperty>
-                                            <key>aai.release</key>
-                                            <value>${aai.release}</value>
-                                        </systemProperty>
-                                    </systemProperties>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
     </profiles>
     <build>
         <plugins>
                         <configuration>
                             <artifactItems>
                                 <artifactItem>
-                                    <groupId>org.onap.aai.aai-common</groupId>
+                                    <groupId>org.onap.aai.schema-service</groupId>
                                     <artifactId>aai-schema</artifactId>
-                                    <version>1.4.0</version>
+                                    <version>1.0.0</version>
                                     <outputDirectory>${project.basedir}/src/test/resources/</outputDirectory>
                                     <includes>onap/oxm/**/*.xml</includes>
                                 </artifactItem>
                         <configuration>
                             <artifactItems>
                                 <artifactItem>
-                                    <groupId>org.onap.aai.aai-common</groupId>
+                                    <groupId>org.onap.aai.schema-service</groupId>
                                     <artifactId>aai-schema</artifactId>
-                                    <version>1.4.0</version>
+                                    <version>1.0.0</version>
                                     <outputDirectory>${project.basedir}/src/test/resources/</outputDirectory>
                                     <includes>onap/dbedgerules/**/*.json</includes>
                                 </artifactItem>