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