1a6f7d6a9b864495d9633b9aa2d534d55033d38c
[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</groupId>
29         <artifactId>champ-lib</artifactId>
30         <version>1.2.1-SNAPSHOT</version>
31     </parent>
32
33     <artifactId>champ-janus</artifactId>
34
35     <properties>
36         <tinkerpop.version>3.2.3</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</groupId>
48             <artifactId>champ-core</artifactId>
49             <version>1.2.1-SNAPSHOT</version>
50         </dependency>
51
52         <dependency>
53             <groupId>org.onap.aai</groupId>
54             <artifactId>champ-core</artifactId>
55             <version>1.2.1-SNAPSHOT</version>
56             <type>test-jar</type>
57             <scope>test</scope>
58         </dependency>
59
60         <dependency>
61             <groupId>org.janusgraph</groupId>
62             <artifactId>janusgraph-cassandra</artifactId>
63             <version>0.2.0</version>
64             <optional>true</optional>
65             <exclusions>
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                 <exclusion>
79                     <groupId>org.apache.tinkerpop</groupId>
80                     <artifactId>gremlin-groovy</artifactId>
81                 </exclusion>
82             </exclusions>
83         </dependency>
84
85         <dependency>
86             <groupId>org.janusgraph</groupId>
87             <artifactId>janusgraph-hbase</artifactId>
88             <version>0.2.0</version>
89             <optional>true</optional>
90             <exclusions>
91                 <exclusion>
92                     <groupId>org.apache.tinkerpop</groupId>
93                     <artifactId>gremlin-groovy</artifactId>
94                 </exclusion>
95                 <exclusion>
96                     <groupId>org.slf4j</groupId>
97                     <artifactId>slf4j-log4j12</artifactId>
98                 </exclusion>
99                 <exclusion>
100                     <groupId>org.apache.tinkerpop</groupId>
101                     <artifactId>gremlin-core</artifactId>
102                 </exclusion>
103             </exclusions>
104         </dependency>
105     </dependencies>
106
107     <build>
108         <plugins>
109             <plugin>
110                 <groupId>org.jacoco</groupId>
111                 <artifactId>jacoco-maven-plugin</artifactId>
112                 <version>0.7.9</version>
113                 <executions>
114                     <execution>
115                         <id>default-prepare-agent</id>
116                         <goals>
117                             <goal>prepare-agent</goal>
118                         </goals>
119                     </execution>
120                     <execution>
121                         <id>default-report</id>
122                         <phase>prepare-package</phase>
123                         <goals>
124                             <goal>report</goal>
125                         </goals>
126                     </execution>
127                     <execution>
128                         <id>default-check</id>
129                         <goals>
130                             <goal>check</goal>
131                         </goals>
132                         <configuration>
133                             <rules>
134                                 <!--  implementation is needed only for Maven 2  -->
135                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
136                                     <element>BUNDLE</element>
137                                     <limits>
138                                         <!--  implementation is needed only for Maven 2  -->
139                                         <limit implementation="org.jacoco.report.check.Limit">
140                                             <counter>INSTRUCTION</counter>
141                                             <value>COVEREDRATIO</value>
142                                             <minimum>.15</minimum>
143                                         </limit>
144                                         <limit implementation="org.jacoco.report.check.Limit">
145                                             <counter>BRANCH</counter>
146                                             <value>COVEREDRATIO</value>
147                                             <minimum>.14</minimum>
148                                         </limit>
149                                         <limit implementation="org.jacoco.report.check.Limit">
150                                             <counter>COMPLEXITY</counter>
151                                             <value>COVEREDRATIO</value>
152                                             <minimum>.15</minimum>
153                                         </limit>
154                                         <limit implementation="org.jacoco.report.check.Limit">
155                                             <counter>LINE</counter>
156                                             <value>COVEREDRATIO</value>
157                                             <minimum>.18</minimum>
158                                         </limit>
159                                         <limit implementation="org.jacoco.report.check.Limit">
160                                             <counter>METHOD</counter>
161                                             <value>COVEREDRATIO</value>
162                                             <minimum>.10</minimum>
163                                         </limit>
164                                         <limit implementation="org.jacoco.report.check.Limit">
165                                             <counter>CLASS</counter>
166                                             <value>MISSEDCOUNT</value>
167                                             <maximum>2</maximum>
168                                         </limit>
169                                     </limits>
170                                 </rule>
171                             </rules>
172                         </configuration>
173                     </execution>
174                 </executions>
175             </plugin>
176             <plugin>
177                 <groupId>org.apache.maven.plugins</groupId>
178                 <artifactId>maven-deploy-plugin</artifactId>
179                 <configuration>
180                     <skip>true</skip>
181                 </configuration>
182             </plugin>
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                     <skipExistingHeaders>true</skipExistingHeaders>
204                 </configuration>
205                 <executions>
206                     <execution>
207                         <goals>
208                             <!-- Set goal to "format" to auto update license headers -->
209                             <goal>check</goal>
210                         </goals>
211                         <phase>process-sources</phase>
212                     </execution>
213                 </executions>
214             </plugin>
215         </plugins>
216     </build>
217 </project>