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