Restore inventory-response-item in XSD Model
[ccsdk/sli/adaptors.git] / aai-service / provider / pom.xml
index e17dab8..9efbf32 100755 (executable)
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
+
        <parent>
-               <groupId>org.onap.ccsdk.sli.adaptors</groupId>
-               <artifactId>aai-service</artifactId>
-               <version>0.1.0-SNAPSHOT</version>
+               <groupId>org.onap.ccsdk.parent</groupId>
+               <artifactId>binding-parent</artifactId>
+               <version>1.1.3-SNAPSHOT</version>
+               <relativePath />
        </parent>
+
+       <groupId>org.onap.ccsdk.sli.adaptors</groupId>
        <artifactId>aai-service-provider</artifactId>
+       <version>0.3.3-SNAPSHOT</version>
        <packaging>bundle</packaging>
-       <name>AAI Interface Service - Provider</name>
+
+       <name>ccsdk-sli-adaptors :: aai-service :: ${project.artifactId}</name>
        <url>http://maven.apache.org</url>
+
        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        </properties>
+
        <dependencies>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
-                       <version>${junit.version}</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.mockito</groupId>
                        <artifactId>mockito-core</artifactId>
-                       <version>${mockito.version}</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.onap.ccsdk.sli.core</groupId>
                        <artifactId>sli-common</artifactId>
-                       <version>${sdnctl.sli.version}</version>
                        <scope>compile</scope>
                </dependency>
                <dependency>
                        <groupId>org.onap.ccsdk.sli.core</groupId>
                        <artifactId>sli-provider</artifactId>
-                       <version>${sdnctl.sli.version}</version>
                        <scope>compile</scope>
                </dependency>
                <dependency>
