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