2 ============LICENSE_START=======================================================
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
12 http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.onap.aai</groupId>
26 <artifactId>champ-lib</artifactId>
27 <packaging>pom</packaging>
28 <version>1.2.0-SNAPSHOT</version>
31 <groupId>org.onap.aai</groupId>
32 <artifactId>champ</artifactId>
33 <version>1.2.0-SNAPSHOT</version>
37 <module>champ-core</module>
38 <module>champ-titan</module>
39 <module>champ-janus</module>
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44 <event.client.version>1.2.1</event.client.version>
46 <!--<absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot>-->
48 <!--<!– For NO Versioning, REMOVE the /${project.version} from the <distFilesRoot>-->
49 <!--property, below. PLEASE, NOTE: If your ${project.version} is a "-SNAPSHOT"-->
50 <!--version, THIS will be used as your directory structure. If you do NOT want-->
51 <!--this, simply remove the "-SNAPSHOT" from your <version> declaration at the-->
52 <!--top of pom.xml –>-->
53 <!--<distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot>-->
56 <dependencyManagement>
59 <groupId>org.onap.aai.event-client</groupId>
60 <artifactId>event-client-api</artifactId>
61 <version>${event.client.version}</version>
64 <groupId>org.onap.aai.event-client</groupId>
65 <artifactId>event-client-dmaap</artifactId>
66 <version>${event.client.version}</version>
69 <groupId>org.onap.aai.event-client</groupId>
70 <artifactId>event-client-kafka</artifactId>
71 <version>${event.client.version}</version>
74 </dependencyManagement>
78 <groupId>junit</groupId>
79 <artifactId>junit</artifactId>
80 <version>4.12</version>
84 <groupId>ch.qos.logback</groupId>
85 <artifactId>logback-classic</artifactId>
86 <version>1.2.1</version>
87 <optional>true</optional>
90 <groupId>org.apache.hbase</groupId>
91 <artifactId>hbase-client</artifactId>
92 <version>0.98.4-hadoop2</version>
95 <groupId>org.slf4j</groupId>
96 <artifactId>slf4j-log4j12</artifactId>
99 <groupId>com.google.guava</groupId>
100 <artifactId>guava</artifactId>
105 <groupId>jdk.tools</groupId>
106 <artifactId>jdk.tools</artifactId>
107 <version>1.8</version>
108 <scope>system</scope>
109 <systemPath>${java.home}/../lib/tools.jar</systemPath>
112 <groupId>org.jacoco</groupId>
113 <artifactId>org.jacoco.agent</artifactId>
114 <version>0.7.9</version>
115 <classifier>runtime</classifier>
123 <groupId>org.jacoco</groupId>
124 <artifactId>jacoco-maven-plugin</artifactId>
125 <version>0.7.9</version>
128 <!-- These three need to be included again at some point -->
129 <exclude>**/AbstractGremlinChampGraph*</exclude>
130 <exclude>**/DseChampGraphImpl*</exclude>
131 <exclude>**/DseChampformer*</exclude>
132 <!-- Permanently excluded, not worth testing -->
133 <exclude>**/ChampAPIPerformanceTest*</exclude>
138 <id>default-prepare-agent</id>
140 <goal>prepare-agent</goal>
144 <id>default-report</id>
145 <phase>prepare-package</phase>
151 <id>default-check</id>
157 <!-- implementation is needed only for Maven 2 -->
158 <rule implementation="org.jacoco.maven.RuleConfiguration">
159 <element>BUNDLE</element>
161 <!-- implementation is needed only for Maven 2 -->
162 <limit implementation="org.jacoco.report.check.Limit">
163 <counter>INSTRUCTION</counter>
164 <value>COVEREDRATIO</value>
165 <minimum>.15</minimum>
167 <limit implementation="org.jacoco.report.check.Limit">
168 <counter>BRANCH</counter>
169 <value>COVEREDRATIO</value>
170 <minimum>.12</minimum>
172 <limit implementation="org.jacoco.report.check.Limit">
173 <counter>COMPLEXITY</counter>
174 <value>COVEREDRATIO</value>
175 <minimum>.15</minimum>
177 <limit implementation="org.jacoco.report.check.Limit">
178 <counter>LINE</counter>
179 <value>COVEREDRATIO</value>
180 <minimum>.10</minimum>
182 <limit implementation="org.jacoco.report.check.Limit">
183 <counter>METHOD</counter>
184 <value>COVEREDRATIO</value>
185 <minimum>.17</minimum>
187 <limit implementation="org.jacoco.report.check.Limit">
188 <counter>CLASS</counter>
189 <value>MISSEDCOUNT</value>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-assembly-plugin</artifactId>
202 <version>3.0.0</version>
205 <descriptorRef>jar-with-dependencies</descriptorRef>
210 <id>make-jar-with-dependencies</id>
211 <phase>package</phase>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-compiler-plugin</artifactId>
221 <version>3.6.1</version>
228 <artifactId>maven-release-plugin</artifactId>
229 <version>2.4.2</version>
232 <groupId>org.apache.maven.scm</groupId>
233 <artifactId>maven-scm-provider-gitexe</artifactId>
234 <version>1.8.1</version>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-source-plugin</artifactId>
241 <version>3.0.1</version>
244 <id>attach-sources</id>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-javadoc-plugin</artifactId>
254 <version>2.9.1</version>
257 <id>attach-javadocs</id>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-surefire-plugin</artifactId>
267 <version>2.12.2</version>
269 <systemPropertyVariables>
270 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
271 </systemPropertyVariables>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-deploy-plugin</artifactId>
281 <!-- Uncomment to add a license header to source files
283 <groupId>com.mycila</groupId>
284 <artifactId>license-maven-plugin</artifactId>
285 <version>3.0</version>
287 <header>License.txt</header>
289 <include>**/*.java</include>
290 <include>**/*.ksh</include>
291 <include>**/*.sh</include>
292 <include>**/*.ftl</include>
293 <include>**/*.xsd</include>
294 <include>**/*.xjb</include>
295 <include>**/*.yml</include>
296 <include>**/*.yaml</include>
297 <include>**/aai*.xml</include>
298 <include>**/*logback*.xml</include>
299 <include>**/*aaiconfig*.properties</include>
300 <include>**/*titan*.properties</include>
308 <phase>process-sources</phase>