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