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