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>-->
31 <connection>scm:git:ssh://git@codecloud.web.att.com:7999/st_aai/champ.git</connection>
35 <distributionManagement>
36 <!-- Repository to publish RELEASE artifacts to. -->
39 <name>ecomp_aai-releases</name>
40 <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/ecomp_aai-releases</url>
42 <!-- Repository to publish SNAPSHOT artifacts to. -->
45 <name>ecomp_aai-snapshots</name>
46 <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/ecomp_aai-snapshots</url>
48 </distributionManagement>
50 <dependencyManagement>
53 <groupId>org.onap.aai.event-client</groupId>
54 <artifactId>event-client-api</artifactId>
55 <version>${event.client.version}</version>
58 <groupId>org.onap.aai.event-client</groupId>
59 <artifactId>event-client-dmaap</artifactId>
60 <version>${event.client.version}</version>
63 <groupId>org.onap.aai.event-client</groupId>
64 <artifactId>event-client-kafka</artifactId>
65 <version>${event.client.version}</version>
68 </dependencyManagement>
72 <groupId>junit</groupId>
73 <artifactId>junit</artifactId>
74 <version>4.12</version>
78 <groupId>ch.qos.logback</groupId>
79 <artifactId>logback-classic</artifactId>
80 <version>1.2.1</version>
81 <optional>true</optional>
84 <groupId>org.apache.hbase</groupId>
85 <artifactId>hbase-client</artifactId>
86 <version>0.98.4-hadoop2</version>
89 <groupId>org.slf4j</groupId>
90 <artifactId>slf4j-log4j12</artifactId>
93 <groupId>com.google.guava</groupId>
94 <artifactId>guava</artifactId>
99 <groupId>jdk.tools</groupId>
100 <artifactId>jdk.tools</artifactId>
101 <version>1.8</version>
102 <scope>system</scope>
103 <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
106 <groupId>org.jacoco</groupId>
107 <artifactId>org.jacoco.agent</artifactId>
108 <version>0.7.9</version>
109 <classifier>runtime</classifier>
117 <groupId>org.jacoco</groupId>
118 <artifactId>jacoco-maven-plugin</artifactId>
119 <version>0.7.9</version>
122 <!-- These three need to be included again at some point -->
123 <exclude>**/AbstractGremlinChampGraph*</exclude>
124 <exclude>**/DseChampGraphImpl*</exclude>
125 <exclude>**/DseChampformer*</exclude>
126 <!-- Permanently excluded, not worth testing -->
127 <exclude>**/ChampAPIPerformanceTest*</exclude>
132 <id>default-prepare-agent</id>
134 <goal>prepare-agent</goal>
138 <id>default-report</id>
139 <phase>prepare-package</phase>
145 <id>default-check</id>
151 <!-- implementation is needed only for Maven 2 -->
152 <rule implementation="org.jacoco.maven.RuleConfiguration">
153 <element>BUNDLE</element>
155 <!-- implementation is needed only for Maven 2 -->
156 <limit implementation="org.jacoco.report.check.Limit">
157 <counter>INSTRUCTION</counter>
158 <value>COVEREDRATIO</value>
159 <minimum>.15</minimum>
161 <limit implementation="org.jacoco.report.check.Limit">
162 <counter>BRANCH</counter>
163 <value>COVEREDRATIO</value>
164 <minimum>.12</minimum>
166 <limit implementation="org.jacoco.report.check.Limit">
167 <counter>COMPLEXITY</counter>
168 <value>COVEREDRATIO</value>
169 <minimum>.15</minimum>
171 <limit implementation="org.jacoco.report.check.Limit">
172 <counter>LINE</counter>
173 <value>COVEREDRATIO</value>
174 <minimum>.10</minimum>
176 <limit implementation="org.jacoco.report.check.Limit">
177 <counter>METHOD</counter>
178 <value>COVEREDRATIO</value>
179 <minimum>.17</minimum>
181 <limit implementation="org.jacoco.report.check.Limit">
182 <counter>CLASS</counter>
183 <value>MISSEDCOUNT</value>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-assembly-plugin</artifactId>
196 <version>3.0.0</version>
199 <descriptorRef>jar-with-dependencies</descriptorRef>
204 <id>make-jar-with-dependencies</id>
205 <phase>package</phase>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-compiler-plugin</artifactId>
215 <version>3.6.1</version>
222 <artifactId>maven-release-plugin</artifactId>
223 <version>2.4.2</version>
226 <groupId>org.apache.maven.scm</groupId>
227 <artifactId>maven-scm-provider-gitexe</artifactId>
228 <version>1.8.1</version>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-source-plugin</artifactId>
235 <version>3.0.1</version>
238 <id>attach-sources</id>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-javadoc-plugin</artifactId>
248 <version>2.9.1</version>
251 <id>attach-javadocs</id>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-surefire-plugin</artifactId>
261 <version>2.12.2</version>
263 <systemPropertyVariables>
264 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
265 </systemPropertyVariables>
269 <groupId>com.mycila</groupId>
270 <artifactId>license-maven-plugin</artifactId>
271 <version>3.0</version>
273 <header>License.txt</header>
275 <include>**/*.java</include>
276 <include>**/*.ksh</include>
277 <include>**/*.sh</include>
278 <include>**/*.ftl</include>
279 <include>**/*.xsd</include>
280 <include>**/*.xjb</include>
281 <include>**/*.yml</include>
282 <include>**/*.yaml</include>
283 <include>**/aai*.xml</include>
284 <include>**/*logback*.xml</include>
285 <include>**/*aaiconfig*.properties</include>
286 <include>**/*titan*.properties</include>
294 <phase>process-sources</phase>