1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2 <modelVersion>4.0.0</modelVersion>
4 <groupId>org.onap.oparent</groupId>
5 <artifactId>oparent</artifactId>
6 <version>1.0.0-SNAPSHOT</version>
9 <groupId>org.openecomp.aai</groupId>
10 <artifactId>champ</artifactId>
11 <version>1.1.0-SNAPSHOT</version>
13 <tinkerpop.version>3.0.1-incubating</tinkerpop.version>
14 <sitePath>/content/sites/site/org/onap/aai/${project.artifactId}/${project.version}</sitePath>
15 <sonar.language>java</sonar.language>
16 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
17 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
18 <sonar.jacoco.reportPath>${project.build.directory}/jacoco.exec</sonar.jacoco.reportPath>
19 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
20 <sonar.projectVersion>${project.version}</sonar.projectVersion>
22 <distributionManagement>
25 <url>dav:${onap.nexus.url}${sitePath}</url>
27 </distributionManagement>
30 <groupId>junit</groupId>
31 <artifactId>junit</artifactId>
32 <version>4.12</version>
36 <groupId>ch.qos.logback</groupId>
37 <artifactId>logback-classic</artifactId>
38 <version>1.2.1</version>
39 <optional>true</optional>
42 <groupId>org.apache.tinkerpop</groupId>
43 <artifactId>tinkergraph-gremlin</artifactId>
44 <version>${tinkerpop.version}</version>
47 <groupId>org.apache.tinkerpop</groupId>
48 <artifactId>gremlin-core</artifactId>
49 <version>${tinkerpop.version}</version>
52 <groupId>org.slf4j</groupId>
53 <artifactId>slf4j-log4j12</artifactId>
56 <groupId>org.slf4j</groupId>
57 <artifactId>jcl-over-slf4j</artifactId>
62 <groupId>com.thinkaurelius.titan</groupId>
63 <artifactId>titan-cassandra</artifactId>
64 <version>1.0.0</version>
65 <optional>true</optional>
68 <groupId>org.apache.tinkerpop</groupId>
69 <artifactId>gremlin-groovy</artifactId>
72 <groupId>org.slf4j</groupId>
73 <artifactId>slf4j-log4j12</artifactId>
76 <groupId>ch.qos.logback</groupId>
77 <artifactId>logback-classic</artifactId>
80 <groupId>org.apache.tinkerpop</groupId>
81 <artifactId>gremlin-core</artifactId>
86 <groupId>com.thinkaurelius.titan</groupId>
87 <artifactId>titan-hbase</artifactId>
88 <version>1.0.0</version>
89 <optional>true</optional>
92 <groupId>org.apache.tinkerpop</groupId>
93 <artifactId>gremlin-groovy</artifactId>
96 <groupId>org.slf4j</groupId>
97 <artifactId>slf4j-log4j12</artifactId>
100 <groupId>ch.qos.logback</groupId>
101 <artifactId>logback-classic</artifactId>
104 <groupId>org.apache.tinkerpop</groupId>
105 <artifactId>gremlin-core</artifactId>
110 <groupId>org.apache.hbase</groupId>
111 <artifactId>hbase-client</artifactId>
112 <version>0.98.4-hadoop2</version>
115 <groupId>org.slf4j</groupId>
116 <artifactId>slf4j-log4j12</artifactId>
119 <groupId>com.google.guava</groupId>
120 <artifactId>guava</artifactId>
125 <groupId>jdk.tools</groupId>
126 <artifactId>jdk.tools</artifactId>
127 <version>1.8</version>
128 <scope>system</scope>
129 <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
132 <groupId>org.jacoco</groupId>
133 <artifactId>org.jacoco.agent</artifactId>
134 <version>0.7.9</version>
135 <classifier>runtime</classifier>
139 <!-- Event Bus Client. -->
141 <groupId>com.att.nsa</groupId>
142 <artifactId>cambriaClient</artifactId>
143 <version>0.0.1</version>
147 <groupId>org.apache.httpcomponents</groupId>
148 <artifactId>httpclient</artifactId>
149 <version>4.5</version>
156 <groupId>org.codehaus.mojo</groupId>
157 <artifactId>sonar-maven-plugin</artifactId>
158 <version>3.2</version>
161 <groupId>org.jacoco</groupId>
162 <artifactId>jacoco-maven-plugin</artifactId>
163 <version>0.7.9</version>
166 <!-- These three need to be included again at some point -->
167 <exclude>**/AbstractGremlinChampGraph*</exclude>
168 <exclude>**/DseChampGraphImpl*</exclude>
169 <exclude>**/DseChampformer*</exclude>
170 <!-- Permanently excluded, not worth testing -->
171 <exclude>**/ChampAPIPerformanceTest*</exclude>
176 <id>default-prepare-agent</id>
178 <goal>prepare-agent</goal>
182 <id>default-report</id>
183 <phase>prepare-package</phase>
189 <id>default-check</id>
195 <!-- implementation is needed only for Maven 2 -->
196 <rule implementation="org.jacoco.maven.RuleConfiguration">
197 <element>BUNDLE</element>
199 <!-- implementation is needed only for Maven 2 -->
200 <limit implementation="org.jacoco.report.check.Limit">
201 <counter>INSTRUCTION</counter>
202 <value>COVEREDRATIO</value>
203 <minimum>.75</minimum>
205 <limit implementation="org.jacoco.report.check.Limit">
206 <counter>BRANCH</counter>
207 <value>COVEREDRATIO</value>
208 <minimum>.74</minimum>
210 <limit implementation="org.jacoco.report.check.Limit">
211 <counter>COMPLEXITY</counter>
212 <value>COVEREDRATIO</value>
213 <minimum>.75</minimum>
215 <limit implementation="org.jacoco.report.check.Limit">
216 <counter>LINE</counter>
217 <value>COVEREDRATIO</value>
218 <minimum>.80</minimum>
220 <limit implementation="org.jacoco.report.check.Limit">
221 <counter>METHOD</counter>
222 <value>COVEREDRATIO</value>
223 <minimum>.90</minimum>
225 <limit implementation="org.jacoco.report.check.Limit">
226 <counter>CLASS</counter>
227 <value>MISSEDCOUNT</value>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-assembly-plugin</artifactId>
240 <version>3.0.0</version>
243 <descriptorRef>jar-with-dependencies</descriptorRef>
248 <id>make-jar-with-dependencies</id>
249 <phase>package</phase>
257 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>maven-compiler-plugin</artifactId>
259 <version>3.6.1</version>
266 <artifactId>maven-release-plugin</artifactId>
267 <version>2.4.2</version>
270 <groupId>org.apache.maven.scm</groupId>
271 <artifactId>maven-scm-provider-gitexe</artifactId>
272 <version>1.8.1</version>
277 <groupId>org.apache.maven.plugins</groupId>
278 <artifactId>maven-source-plugin</artifactId>
279 <version>3.0.1</version>
282 <id>attach-sources</id>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-javadoc-plugin</artifactId>
292 <version>2.9.1</version>
295 <id>attach-javadocs</id>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-surefire-plugin</artifactId>
306 <systemPropertyVariables>
307 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
308 </systemPropertyVariables>
312 <groupId>org.apache.maven.plugins</groupId>
313 <artifactId>maven-deploy-plugin</artifactId>
314 <version>2.8.2</version>
317 <id>default-deploy</id>
323 <groupId>org.sonatype.plugins</groupId>
324 <artifactId>nexus-staging-maven-plugin</artifactId>
325 <version>1.6.7</version>
326 <extensions>true</extensions>
328 <nexusUrl>${onap.nexus.url}</nexusUrl>
329 <stagingProfileId>176c31dfe190a</stagingProfileId>
330 <serverId>ecomp-staging</serverId>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-site-plugin</artifactId>
336 <version>3.6</version>
339 <groupId>org.apache.maven.wagon</groupId>
340 <artifactId>wagon-webdav-jackrabbit</artifactId>
341 <version>2.10</version>
346 <groupId>com.mycila</groupId>
347 <artifactId>license-maven-plugin</artifactId>
348 <version>3.0</version>
350 <header>License.txt</header>
352 <include>**/*.java</include>
353 <include>**/*.ksh</include>
354 <include>**/*.sh</include>
355 <include>**/*.ftl</include>
356 <include>**/*.xsd</include>
357 <include>**/*.xjb</include>
358 <include>**/*.yml</include>
359 <include>**/*.yaml</include>
360 <include>**/aai*.xml</include>
361 <include>**/*logback*.xml</include>
362 <include>**/*aaiconfig*.properties</include>
363 <include>**/*titan*.properties</include>
371 <phase>process-sources</phase>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-javadoc-plugin</artifactId>
382 <version>2.10.4</version>
384 <failOnError>false</failOnError>
385 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
387 <groupId>org.umlgraph</groupId>
388 <artifactId>umlgraph</artifactId>
389 <version>5.6</version>
391 <additionalparam>-views</additionalparam>
392 <useStandardDocletOptions>true</useStandardDocletOptions>