-                       <groupId>equinoxSDK381</groupId>
-                       <artifactId>org.eclipse.osgi</artifactId>
-                       <version>${equinox.osgi.version}</version>
+                       <groupId>org.onap.ccsdk.sli.core</groupId>
+                       <artifactId>utils-provider</artifactId>
+                       <version>${sdnctl.sli.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.osgi</groupId>
+                       <artifactId>org.osgi.core</artifactId>
+                       <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
-                       <version>${slf4j.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>jcl-over-slf4j</artifactId>
-                       <version>${slf4j.version}</version>
                </dependency>
                <dependency>
                        <groupId>com.sun.jersey</groupId>
                        <artifactId>jersey-client</artifactId>
-                       <version>${jersey.client.version}</version>
                </dependency>
                <dependency>
                        <groupId>com.sun.jersey</groupId>
                        <artifactId>jersey-core</artifactId>
-                       <version>${jersey.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.httpcomponents</groupId>
-                       <artifactId>httpcore-osgi</artifactId>
+                       <artifactId>httpcore</artifactId>
                        <version>${apache.httpcomponents.core.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.httpcomponents</groupId>
-                       <artifactId>httpclient-osgi</artifactId>
+                       <artifactId>httpclient</artifactId>
                        <version>${apache.httpcomponents.client.version}</version>
                </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.core</groupId>
                        <artifactId>jackson-databind</artifactId>
-                       <!-- <type>bundle</type> -->
-                       <version>${jackson.version}</version>
                </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.module</groupId>
                        <artifactId>jackson-module-jaxb-annotations</artifactId>
-                       <version>${jackson.version}</version>
                </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.core</groupId>
                        <artifactId>jackson-annotations</artifactId>
-                       <!-- <type>bundle</type> -->
-                       <version>${jackson.version}</version>
                </dependency>
                <dependency>
                        <groupId>com.fasterxml.jackson.core</groupId>
                        <artifactId>jackson-core</artifactId>
-                       <!-- <type>bundle</type> -->
-                       <version>${jackson.version}</version>
                </dependency>
                <dependency>
                        <groupId>commons-lang</groupId>
                        <artifactId>commons-lang</artifactId>
-                       <version>${commons.lang.version}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.jvnet.jaxb2_commons</groupId>
-                       <artifactId>jaxb2-basics-runtime</artifactId>
-                       <version>0.6.4</version>
                </dependency>
+
                <dependency>
                        <groupId>org.jsoup</groupId>
                        <artifactId>jsoup</artifactId>
 
        <build>
                <plugins>
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-                               <version>${bundle.plugin.version}</version>
-                               <extensions>true</extensions>
-                               <configuration>
-                                       <instructions>
-                                               <Bundle-SymbolicName>org.openecomp.sdnc.sli.aai</Bundle-SymbolicName>
-                                               <Bundle-Activator>org.onap.ccsdk.sli.adaptors.aai.AAIServiceActivator</Bundle-Activator>
-                                               <Export-Package>org.onap.ccsdk.sli.adaptors.aai.*,org.openecomp.aai.inventory.v11.*</Export-Package>
-                        <Import-Package>org.openecomp.sdnc.sli.*,org.osgi.framework.*,org.slf4j.*,org.apache.commons.lang3.*,javax.xml.bind.annotation.*,javax.ws.rs.*,javax.ws.rs.core.*,com.fasterxml.jackson.module.jaxb.*,com.sun.jersey.client.urlconnection.*,com.sun.jersey.api.client.config.*,com.fasterxml.jackson.databind.type.*,com.fasterxml.jackson.module.jaxb.*,com.fasterxml.jackson.databind.introspect.*,com.fasterxml.jackson.annotation.*,com.fasterxml.jackson.databind.*</Import-Package>
-                                               <Import-Package>*</Import-Package>
-                                               <Embed-Transitive>true</Embed-Transitive>
-                                       </instructions>
-
-                                       <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
-                               </configuration>
-                       </plugin>
                        <plugin>
                                <groupId>org.jvnet.jaxb2.maven2</groupId>
                                <artifactId>maven-jaxb2-plugin</artifactId>
                                <version>0.13.1</version>
                                <executions>
                                        <execution>
-                                       <id>gen-xjc</id>
+                                               <id>gen-xjc</id>
                                                <goals>
                                                        <goal>generate</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <configuration>
-                               <schemaDirectory>${project.basedir}/src/main/resources</schemaDirectory>
+                                       <schemaDirectory>${project.basedir}/src/main/resources</schemaDirectory>
                                        <schemaIncludes>
-                                               <value>aai_schema_v11.xsd</value>
+                                               <value>aai_schema_v14.xsd</value>
                                        </schemaIncludes>
                                        <bindingIncludes>
                                                <include>aai-schema-bindings.xjb</include>
                                        </bindingIncludes>
                                        <generateDirectory>${project.build.directory}/generated-sources/main/java</generateDirectory>
-                                        <generatePackage>org.openecomp.aai.inventory.v11</generatePackage>
+                                       <generatePackage>org.onap.aai.inventory.v14</generatePackage>
                                        <extension>true</extension>
-                               <args>
-                                       <arg>-Xannotate</arg>
-                               </args>
+                                       <args>
+                                               <arg>-Xannotate</arg>
+                                       </args>
                                        <plugins>
                                                <plugin>
                                                        <groupId>org.jvnet.jaxb2_commons</groupId>
-                                               <artifactId>jaxb2-basics-annotate</artifactId>
+                                                       <artifactId>jaxb2-basics-annotate</artifactId>
                                                        <version>0.6.4</version>
                                                </plugin>
                                        </plugins>
                                </configuration>
                        </plugin>
                </plugins>
-               <pluginManagement>
-                       <plugins>
-                               <!--This plugin's configuration is used to store Eclipse m2e settings
-                                       only. It has no influence on the Maven build itself. -->
-                               <plugin>
-                                       <groupId>org.eclipse.m2e</groupId>
-                                       <artifactId>lifecycle-mapping</artifactId>
-                                       <version>1.0.0</version>
-                                       <configuration>
-                                               <lifecycleMappingMetadata>
-                                                       <pluginExecutions>
-                                                               <pluginExecution>
-                                                                       <pluginExecutionFilter>
-                                                                               <groupId>
-                                                                                       com.brocade.developer
-                                                                               </groupId>
-                                                                               <artifactId>
-                                                                                       providermodule-plugin
-                                                                               </artifactId>
-                                                                               <versionRange>
-                                                                                       [1.2.0.100-SNAPSHOT,)
-                                                                               </versionRange>
-                                                                               <goals>
-                                                                                       <goal>process</goal>
-                                                                               </goals>
-                                                                       </pluginExecutionFilter>
-                                                                       <action>
-                                                                               <ignore />
-                                                                       </action>
-                                                               </pluginExecution>
-                                                       </pluginExecutions>
-                                               </lifecycleMappingMetadata>
-                                       </configuration>
-                               </plugin>
-                       </plugins>
-               </pluginManagement>
        </build>
 </project>