[AAI-2175] Change aai champ container processes to run as non-root on the host
[aai/champ.git] / champ-lib / pom.xml
1 <!--
2 ============LICENSE_START=======================================================
3 org.onap.aai
4 ================================================================================
5 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6 Copyright © 2017-2018 Amdocs
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12       http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23     <modelVersion>4.0.0</modelVersion>
24
25     <parent>
26         <groupId>org.onap.aai</groupId>
27         <artifactId>champ</artifactId>
28         <version>1.6.0-SNAPSHOT</version>
29     </parent>
30
31     <groupId>org.onap.aai.champ</groupId>
32     <artifactId>champ-lib</artifactId>
33     <packaging>pom</packaging>
34
35     <modules>
36         <module>champ-core</module>
37         <module>champ-titan</module>
38         <module>champ-janus</module>
39     </modules>
40
41     <properties>
42         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43         <!--<absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>-->
44
45         <!--&lt;!&ndash; For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot>-->
46         <!--property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT"-->
47         <!--version, THIS will be used as your directory structure. If you do NOT want-->
48         <!--this, simply remove the "-SNAPSHOT" from your <version> declaration at the-->
49         <!--top of pom.xml &ndash;&gt;-->
50         <!--<distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot>-->
51          <!-- Minimum code coverage percentage. Please update this figure as coverage increases to prevent any drops in
52          coverage caused by new changes. Note that this figure cannot be lower than the ONAP requirement of 0.55 -->
53         <jacoco.line.coverage.limit>0.79</jacoco.line.coverage.limit>
54     </properties>
55
56     <dependencies>
57         <dependency>
58             <groupId>junit</groupId>
59             <artifactId>junit</artifactId>
60             <version>4.12</version>
61             <scope>test</scope>
62         </dependency>
63     </dependencies>
64
65     <build>
66         <plugins>
67             <plugin>
68                 <groupId>org.apache.maven.plugins</groupId>
69                 <artifactId>maven-compiler-plugin</artifactId>
70                 <version>3.6.1</version>
71                 <configuration>
72                     <source>1.8</source>
73                     <target>1.8</target>
74                 </configuration>
75             </plugin>
76             <plugin>
77                 <artifactId>maven-release-plugin</artifactId>
78                 <version>2.4.2</version>
79                 <dependencies>
80                     <dependency>
81                         <groupId>org.apache.maven.scm</groupId>
82                         <artifactId>maven-scm-provider-gitexe</artifactId>
83                         <version>1.8.1</version>
84                     </dependency>
85                 </dependencies>
86             </plugin>
87             <plugin>
88                 <groupId>org.apache.maven.plugins</groupId>
89                 <artifactId>maven-source-plugin</artifactId>
90                 <version>3.0.1</version>
91                 <executions>
92                     <execution>
93                         <id>attach-sources</id>
94                         <goals>
95                             <goal>jar</goal>
96                         </goals>
97                     </execution>
98                 </executions>
99             </plugin>
100             <plugin>
101                 <groupId>org.apache.maven.plugins</groupId>
102                 <artifactId>maven-javadoc-plugin</artifactId>
103                 <version>2.9.1</version>
104                 <executions>
105                     <execution>
106                         <id>attach-javadocs</id>
107                         <goals>
108                             <goal>jar</goal>
109                         </goals>
110                     </execution>
111                 </executions>
112             </plugin>
113             <plugin>
114                 <groupId>org.apache.maven.plugins</groupId>
115                 <artifactId>maven-surefire-plugin</artifactId>
116                 <version>2.12.2</version>
117                 <configuration>
118                     <systemPropertyVariables>
119                         <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
120                     </systemPropertyVariables>
121                 </configuration>
122             </plugin>
123             <plugin>
124                 <groupId>org.apache.maven.plugins</groupId>
125                 <artifactId>maven-deploy-plugin</artifactId>
126             </plugin>
127             <plugin>
128                 <groupId>com.mycila</groupId>
129                 <artifactId>license-maven-plugin</artifactId>
130                 <version>3.0</version>
131                 <configuration>
132                     <header>License.txt</header>
133                     <includes>
134                         <include>**/*.java</include>
135                         <include>**/*.ksh</include>
136                         <include>**/*.sh</include>
137                         <include>**/*.ftl</include>
138                         <include>**/*.xsd</include>
139                         <include>**/*.xjb</include>
140                         <include>**/*.yml</include>
141                         <include>**/*.yaml</include>
142                         <include>**/aai*.xml</include>
143                         <include>**/*logback*.xml</include>
144                         <include>**/*aaiconfig*.properties</include>
145                         <include>**/*titan*.properties</include>
146                     </includes>
147                     <skipExistingHeaders>true</skipExistingHeaders>
148                 </configuration>
149                 <executions>
150                     <execution>
151                         <goals>
152                             <!-- Set goal to "format" to auto update license headers -->
153                             <goal>check</goal>
154                         </goals>
155                         <phase>process-sources</phase>
156                     </execution>
157                 </executions>
158             </plugin>
159         </plugins>
160     </build>
161 </project>