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