[AAI-50] Add support for v11 version APIs
[aai/aai-common.git] / pom.xml
1 <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">
2   <modelVersion>4.0.0</modelVersion>
3   <groupId>org.onap.aai.aai-common</groupId>
4   <artifactId>aai-common</artifactId>
5   <version>1.1.0-SNAPSHOT</version>
6   <packaging>pom</packaging>
7   <name>aai-common</name>
8   
9   <modules>
10         <module>aai-schema</module>
11         <module>aai-annotations</module>
12         <module>aai-core</module>
13   </modules>
14
15         <properties>
16                 <maven.compiler.target>1.8</maven.compiler.target>
17                 <maven.compiler.source>1.8</maven.compiler.source>
18                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19                 <nexusproxy>https://nexus.onap.org</nexusproxy>
20                 <sitePath>/content/sites/site/org/onap/aai/aai-common/${project.artifactId}/${project.version}</sitePath>
21                 <aai.annotations.version>1.1.0-SNAPSHOT</aai.annotations.version>
22                 <aai.schema.version>1.1.0-SNAPSHOT</aai.schema.version>
23                 <aai.core.version>1.1.0-SNAPSHOT</aai.core.version>
24         </properties>
25
26   <build>
27         <pluginManagement>
28             <plugins>
29                 <plugin>
30                     <groupId>org.apache.maven.plugins</groupId>
31                     <artifactId>maven-compiler-plugin</artifactId>
32                     <configuration>
33                         <source>1.8</source>
34                         <target>1.8</target>
35                     </configuration>
36                 </plugin>
37                 <plugin>
38                                         <groupId>org.codehaus.mojo</groupId>
39                                         <artifactId>license-maven-plugin</artifactId>
40                                         <version>1.12</version>
41                                         <configuration>
42                                                 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
43                                                 <licenseName>apache_v2</licenseName>
44                                                 <inceptionYear>2017</inceptionYear>
45                                                 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
46                                                 <projectName>org.openecomp.aai</projectName>
47                                                 <canUpdateCopyright>true</canUpdateCopyright>
48                                                 <canUpdateDescription>true</canUpdateDescription>
49                                                 <canUpdateLicense>true</canUpdateLicense>
50                                                 <emptyLineAfterHeader>true</emptyLineAfterHeader>
51                                                 <processStartTag>============LICENSE_START=======================================================</processStartTag>
52                                                 <processEndTag>============LICENSE_END=========================================================</processEndTag>
53                                                 <sectionDelimiter>================================================================================</sectionDelimiter>
54                                                 <includes>
55                                                         <include>**/*.java</include>
56                                                         <include>**/*.ksh</include>
57                                                         <include>**/*.sh</include>
58                                                         <include>**/*.ftl</include>
59                                                         <include>**/*.xsd</include>
60                                                         <include>**/*.xjb</include>
61                                                         <include>**/aai*.xml</include>
62                                                         <include>**/*logback*.xml</include>
63                                                         <include>**/*aaiconfig*.properties</include>
64                                                         <include>**/*titan*.properties</include>
65                                                 </includes>
66                                         </configuration>
67                                         <executions>
68                                                 <execution>
69                                                         <id>first</id>
70                                                         <goals>
71                                                                 <goal>update-file-header</goal>
72                                                         </goals>
73                                                         <phase>process-sources</phase>
74                                                 </execution>
75                                         </executions>
76                                 </plugin>
77         <plugin>
78                 <groupId>org.apache.maven.plugins</groupId>
79                 <artifactId>maven-deploy-plugin</artifactId>
80                 <executions>
81                         <execution>
82                         <id>default-deploy</id>
83                         <phase>none</phase>
84                         </execution>
85                         </executions>
86                 </plugin>        
87                 <plugin>
88                     <groupId>org.sonatype.plugins</groupId>
89                     <artifactId>nexus-staging-maven-plugin</artifactId>
90                     <version>1.6.7</version>
91                     <extensions>true</extensions>
92                     <configuration>
93                         <nexusUrl>${nexusproxy}</nexusUrl>
94                         <stagingProfileId>176c31dfe190a</stagingProfileId>
95                         <serverId>ecomp-staging</serverId>
96                     </configuration>
97                 </plugin>
98             </plugins>
99         </pluginManagement>
100     </build>
101
102         <distributionManagement>
103                 <repository>
104                         <id>ecomp-releases</id>
105                         <name>ECOMP Release Repository</name>
106                         <url>${nexusproxy}/content/repositories/releases/</url>
107                 </repository>
108                 <snapshotRepository>
109                         <id>ecomp-snapshots</id>
110                         <name>ECOMP Snapshot Repository</name>
111                         <url>${nexusproxy}/content/repositories/snapshots/</url>
112                 </snapshotRepository>
113                 <site>
114                         <id>ecomp-site</id>
115                         <url>dav:${nexusproxy}${sitePath}</url>
116                 </site>
117         </distributionManagement>
118
119 </project>