[AAI-2175] Change aai champ container processes to run as non-root on the host
[aai/champ.git] / champ-service-deps-janus / 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.4.1-SNAPSHOT</version>
29     </parent>
30
31     <groupId>org.onap.aai.champ</groupId>
32     <artifactId>champ-service-deps-janus</artifactId>
33     <packaging>pom</packaging>
34
35     <dependencies>
36         <dependency>
37             <groupId>com.google.guava</groupId>
38             <artifactId>guava</artifactId>
39             <version>19.0</version>
40         </dependency>
41         <dependency>
42             <groupId>org.onap.aai.champ.champ-lib</groupId>
43             <artifactId>champ-janus</artifactId>
44             <version>${project.version}</version>
45             <exclusions>
46                 <exclusion>
47                     <groupId>ch.qos.logback</groupId>
48                     <artifactId>logback-classic</artifactId>
49                 </exclusion>
50                 <exclusion>
51                     <groupId>ch.qos.logback</groupId>
52                     <artifactId>logback-core</artifactId>
53                 </exclusion>
54                 <exclusion>
55                     <groupId>org.slf4j</groupId>
56                     <artifactId>slf4j-api</artifactId>
57                 </exclusion>
58                 <exclusion>
59                     <groupId>log4j</groupId>
60                     <artifactId>log4j</artifactId>
61                 </exclusion>
62                 <exclusion>
63                     <groupId>org.onap.aai.logging-service</groupId>
64                     <artifactId>logging-api</artifactId>
65                 </exclusion>
66                 <exclusion>
67                     <groupId>org.glassfish.jersey.core</groupId>
68                     <artifactId>jersey-client</artifactId>
69                 </exclusion>
70                 <exclusion>
71                     <groupId>org.glassfish.jersey.core</groupId>
72                     <artifactId>jersey-common</artifactId>
73                 </exclusion>
74                 <exclusion>
75                     <groupId>com.sun.jersey</groupId>
76                     <artifactId>jersey-core</artifactId>
77                 </exclusion>
78                 <exclusion>
79                     <groupId>org.glassfish.jersey.ext</groupId>
80                     <artifactId>jersey-entity-filtering</artifactId>
81                 </exclusion>
82                 <exclusion>
83                     <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
84                     <artifactId>jersey-guava</artifactId>
85                 </exclusion>
86                 <exclusion>
87                     <groupId>com.sun.jersey.contribs</groupId>
88                     <artifactId>jersey-guice</artifactId>
89                 </exclusion>
90                 <exclusion>
91                     <groupId>com.sun.jersey</groupId>
92                     <artifactId>jersey-json</artifactId>
93                 </exclusion>
94                 <exclusion>
95                     <groupId>org.glassfish.jersey.media</groupId>
96                     <artifactId>jersey-media-json-jackson</artifactId>
97                 </exclusion>
98                 <exclusion>
99                     <groupId>com.sun.jersey</groupId>
100                     <artifactId>jersey-server</artifactId>
101                 </exclusion>
102                 <exclusion>
103                     <groupId>commons-logging</groupId>
104                     <artifactId>commons-logging</artifactId>
105                 </exclusion>
106                 <exclusion>
107                     <groupId>org.mortbay.jetty</groupId>
108                     <artifactId>jetty-util</artifactId>
109                 </exclusion>
110                 <exclusion>
111                     <groupId>net.jpountz.lz4</groupId>
112                     <artifactId>lz4</artifactId>
113                 </exclusion>
114                 <exclusion>
115                     <groupId>org.onap.aai.event-client</groupId>
116                     <artifactId>event-client-api</artifactId>
117                 </exclusion>
118                 <exclusion>
119                     <groupId>org.onap.aai.event-client</groupId>
120                     <artifactId>event-client-dmaap</artifactId>
121                 </exclusion>
122                 <exclusion>
123                     <groupId>org.onap.aai.event-client</groupId>
124                     <artifactId>event-client-kafka</artifactId>
125                 </exclusion>
126                <exclusion> 
127                     <groupId>org.onap.aai.event-client</groupId>
128                     <artifactId>event-client-rabbitmq</artifactId>
129                 </exclusion>
130                 <exclusion>
131                     <groupId>org.apache.httpcomponents</groupId>
132                     <artifactId>httpclient</artifactId>
133                 </exclusion>
134                 <exclusion>
135                     <groupId>org.apache.httpcomponents</groupId>
136                     <artifactId>httpcore</artifactId>
137                 </exclusion>
138             </exclusions>
139         </dependency>
140
141         <dependency>
142             <groupId>org.janusgraph</groupId>
143             <artifactId>janusgraph-cassandra</artifactId>
144             <version>0.2.0</version>
145             <optional>true</optional>
146             <exclusions>
147                 <exclusion>
148                     <groupId>org.slf4j</groupId>
149                     <artifactId>slf4j-log4j12</artifactId>
150                 </exclusion>
151                 <exclusion>
152                     <groupId>ch.qos.logback</groupId>
153                     <artifactId>logback-classic</artifactId>
154                 </exclusion>
155                 <exclusion>
156                     <groupId>org.apache.tinkerpop</groupId>
157                     <artifactId>gremlin-core</artifactId>
158                 </exclusion>
159                 <exclusion>
160                     <groupId>org.apache.tinkerpop</groupId>
161                     <artifactId>gremlin-groovy</artifactId>
162                 </exclusion>
163                 <exclusion>
164                     <groupId>ch.qos.logback</groupId>
165                     <artifactId>logback-core</artifactId>
166                 </exclusion>
167                 <exclusion>
168                     <groupId>org.apache.httpcomponents</groupId>
169                     <artifactId>httpclient</artifactId>
170                 </exclusion>
171                 <exclusion>
172                     <groupId>org.apache.httpcomponents</groupId>
173                     <artifactId>httpcore</artifactId>
174                 </exclusion>
175                 <exclusion>
176                     <groupId>org.slf4j</groupId>
177                     <artifactId>slf4j-api</artifactId>
178                 </exclusion>
179                 <exclusion>
180                     <groupId>commons-logging</groupId>
181                     <artifactId>commons-logging</artifactId>
182                 </exclusion>
183                 <exclusion>
184                     <groupId>com.google.guava</groupId>
185                     <artifactId>guava</artifactId>
186                 </exclusion>
187                 <exclusion>
188                     <groupId>javax.validation</groupId>
189                     <artifactId>validation-api</artifactId>
190                 </exclusion>
191                 <exclusion>
192                     <groupId>xml-apis</groupId>
193                     <artifactId>xml-apis</artifactId>
194                 </exclusion>
195                 <exclusion>
196                     <groupId>org.hibernate</groupId>
197                     <artifactId>hibernate-validator</artifactId>
198                 </exclusion>
199                 <exclusion>
200                     <groupId>net.jpountz.lz4</groupId>
201                     <artifactId>lz4</artifactId>
202                 </exclusion>
203                 <exclusion>
204                     <groupId>dom4j</groupId>
205                     <artifactId>dom4j</artifactId>
206                 </exclusion>
207             </exclusions>
208         </dependency>
209         <dependency>
210             <groupId>org.janusgraph</groupId>
211             <artifactId>janusgraph-cql</artifactId>
212             <version>0.2.0</version>
213             <optional>true</optional>
214             <exclusions>
215                 <exclusion>
216                     <groupId>org.slf4j</groupId>
217                     <artifactId>slf4j-log4j12</artifactId>
218                 </exclusion>
219                 <exclusion>
220                     <groupId>ch.qos.logback</groupId>
221                     <artifactId>logback-classic</artifactId>
222                 </exclusion>
223                 <exclusion>
224                     <groupId>org.apache.tinkerpop</groupId>
225                     <artifactId>gremlin-core</artifactId>
226                 </exclusion>
227                 <exclusion>
228                     <groupId>org.apache.tinkerpop</groupId>
229                     <artifactId>gremlin-groovy</artifactId>
230                 </exclusion>
231                 <exclusion>
232                     <groupId>ch.qos.logback</groupId>
233                     <artifactId>logback-core</artifactId>
234                 </exclusion>
235                 <exclusion>
236                     <groupId>org.apache.httpcomponents</groupId>
237                     <artifactId>httpclient</artifactId>
238                 </exclusion>
239                 <exclusion>
240                     <groupId>org.apache.httpcomponents</groupId>
241                     <artifactId>httpcore</artifactId>
242                 </exclusion>
243                 <exclusion>
244                     <groupId>org.slf4j</groupId>
245                     <artifactId>slf4j-api</artifactId>
246                 </exclusion>
247                 <exclusion>
248                     <groupId>commons-logging</groupId>
249                     <artifactId>commons-logging</artifactId>
250                 </exclusion>
251                 <exclusion>
252                     <groupId>com.google.guava</groupId>
253                     <artifactId>guava</artifactId>
254                 </exclusion>
255                 <exclusion>
256                     <groupId>javax.validation</groupId>
257                     <artifactId>validation-api</artifactId>
258                 </exclusion>
259                 <exclusion>
260                     <groupId>xml-apis</groupId>
261                     <artifactId>xml-apis</artifactId>
262                 </exclusion>
263                 <exclusion>
264                     <groupId>org.hibernate</groupId>
265                     <artifactId>hibernate-validator</artifactId>
266                 </exclusion>
267                 <exclusion>
268                     <groupId>net.jpountz.lz4</groupId>
269                     <artifactId>lz4</artifactId>
270                 </exclusion>
271                 <exclusion>
272                     <groupId>dom4j</groupId>
273                     <artifactId>dom4j</artifactId>
274                 </exclusion>
275             </exclusions>
276         </dependency>
277
278         <dependency>
279             <groupId>org.janusgraph</groupId>
280             <artifactId>janusgraph-hbase</artifactId>
281             <version>0.2.0</version>
282             <optional>true</optional>
283             <exclusions>
284                 <exclusion>
285                     <groupId>org.apache.tinkerpop</groupId>
286                     <artifactId>gremlin-groovy</artifactId>
287                 </exclusion>
288                 <exclusion>
289                     <groupId>org.slf4j</groupId>
290                     <artifactId>slf4j-log4j12</artifactId>
291                 </exclusion>
292                 <exclusion>
293                     <groupId>ch.qos.logback</groupId>
294                     <artifactId>logback-classic</artifactId>
295                 </exclusion>
296                 <exclusion>
297                     <groupId>org.apache.tinkerpop</groupId>
298                     <artifactId>gremlin-core</artifactId>
299                 </exclusion>
300                 <exclusion>
301                     <groupId>org.slf4j</groupId>
302                     <artifactId>slf4j-api</artifactId>
303                 </exclusion>
304             </exclusions>
305         </dependency>
306     </dependencies>
307
308     <build>
309         <plugins>
310             <plugin>
311                 <groupId>org.apache.maven.plugins</groupId>
312                 <artifactId>maven-dependency-plugin</artifactId>
313                 <version>3.0.1</version>
314                 <executions>
315                     <execution>
316                         <id>copy-janus-dependencies</id>
317                         <phase>package</phase>
318                         <goals>
319                             <goal>copy-dependencies</goal>
320                         </goals>
321                         <configuration>
322                             <outputDirectory>target/graph-deps/janus-deps</outputDirectory>
323                             <overWriteReleases>false</overWriteReleases>
324                             <overWriteSnapshots>false</overWriteSnapshots>
325                             <overWriteIfNewer>true</overWriteIfNewer>
326                         </configuration>
327                     </execution>
328                 </executions>
329             </plugin>
330             <plugin>
331                 <groupId>org.apache.maven.plugins</groupId>
332                 <artifactId>maven-deploy-plugin</artifactId>
333                 <configuration>
334                     <skip>true</skip>
335                 </configuration>
336             </plugin>
337         </plugins>
338     </build>
339 </project>