[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.0-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>org.onap.aai.champ.champ-lib</groupId>
38             <artifactId>champ-janus</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>ch.qos.logback</groupId>
47                     <artifactId>logback-core</artifactId>
48                 </exclusion>
49                 <exclusion>
50                     <groupId>org.slf4j</groupId>
51                     <artifactId>slf4j-api</artifactId>
52                 </exclusion>
53                 <exclusion>
54                     <groupId>log4j</groupId>
55                     <artifactId>log4j</artifactId>
56                 </exclusion>
57                 <exclusion>
58                     <groupId>org.onap.aai.logging-service</groupId>
59                     <artifactId>logging-api</artifactId>
60                 </exclusion>
61                 <exclusion>
62                     <groupId>org.glassfish.jersey.core</groupId>
63                     <artifactId>jersey-client</artifactId>
64                 </exclusion>
65                 <exclusion>
66                     <groupId>org.glassfish.jersey.core</groupId>
67                     <artifactId>jersey-common</artifactId>
68                 </exclusion>
69                 <exclusion>
70                     <groupId>com.sun.jersey</groupId>
71                     <artifactId>jersey-core</artifactId>
72                 </exclusion>
73                 <exclusion>
74                     <groupId>org.glassfish.jersey.ext</groupId>
75                     <artifactId>jersey-entity-filtering</artifactId>
76                 </exclusion>
77                 <exclusion>
78                     <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
79                     <artifactId>jersey-guava</artifactId>
80                 </exclusion>
81                 <exclusion>
82                     <groupId>com.sun.jersey.contribs</groupId>
83                     <artifactId>jersey-guice</artifactId>
84                 </exclusion>
85                 <exclusion>
86                     <groupId>com.sun.jersey</groupId>
87                     <artifactId>jersey-json</artifactId>
88                 </exclusion>
89                 <exclusion>
90                     <groupId>org.glassfish.jersey.media</groupId>
91                     <artifactId>jersey-media-json-jackson</artifactId>
92                 </exclusion>
93                 <exclusion>
94                     <groupId>com.sun.jersey</groupId>
95                     <artifactId>jersey-server</artifactId>
96                 </exclusion>
97                 <exclusion>
98                     <groupId>commons-logging</groupId>
99                     <artifactId>commons-logging</artifactId>
100                 </exclusion>
101                 <exclusion>
102                     <groupId>org.mortbay.jetty</groupId>
103                     <artifactId>jetty-util</artifactId>
104                 </exclusion>
105                 <exclusion>
106                     <groupId>net.jpountz.lz4</groupId>
107                     <artifactId>lz4</artifactId>
108                 </exclusion>
109                 <exclusion>
110                     <groupId>org.onap.aai.event-client</groupId>
111                     <artifactId>event-client-api</artifactId>
112                 </exclusion>
113                 <exclusion>
114                     <groupId>org.onap.aai.event-client</groupId>
115                     <artifactId>event-client-dmaap</artifactId>
116                 </exclusion>
117                 <exclusion>
118                     <groupId>org.onap.aai.event-client</groupId>
119                     <artifactId>event-client-kafka</artifactId>
120                 </exclusion>
121                <exclusion> 
122                     <groupId>org.onap.aai.event-client</groupId>
123                     <artifactId>event-client-rabbitmq</artifactId>
124                 </exclusion>
125                 <exclusion>
126                     <groupId>org.apache.httpcomponents</groupId>
127                     <artifactId>httpclient</artifactId>
128                 </exclusion>
129                 <exclusion>
130                     <groupId>org.apache.httpcomponents</groupId>
131                     <artifactId>httpcore</artifactId>
132                 </exclusion>
133             </exclusions>
134         </dependency>
135
136         <dependency>
137             <groupId>org.janusgraph</groupId>
138             <artifactId>janusgraph-cassandra</artifactId>
139             <version>0.2.0</version>
140             <optional>true</optional>
141             <exclusions>
142                 <exclusion>
143                     <groupId>org.slf4j</groupId>
144                     <artifactId>slf4j-log4j12</artifactId>
145                 </exclusion>
146                 <exclusion>
147                     <groupId>ch.qos.logback</groupId>
148                     <artifactId>logback-classic</artifactId>
149                 </exclusion>
150                 <exclusion>
151                     <groupId>org.apache.tinkerpop</groupId>
152                     <artifactId>gremlin-core</artifactId>
153                 </exclusion>
154                 <exclusion>
155                     <groupId>org.apache.tinkerpop</groupId>
156                     <artifactId>gremlin-groovy</artifactId>
157                 </exclusion>
158                 <exclusion>
159                     <groupId>ch.qos.logback</groupId>
160                     <artifactId>logback-core</artifactId>
161                 </exclusion>
162                 <exclusion>
163                     <groupId>org.apache.httpcomponents</groupId>
164                     <artifactId>httpclient</artifactId>
165                 </exclusion>
166                 <exclusion>
167                     <groupId>org.apache.httpcomponents</groupId>
168                     <artifactId>httpcore</artifactId>
169                 </exclusion>
170                 <exclusion>
171                     <groupId>org.slf4j</groupId>
172                     <artifactId>slf4j-api</artifactId>
173                 </exclusion>
174                 <exclusion>
175                     <groupId>commons-logging</groupId>
176                     <artifactId>commons-logging</artifactId>
177                 </exclusion>
178                 <exclusion>
179                     <groupId>com.google.guava</groupId>
180                     <artifactId>guava</artifactId>
181                 </exclusion>
182                 <exclusion>
183                     <groupId>javax.validation</groupId>
184                     <artifactId>validation-api</artifactId>
185                 </exclusion>
186                 <exclusion>
187                     <groupId>xml-apis</groupId>
188                     <artifactId>xml-apis</artifactId>
189                 </exclusion>
190                 <exclusion>
191                     <groupId>org.hibernate</groupId>
192                     <artifactId>hibernate-validator</artifactId>
193                 </exclusion>
194                 <exclusion>
195                     <groupId>net.jpountz.lz4</groupId>
196                     <artifactId>lz4</artifactId>
197                 </exclusion>
198                 <exclusion>
199                     <groupId>dom4j</groupId>
200                     <artifactId>dom4j</artifactId>
201                 </exclusion>
202             </exclusions>
203         </dependency>
204
205         <dependency>
206             <groupId>org.janusgraph</groupId>
207             <artifactId>janusgraph-hbase</artifactId>
208             <version>0.2.0</version>
209             <optional>true</optional>
210             <exclusions>
211                 <exclusion>
212                     <groupId>org.apache.tinkerpop</groupId>
213                     <artifactId>gremlin-groovy</artifactId>
214                 </exclusion>
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.slf4j</groupId>
229                     <artifactId>slf4j-api</artifactId>
230                 </exclusion>
231             </exclusions>
232         </dependency>
233     </dependencies>
234
235     <build>
236         <plugins>
237             <plugin>
238                 <groupId>org.apache.maven.plugins</groupId>
239                 <artifactId>maven-dependency-plugin</artifactId>
240                 <version>3.0.1</version>
241                 <executions>
242                     <execution>
243                         <id>copy-janus-dependencies</id>
244                         <phase>package</phase>
245                         <goals>
246                             <goal>copy-dependencies</goal>
247                         </goals>
248                         <configuration>
249                             <outputDirectory>target/graph-deps/janus-deps</outputDirectory>
250                             <overWriteReleases>false</overWriteReleases>
251                             <overWriteSnapshots>false</overWriteSnapshots>
252                             <overWriteIfNewer>true</overWriteIfNewer>
253                         </configuration>
254                     </execution>
255                 </executions>
256             </plugin>
257             <plugin>
258                 <groupId>org.apache.maven.plugins</groupId>
259                 <artifactId>maven-deploy-plugin</artifactId>
260                 <configuration>
261                     <skip>true</skip>
262                 </configuration>
263             </plugin>
264         </plugins>
265     </build>
266 </project>