[AAI-2175] Change aai champ container processes to run as non-root on the host
[aai/champ.git] / 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.oparent</groupId>
27         <artifactId>oparent</artifactId>
28         <version>2.0.0</version>
29     </parent>
30
31     <groupId>org.onap.aai</groupId>
32     <artifactId>champ</artifactId>
33     <name>aai-champ</name>
34     <packaging>pom</packaging>
35     <version>1.6.0-SNAPSHOT</version>
36
37     <properties>
38         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
39         <event.client.version>1.5.0</event.client.version>
40         <!-- Minimum code coverage percentage. Please update this figure as coverage increases to prevent any drops in
41          coverage caused by new changes. Note that this figure cannot be lower than the ONAP requirement of 0.55 -->
42         <jacoco.line.coverage.limit>0.57</jacoco.line.coverage.limit>
43         <jacoco.report.directory>${project.build.directory}/code-coverage</jacoco.report.directory>
44     </properties>
45
46     <modules>
47         <module>champ-lib</module>
48         <module>champ-service-deps-janus</module>
49         <module>champ-service-deps-titan</module>
50         <module>champ-service</module>
51     </modules>
52
53     <build>
54         <plugins>
55             <plugin>
56                 <groupId>org.apache.maven.plugins</groupId>
57                 <artifactId>maven-deploy-plugin</artifactId>
58             </plugin>
59             <plugin>
60                 <groupId>org.jacoco</groupId>
61                 <artifactId>jacoco-maven-plugin</artifactId>
62                 <executions>
63                     <execution>
64                         <id>default-check</id>
65                         <goals>
66                             <goal>check</goal>
67                         </goals>
68                         <configuration>
69                             <dataFile>${jacoco.report.directory}/jacoco-ut.exec</dataFile>
70                             <rules>
71                                 <!--  implementation is needed only for Maven 2  -->
72                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
73                                     <element>BUNDLE</element>
74                                     <limits>
75                                         <limit implementation="org.jacoco.report.check.Limit">
76                                             <counter>LINE</counter>
77                                             <value>COVEREDRATIO</value>
78                                             <minimum>${jacoco.line.coverage.limit}</minimum>
79                                         </limit>
80                                     </limits>
81                                 </rule>
82                             </rules>
83                         </configuration>
84                     </execution>
85                 </executions>
86             </plugin>
87         </plugins>
88     </build>
89
90     <dependencyManagement>
91         <dependencies>
92
93             <dependency>
94                 <groupId>org.onap.aai.event-client</groupId>
95                 <artifactId>event-client-api</artifactId>
96                 <version>${event.client.version}</version>
97             </dependency>
98
99             <dependency>
100                 <groupId>org.onap.aai.event-client</groupId>
101                 <artifactId>event-client-dmaap</artifactId>
102                 <version>${event.client.version}</version>
103             </dependency>
104
105             <dependency>
106                 <groupId>org.onap.aai.event-client</groupId>
107                 <artifactId>event-client-kafka</artifactId>
108                 <version>${event.client.version}</version>
109             </dependency>
110
111                 <dependency>
112                         <groupId>org.onap.aai.event-client</groupId>
113                         <artifactId>event-client-rabbitmq</artifactId>
114                         <version>${event.client.version}</version>
115                 </dependency>
116             <dependency>
117                 <groupId>commons-collections</groupId>
118                 <artifactId>commons-collections</artifactId>
119                 <version>20040616</version>
120             </dependency>
121
122             <dependency>
123                 <groupId>ch.qos.logback</groupId>
124                 <artifactId>logback-classic</artifactId>
125                 <version>1.2.3</version>
126             </dependency>
127
128             <dependency>
129                 <groupId>ch.qos.logback</groupId>
130                 <artifactId>logback-core</artifactId>
131                 <version>1.2.3</version>
132             </dependency>
133
134             <dependency>
135                 <groupId>org.apache.hadoop</groupId>
136                 <artifactId>hadoop-common</artifactId>
137                 <version>2.7.7</version>
138             </dependency>
139
140             <dependency>
141                 <groupId>org.apache.hbase</groupId>
142                 <artifactId>hbase-client</artifactId>
143                 <version>1.0.2</version>
144             </dependency>
145
146             <dependency>
147                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
148                 <artifactId>dmaapClient</artifactId>
149                 <version>1.1.5</version>
150             </dependency>
151
152             <dependency>
153                 <groupId>io.netty</groupId>
154                 <artifactId>netty-all</artifactId>
155                 <version>4.1.24.Final</version>
156             </dependency>
157
158             <dependency>
159                 <groupId>io.netty</groupId>
160                 <artifactId>netty</artifactId>
161                 <version>3.10.6.Final</version>
162             </dependency>
163
164             <dependency>
165                 <groupId>org.apache.zookeeper</groupId>
166                 <artifactId>zookeeper</artifactId>
167                 <version>3.4.12</version>
168             </dependency>
169
170             <dependency>
171                 <groupId>com.fasterxml.jackson.core</groupId>
172                 <artifactId>jackson-core</artifactId>
173                 <version>2.8.11</version>
174             </dependency>
175
176             <dependency>
177                 <groupId>com.fasterxml.jackson.core</groupId>
178                 <artifactId>jackson-databind</artifactId>
179                 <version>2.8.11.1</version>
180             </dependency>
181
182             <dependency>
183                 <groupId>org.apache.httpcomponents</groupId>
184                 <artifactId>httpclient-cache</artifactId>
185                 <version>4.5.3</version>
186             </dependency>
187
188             <dependency>
189                 <groupId>org.apache.httpcomponents</groupId>
190                 <artifactId>httpclient</artifactId>
191                 <version>4.5.3</version>
192             </dependency>
193
194             <dependency>
195                 <groupId>org.codehaus.groovy</groupId>
196                 <artifactId>groovy</artifactId>
197                 <version>2.4.15</version>
198             </dependency>
199         </dependencies>
200     </dependencyManagement>
201
202     <distributionManagement>
203         <repository>
204             <id>ecomp-releases</id>
205             <name>ECOMP Release Repository</name>
206             <url>${onap.nexus.url}/content/repositories/releases/</url>
207         </repository>
208         <snapshotRepository>
209             <id>ecomp-snapshots</id>
210             <name>ECOMP Snapshot Repository</name>
211             <url>${onap.nexus.url}/content/repositories/snapshots/</url>
212         </snapshotRepository>
213     </distributionManagement>
214
215 </project>