Fix NexusIQ security vunerabilities
[aai/champ.git] / champ-lib / champ-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"
22          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25
26     <parent>
27         <groupId>org.onap.aai.champ</groupId>
28         <artifactId>champ-lib</artifactId>
29         <version>1.3.0-SNAPSHOT</version>
30     </parent>
31
32     <groupId>org.onap.aai.champ.champ-lib</groupId>
33     <artifactId>champ-titan</artifactId>
34
35     <properties>
36         <tinkerpop.version>3.0.1-incubating</tinkerpop.version>
37     </properties>
38
39     <dependencies>
40         <dependency>
41             <groupId>org.apache.tinkerpop</groupId>
42             <artifactId>tinkergraph-gremlin</artifactId>
43             <version>${tinkerpop.version}</version>
44         </dependency>
45
46         <dependency>
47             <groupId>org.onap.aai.champ.champ-lib</groupId>
48             <artifactId>champ-core</artifactId>
49             <version>${project.version}</version>
50         </dependency>
51
52         <dependency>
53             <groupId>org.onap.aai.champ.champ-lib</groupId>
54             <artifactId>champ-core</artifactId>
55             <version>${project.version}</version>
56             <type>test-jar</type>
57             <scope>test</scope>
58         </dependency>
59
60         <dependency>
61             <groupId>com.thinkaurelius.titan</groupId>
62             <artifactId>titan-cassandra</artifactId>
63             <version>1.0.0</version>
64             <optional>true</optional>
65             <exclusions>
66                 <exclusion>
67                     <groupId>org.apache.tinkerpop</groupId>
68                     <artifactId>gremlin-groovy</artifactId>
69                 </exclusion>
70                 <exclusion>
71                     <groupId>org.slf4j</groupId>
72                     <artifactId>slf4j-log4j12</artifactId>
73                 </exclusion>
74                 <exclusion>
75                     <groupId>ch.qos.logback</groupId>
76                     <artifactId>logback-classic</artifactId>
77                 </exclusion>
78                 <exclusion>
79                     <groupId>org.apache.tinkerpop</groupId>
80                     <artifactId>gremlin-core</artifactId>
81                 </exclusion>
82                 <exclusion>
83                     <groupId>org.apache.httpcomponents</groupId>
84                     <artifactId>httpclient</artifactId>
85                 </exclusion>
86                 <exclusion>
87                     <groupId>org.codehaus.jackson</groupId>
88                     <artifactId>jackson-mapper-asl</artifactId>
89                 </exclusion>
90                 <exclusion>
91                     <groupId>org.mindrot</groupId>
92                     <artifactId>jbcrypt</artifactId>
93                 </exclusion>
94                 <exclusion>
95                     <groupId>dom4j</groupId>
96                     <artifactId>dom4j</artifactId>
97                 </exclusion>
98             </exclusions>
99         </dependency>
100
101         <dependency>
102             <groupId>com.thinkaurelius.titan</groupId>
103             <artifactId>titan-hbase</artifactId>
104             <version>1.0.0</version>
105             <optional>true</optional>
106             <exclusions>
107                 <exclusion>
108                     <groupId>org.apache.tinkerpop</groupId>
109                     <artifactId>gremlin-groovy</artifactId>
110                 </exclusion>
111                 <exclusion>
112                     <groupId>org.slf4j</groupId>
113                     <artifactId>slf4j-log4j12</artifactId>
114                 </exclusion>
115                 <exclusion>
116                     <groupId>ch.qos.logback</groupId>
117                     <artifactId>logback-classic</artifactId>
118                 </exclusion>
119                 <exclusion>
120                     <groupId>org.apache.tinkerpop</groupId>
121                     <artifactId>gremlin-core</artifactId>
122                 </exclusion>
123             </exclusions>
124         </dependency>
125     </dependencies>
126
127     <build>
128         <plugins>
129             <plugin>
130                 <groupId>org.jacoco</groupId>
131                 <artifactId>jacoco-maven-plugin</artifactId>
132                 <version>0.7.9</version>
133                 <executions>
134                     <execution>
135                         <id>default-prepare-agent</id>
136                         <goals>
137                             <goal>prepare-agent</goal>
138                         </goals>
139                     </execution>
140                     <execution>
141                         <id>default-report</id>
142                         <phase>prepare-package</phase>
143                         <goals>
144                             <goal>report</goal>
145                         </goals>
146                     </execution>
147                     <execution>
148                         <id>default-check</id>
149                         <goals>
150                             <goal>check</goal>
151                         </goals>
152                         <configuration>
153                             <rules>
154                                 <!--  implementation is needed only for Maven 2  -->
155                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
156                                     <element>BUNDLE</element>
157                                     <limits>
158                                         <!--  implementation is needed only for Maven 2  -->
159                                         <limit implementation="org.jacoco.report.check.Limit">
160                                             <counter>INSTRUCTION</counter>
161                                             <value>COVEREDRATIO</value>
162                                             <minimum>.15</minimum>
163                                         </limit>
164                                         <limit implementation="org.jacoco.report.check.Limit">
165                                             <counter>BRANCH</counter>
166                                             <value>COVEREDRATIO</value>
167                                             <minimum>.14</minimum>
168                                         </limit>
169                                         <limit implementation="org.jacoco.report.check.Limit">
170                                             <counter>COMPLEXITY</counter>
171                                             <value>COVEREDRATIO</value>
172                                             <minimum>.15</minimum>
173                                         </limit>
174                                         <limit implementation="org.jacoco.report.check.Limit">
175                                             <counter>LINE</counter>
176                                             <value>COVEREDRATIO</value>
177                                             <minimum>.18</minimum>
178                                         </limit>
179                                         <limit implementation="org.jacoco.report.check.Limit">
180                                             <counter>METHOD</counter>
181                                             <value>COVEREDRATIO</value>
182                                             <minimum>.10</minimum>
183                                         </limit>
184                                         <limit implementation="org.jacoco.report.check.Limit">
185                                             <counter>CLASS</counter>
186                                             <value>MISSEDCOUNT</value>
187                                             <maximum>2</maximum>
188                                         </limit>
189                                     </limits>
190                                 </rule>
191                             </rules>
192                         </configuration>
193                     </execution>
194                 </executions>
195             </plugin>
196             <plugin>
197                 <groupId>org.apache.maven.plugins</groupId>
198                 <artifactId>maven-deploy-plugin</artifactId>
199                 <configuration>
200                     <skip>true</skip>
201                 </configuration>
202             </plugin>
203             <plugin>
204                 <groupId>com.mycila</groupId>
205                 <artifactId>license-maven-plugin</artifactId>
206                 <version>3.0</version>
207                 <configuration>
208                     <header>License.txt</header>
209                     <includes>
210                         <include>**/*.java</include>
211                         <include>**/*.ksh</include>
212                         <include>**/*.sh</include>
213                         <include>**/*.ftl</include>
214                         <include>**/*.xsd</include>
215                         <include>**/*.xjb</include>
216                         <include>**/*.yml</include>
217                         <include>**/*.yaml</include>
218                         <include>**/aai*.xml</include>
219                         <include>**/*logback*.xml</include>
220                         <include>**/*aaiconfig*.properties</include>
221                         <include>**/*titan*.properties</include>
222                     </includes>
223                     <skipExistingHeaders>true</skipExistingHeaders>
224                 </configuration>
225                 <executions>
226                     <execution>
227                         <goals>
228                             <!-- Set goal to "format" to auto update license headers -->
229                             <goal>check</goal>
230                         </goals>
231                         <phase>process-sources</phase>
232                     </execution>
233                 </executions>
234             </plugin>
235         </plugins>
236     </build>
237 </project>