1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.onap.aai</groupId>
6 <artifactId>champ-lib</artifactId>
7 <packaging>pom</packaging>
8 <version>1.2.0-SNAPSHOT</version>
11 <module>champ-core</module>
12 <module>champ-titan</module>
13 <module>champ-janus</module>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18 <event.client.version>1.2.0</event.client.version>
20 <!--<absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>-->
22 <!--<!– For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot>-->
23 <!--property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT"-->
24 <!--version, THIS will be used as your directory structure. If you do NOT want-->
25 <!--this, simply remove the "-SNAPSHOT" from your <version> declaration at the-->
26 <!--top of pom.xml –>-->
27 <!--<distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot>-->
30 <dependencyManagement>
33 <groupId>org.onap.aai.event-client</groupId>
34 <artifactId>event-client-api</artifactId>
35 <version>${event.client.version}</version>
38 <groupId>org.onap.aai.event-client</groupId>
39 <artifactId>event-client-dmaap</artifactId>
40 <version>${event.client.version}</version>
43 <groupId>org.onap.aai.event-client</groupId>
44 <artifactId>event-client-kafka</artifactId>
45 <version>${event.client.version}</version>
48 </dependencyManagement>
52 <groupId>junit</groupId>
53 <artifactId>junit</artifactId>
54 <version>4.12</version>
58 <groupId>ch.qos.logback</groupId>
59 <artifactId>logback-classic</artifactId>
60 <version>1.2.1</version>
61 <optional>true</optional>
64 <groupId>org.apache.hbase</groupId>
65 <artifactId>hbase-client</artifactId>
66 <version>0.98.4-hadoop2</version>
69 <groupId>org.slf4j</groupId>
70 <artifactId>slf4j-log4j12</artifactId>
73 <groupId>com.google.guava</groupId>
74 <artifactId>guava</artifactId>
79 <groupId>jdk.tools</groupId>
80 <artifactId>jdk.tools</artifactId>
81 <version>1.8</version>
83 <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
86 <groupId>org.jacoco</groupId>
87 <artifactId>org.jacoco.agent</artifactId>
88 <version>0.7.9</version>
89 <classifier>runtime</classifier>
97 <groupId>org.jacoco</groupId>
98 <artifactId>jacoco-maven-plugin</artifactId>
99 <version>0.7.9</version>
102 <!-- These three need to be included again at some point -->
103 <exclude>**/AbstractGremlinChampGraph*</exclude>
104 <exclude>**/DseChampGraphImpl*</exclude>
105 <exclude>**/DseChampformer*</exclude>
106 <!-- Permanently excluded, not worth testing -->
107 <exclude>**/ChampAPIPerformanceTest*</exclude>
112 <id>default-prepare-agent</id>
114 <goal>prepare-agent</goal>
118 <id>default-report</id>
119 <phase>prepare-package</phase>
125 <id>default-check</id>
131 <!-- implementation is needed only for Maven 2 -->
132 <rule implementation="org.jacoco.maven.RuleConfiguration">
133 <element>BUNDLE</element>
135 <!-- implementation is needed only for Maven 2 -->
136 <limit implementation="org.jacoco.report.check.Limit">
137 <counter>INSTRUCTION</counter>
138 <value>COVEREDRATIO</value>
139 <minimum>.15</minimum>
141 <limit implementation="org.jacoco.report.check.Limit">
142 <counter>BRANCH</counter>
143 <value>COVEREDRATIO</value>
144 <minimum>.12</minimum>
146 <limit implementation="org.jacoco.report.check.Limit">
147 <counter>COMPLEXITY</counter>
148 <value>COVEREDRATIO</value>
149 <minimum>.15</minimum>
151 <limit implementation="org.jacoco.report.check.Limit">
152 <counter>LINE</counter>
153 <value>COVEREDRATIO</value>
154 <minimum>.10</minimum>
156 <limit implementation="org.jacoco.report.check.Limit">
157 <counter>METHOD</counter>
158 <value>COVEREDRATIO</value>
159 <minimum>.17</minimum>
161 <limit implementation="org.jacoco.report.check.Limit">
162 <counter>CLASS</counter>
163 <value>MISSEDCOUNT</value>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-assembly-plugin</artifactId>
176 <version>3.0.0</version>
179 <descriptorRef>jar-with-dependencies</descriptorRef>
184 <id>make-jar-with-dependencies</id>
185 <phase>package</phase>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-compiler-plugin</artifactId>
195 <version>3.6.1</version>
202 <artifactId>maven-release-plugin</artifactId>
203 <version>2.4.2</version>
206 <groupId>org.apache.maven.scm</groupId>
207 <artifactId>maven-scm-provider-gitexe</artifactId>
208 <version>1.8.1</version>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-source-plugin</artifactId>
215 <version>3.0.1</version>
218 <id>attach-sources</id>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-javadoc-plugin</artifactId>
228 <version>2.9.1</version>
231 <id>attach-javadocs</id>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-surefire-plugin</artifactId>
241 <version>2.12.2</version>
243 <systemPropertyVariables>
244 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
245 </systemPropertyVariables>
249 <groupId>com.mycila</groupId>
250 <artifactId>license-maven-plugin</artifactId>
251 <version>3.0</version>
253 <header>License.txt</header>
255 <include>**/*.java</include>
256 <include>**/*.ksh</include>
257 <include>**/*.sh</include>
258 <include>**/*.ftl</include>
259 <include>**/*.xsd</include>
260 <include>**/*.xjb</include>
261 <include>**/*.yml</include>
262 <include>**/*.yaml</include>
263 <include>**/aai*.xml</include>
264 <include>**/*logback*.xml</include>
265 <include>**/*aaiconfig*.properties</include>
266 <include>**/*titan*.properties</include>
274 <phase>process-sources</phase>