Add name to the top level pom for champ
[aai/champ.git] / pom.xml
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>
3         <parent>
4                 <groupId>org.onap.oparent</groupId>
5                 <artifactId>oparent</artifactId>
6                 <version>1.0.0-SNAPSHOT</version>
7         </parent>
8
9         <groupId>org.openecomp.aai</groupId>
10         <artifactId>champ</artifactId>
11         <version>1.1.0-SNAPSHOT</version>
12         <name>AAI - champ</name>
13         <properties>
14                 <tinkerpop.version>3.0.1-incubating</tinkerpop.version>
15                 <sitePath>/content/sites/site/org/onap/aai/${project.artifactId}/${project.version}</sitePath>
16                 <sonar.language>java</sonar.language>
17                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
18                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
19                 <sonar.jacoco.reportPath>${project.build.directory}/jacoco.exec</sonar.jacoco.reportPath>
20                 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
21                 <sonar.projectVersion>${project.version}</sonar.projectVersion>
22         </properties>
23         <distributionManagement>
24                 <site>
25                         <id>ecomp-site</id>
26                         <url>dav:${onap.nexus.url}${sitePath}</url>
27                 </site>
28         </distributionManagement>
29         <dependencies>
30                 <dependency>
31                         <groupId>junit</groupId>
32                         <artifactId>junit</artifactId>
33                         <version>4.12</version>
34                         <scope>test</scope>
35                 </dependency>
36                 <dependency>
37                         <groupId>ch.qos.logback</groupId>
38                         <artifactId>logback-classic</artifactId>
39                         <version>1.2.1</version>
40                         <optional>true</optional>
41                 </dependency>
42                 <dependency>
43                         <groupId>org.apache.tinkerpop</groupId>
44                         <artifactId>tinkergraph-gremlin</artifactId> 
45                         <version>${tinkerpop.version}</version>
46                 </dependency>
47                 <dependency>
48                         <groupId>org.apache.tinkerpop</groupId>
49                         <artifactId>gremlin-core</artifactId> 
50                         <version>${tinkerpop.version}</version>
51                         <exclusions>
52                                 <exclusion>
53                                         <groupId>org.slf4j</groupId>
54                                         <artifactId>slf4j-log4j12</artifactId>
55                                 </exclusion>
56                                 <exclusion>
57                                         <groupId>org.slf4j</groupId>
58                                         <artifactId>jcl-over-slf4j</artifactId>
59                                 </exclusion>
60                         </exclusions>
61                 </dependency>
62                 <dependency>
63                         <groupId>com.thinkaurelius.titan</groupId>
64                         <artifactId>titan-cassandra</artifactId>
65                         <version>1.0.0</version>
66                         <optional>true</optional>
67                         <exclusions>
68                                 <exclusion>
69                                         <groupId>org.apache.tinkerpop</groupId>
70                                         <artifactId>gremlin-groovy</artifactId>
71                                 </exclusion>
72                                 <exclusion>
73                                         <groupId>org.slf4j</groupId>
74                                         <artifactId>slf4j-log4j12</artifactId>
75                                 </exclusion>
76                                 <exclusion>
77                                         <groupId>ch.qos.logback</groupId>
78                                         <artifactId>logback-classic</artifactId>
79                                 </exclusion>
80                                 <exclusion>
81                                         <groupId>org.apache.tinkerpop</groupId>
82                                         <artifactId>gremlin-core</artifactId>
83                                 </exclusion>
84                         </exclusions>
85                 </dependency>
86                 <dependency>
87                         <groupId>com.thinkaurelius.titan</groupId>
88                         <artifactId>titan-hbase</artifactId>
89                         <version>1.0.0</version>
90                         <optional>true</optional>
91                         <exclusions>
92                                 <exclusion>
93                                         <groupId>org.apache.tinkerpop</groupId>
94                                         <artifactId>gremlin-groovy</artifactId>
95                                 </exclusion>
96                                 <exclusion>
97                                         <groupId>org.slf4j</groupId>
98                                         <artifactId>slf4j-log4j12</artifactId>
99                                 </exclusion>
100                                 <exclusion>
101                                         <groupId>ch.qos.logback</groupId>
102                                         <artifactId>logback-classic</artifactId>
103                                 </exclusion>
104                                 <exclusion>
105                                         <groupId>org.apache.tinkerpop</groupId>
106                                         <artifactId>gremlin-core</artifactId>
107                                 </exclusion>
108                         </exclusions>
109                 </dependency>
110                 <dependency>
111                         <groupId>org.apache.hbase</groupId>
112                         <artifactId>hbase-client</artifactId>
113                         <version>0.98.4-hadoop2</version>
114                         <exclusions>
115                                 <exclusion>
116                                         <groupId>org.slf4j</groupId>
117                                         <artifactId>slf4j-log4j12</artifactId>
118                                 </exclusion>
119                                 <exclusion>
120                                         <groupId>com.google.guava</groupId>
121                                         <artifactId>guava</artifactId>
122                                 </exclusion>
123                         </exclusions>
124                 </dependency>
125                 <dependency>
126                         <groupId>jdk.tools</groupId>
127                         <artifactId>jdk.tools</artifactId>
128                         <version>1.8</version>
129                         <scope>system</scope>
130                         <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
131                 </dependency>
132                 <dependency>
133                         <groupId>org.jacoco</groupId>
134                         <artifactId>org.jacoco.agent</artifactId>
135                         <version>0.7.9</version>
136                         <classifier>runtime</classifier>
137                         <scope>test</scope>
138                 </dependency>
139
140         <!-- Event Bus Client. -->
141         <dependency>
142             <groupId>com.att.nsa</groupId>
143             <artifactId>cambriaClient</artifactId>
144             <version>0.0.1</version>
145         </dependency>
146         
147         <dependency>
148             <groupId>org.apache.httpcomponents</groupId>
149             <artifactId>httpclient</artifactId>
150             <version>4.5</version>
151         </dependency>
152         
153         </dependencies>
154         <build>
155                 <plugins>
156                         <plugin>
157                                 <groupId>org.codehaus.mojo</groupId>
158                                 <artifactId>sonar-maven-plugin</artifactId>
159                                 <version>3.2</version>
160                         </plugin>
161                         <plugin>
162                                 <groupId>org.jacoco</groupId>
163                                 <artifactId>jacoco-maven-plugin</artifactId>
164                                 <version>0.7.9</version>
165                                 <configuration>
166                                         <excludes>
167                                                 <!-- These three need to be included again at some point -->
168                                                 <exclude>**/AbstractGremlinChampGraph*</exclude>
169                                                 <exclude>**/DseChampGraphImpl*</exclude>
170                                                 <exclude>**/DseChampformer*</exclude>
171                                                 <!-- Permanently excluded, not worth testing -->
172                                                 <exclude>**/ChampAPIPerformanceTest*</exclude>
173                                         </excludes>
174                                 </configuration>
175                                 <executions>
176                                         <execution>
177                                                 <id>default-prepare-agent</id>
178                                                 <goals>
179                                                         <goal>prepare-agent</goal>
180                                                 </goals>
181                                         </execution>
182                                         <execution>
183                                                 <id>default-report</id>
184                                                 <phase>prepare-package</phase>
185                                                 <goals>
186                                                         <goal>report</goal>
187                                                 </goals>
188                                         </execution>
189                                         <execution>
190                                                 <id>default-check</id>
191                                                 <goals>
192                                                         <goal>check</goal>
193                                                 </goals>
194                                                 <configuration>
195                                                         <rules>
196                                                                 <!--  implementation is needed only for Maven 2  -->
197                                                                 <rule implementation="org.jacoco.maven.RuleConfiguration">
198                                                                         <element>BUNDLE</element>
199                                                                         <limits>
200                                                                                 <!--  implementation is needed only for Maven 2  -->
201                                                                                 <limit implementation="org.jacoco.report.check.Limit">
202                                                                                         <counter>INSTRUCTION</counter>
203                                                                                         <value>COVEREDRATIO</value>
204                                                                                         <minimum>.75</minimum>
205                                                                                 </limit>
206                                                                                 <limit implementation="org.jacoco.report.check.Limit">
207                                                                                         <counter>BRANCH</counter>
208                                                                                         <value>COVEREDRATIO</value>
209                                                                                         <minimum>.74</minimum>
210                                                                                 </limit>
211                                                                                 <limit implementation="org.jacoco.report.check.Limit">
212                                                                                         <counter>COMPLEXITY</counter>
213                                                                                         <value>COVEREDRATIO</value>
214                                                                                         <minimum>.75</minimum>
215                                                                                 </limit>
216                                                                                 <limit implementation="org.jacoco.report.check.Limit">
217                                                                                         <counter>LINE</counter>
218                                                                                         <value>COVEREDRATIO</value>
219                                                                                         <minimum>.80</minimum>
220                                                                                 </limit>
221                                                                                 <limit implementation="org.jacoco.report.check.Limit">
222                                                                                         <counter>METHOD</counter>
223                                                                                         <value>COVEREDRATIO</value>
224                                                                                         <minimum>.90</minimum>
225                                                                                 </limit>
226                                                                                 <limit implementation="org.jacoco.report.check.Limit">
227                                                                                         <counter>CLASS</counter>
228                                                                                         <value>MISSEDCOUNT</value>
229                                                                                         <maximum>0</maximum>
230                                                                                 </limit>
231                                                                         </limits>
232                                                                 </rule>
233                                                         </rules>
234                                                 </configuration>
235                                         </execution>
236                                 </executions>
237                         </plugin>
238                         <plugin>
239                                 <groupId>org.apache.maven.plugins</groupId>
240                                 <artifactId>maven-assembly-plugin</artifactId>
241                                 <version>3.0.0</version>
242                                 <configuration>
243                                         <descriptorRefs>
244                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
245                                         </descriptorRefs>
246                                 </configuration>
247                                 <executions>
248                                         <execution>
249                                                 <id>make-jar-with-dependencies</id>
250                                                 <phase>package</phase>
251                                                 <goals>
252                                                         <goal>single</goal>
253                                                 </goals>
254                                         </execution>
255                                 </executions>
256                         </plugin>
257                         <plugin>
258                                 <groupId>org.apache.maven.plugins</groupId>
259                                 <artifactId>maven-compiler-plugin</artifactId>
260                                 <version>3.6.1</version>
261                                 <configuration>
262                                         <source>1.8</source>
263                                         <target>1.8</target>
264                                 </configuration>
265                         </plugin>
266                         <plugin>
267                                 <artifactId>maven-release-plugin</artifactId>
268                                 <version>2.4.2</version>
269                                 <dependencies>
270                                         <dependency>
271                                                 <groupId>org.apache.maven.scm</groupId>
272                                                 <artifactId>maven-scm-provider-gitexe</artifactId>
273                                                 <version>1.8.1</version>
274                                         </dependency>
275                                 </dependencies>
276                         </plugin>
277                         <plugin>
278                                 <groupId>org.apache.maven.plugins</groupId>
279                                 <artifactId>maven-source-plugin</artifactId>
280                                 <version>3.0.1</version>
281                                 <executions>
282                                         <execution>
283                                                 <id>attach-sources</id>
284                                                 <goals>
285                                                         <goal>jar</goal>
286                                                 </goals>
287                                         </execution>
288                                 </executions>
289                         </plugin>
290                         <plugin>
291                                 <groupId>org.apache.maven.plugins</groupId>
292                                 <artifactId>maven-javadoc-plugin</artifactId>
293                                 <version>2.9.1</version>
294                                 <executions>
295                                         <execution>
296                                                 <id>attach-javadocs</id>
297                                                 <goals>
298                                                         <goal>jar</goal>
299                                                 </goals>
300                                         </execution>
301                                 </executions>
302                         </plugin>
303                         <plugin>
304                                 <groupId>org.apache.maven.plugins</groupId>
305                                 <artifactId>maven-surefire-plugin</artifactId>
306                                 <configuration>
307                                         <systemPropertyVariables>
308                                                 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
309                                         </systemPropertyVariables>
310                                 </configuration>
311                         </plugin>
312                         <plugin>
313                                 <groupId>org.apache.maven.plugins</groupId>
314                                 <artifactId>maven-deploy-plugin</artifactId>
315                                 <version>2.8.2</version>
316                                 <executions>
317                                         <execution>
318                                                 <id>default-deploy</id>
319                                                 <phase>none</phase>
320                                         </execution>
321                                 </executions>
322                         </plugin>
323                         <plugin>
324                                 <groupId>org.sonatype.plugins</groupId>
325                                 <artifactId>nexus-staging-maven-plugin</artifactId>
326                                 <version>1.6.7</version>
327                                 <extensions>true</extensions>
328                                 <configuration>
329                                         <nexusUrl>${onap.nexus.url}</nexusUrl>
330                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
331                                         <serverId>ecomp-staging</serverId>
332                                 </configuration>
333                         </plugin>
334                         <plugin>
335                                 <groupId>org.apache.maven.plugins</groupId>
336                                 <artifactId>maven-site-plugin</artifactId>
337                                 <version>3.6</version>
338                                 <dependencies>
339                                         <dependency>
340                                                 <groupId>org.apache.maven.wagon</groupId>
341                                                 <artifactId>wagon-webdav-jackrabbit</artifactId>
342                                                 <version>2.10</version>
343                                         </dependency>
344                                 </dependencies>
345                         </plugin>
346                             <plugin>
347                                 <groupId>com.mycila</groupId>
348                                 <artifactId>license-maven-plugin</artifactId>
349                                 <version>3.0</version>
350                                 <configuration>
351                                     <header>License.txt</header>
352                                     <includes>
353                                         <include>**/*.java</include>
354                                         <include>**/*.ksh</include>
355                                         <include>**/*.sh</include>
356                                         <include>**/*.ftl</include>
357                                         <include>**/*.xsd</include>
358                                         <include>**/*.xjb</include>
359                                         <include>**/*.yml</include>
360                                         <include>**/*.yaml</include>
361                                         <include>**/aai*.xml</include>
362                                         <include>**/*logback*.xml</include>
363                                         <include>**/*aaiconfig*.properties</include>
364                                         <include>**/*titan*.properties</include>
365                                     </includes>
366                                 </configuration>
367                                 <executions>
368                                     <execution>
369                                         <goals>
370                                             <goal>format</goal>
371                                         </goals>
372                                         <phase>process-sources</phase>
373                                     </execution>
374                                 </executions>
375                             </plugin>
376                 </plugins>
377         </build>
378         <reporting>
379                 <plugins>
380                         <plugin>
381                                 <groupId>org.apache.maven.plugins</groupId>
382                                 <artifactId>maven-javadoc-plugin</artifactId>
383                                 <version>2.10.4</version>
384                                 <configuration>
385                                         <failOnError>false</failOnError>
386                                         <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
387                                         <docletArtifact>
388                                                 <groupId>org.umlgraph</groupId>
389                                                 <artifactId>umlgraph</artifactId>
390                                                 <version>5.6</version>
391                                         </docletArtifact>
392                                         <additionalparam>-views</additionalparam>
393                                         <useStandardDocletOptions>true</useStandardDocletOptions>
394                                 </configuration>
395                         </plugin>
396                 </plugins>
397         </reporting>
398 </project>