Fix the javadocs error in jenkins
[aai/aai-common.git] / aai-core / pom.xml
1 <?xml version="1.0"?>
2 <project
3                 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4                 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5         <modelVersion>4.0.0</modelVersion>
6         <parent>
7           <groupId>org.onap.aai.aai-common</groupId>
8           <artifactId>aai-common</artifactId>
9           <version>1.1.0-SNAPSHOT</version>
10         </parent>
11         <artifactId>aai-core</artifactId>
12         <name>aai-core</name>
13         <packaging>jar</packaging>
14         <properties>
15                 <maven.compiler.target>1.8</maven.compiler.target>
16                 <maven.compiler.source>1.8</maven.compiler.source>
17                 <nexusproxy>https://nexus.onap.org</nexusproxy>
18                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
19                 <sonar.language>java</sonar.language>
20                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
21                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
22                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
23                 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
24                 <sonar.projectVersion>${project.version}</sonar.projectVersion>
25                 <gendoc.version>v11</gendoc.version>
26                 <aai.wiki.link>https://wiki.onap.org/</aai.wiki.link>
27         <hbase.version>1.0.2</hbase.version>
28         </properties>
29         <profiles>              
30                 <profile>
31                         <id>generateXsd</id>
32                         <build>
33                                 <plugins>
34                                         <plugin>
35                                                 <groupId>org.codehaus.mojo</groupId>
36                                                 <artifactId>exec-maven-plugin</artifactId>
37                                                 <version>1.1.1</version>
38                                                 <executions>
39                                                         <execution>
40                                                                 <phase>process-classes</phase>
41                                                                 <goals>
42                                                                         <goal>java</goal>
43                                                                 </goals>
44                                                                 <configuration>
45                                                                         <mainClass>org.openecomp.aai.util.GenerateXsd</mainClass>
46                                                                         <systemProperties>
47                                                             <systemProperty>
48                                                                 <key>gen_version</key>
49                                                                 <value>${gendoc.version}</value>
50                                                             </systemProperty>
51                                                             <systemProperty>
52                                                                 <key>gen_type</key>
53                                                                 <value>XSD</value>
54                                                             </systemProperty>
55                                                             <systemProperty>
56                                                                 <key>yamlresponses_url</key>
57                                                                 <value></value>
58                                                             </systemProperty>
59                                                             <systemProperty>
60                                                                 <key>yamlresponses_label</key>
61                                                                 <value></value>
62                                                             </systemProperty>                                                       
63                                                         </systemProperties>
64                                                                 </configuration>
65                                                         </execution>
66                                                 </executions>
67                                         </plugin>
68                                 </plugins>
69                         </build>
70                 </profile>
71                 <profile>
72                         <id>generateYaml</id>
73                         <build>
74                                 <plugins>
75                                         <plugin>
76                                                 <groupId>org.codehaus.mojo</groupId>
77                                                 <artifactId>exec-maven-plugin</artifactId>
78                                                 <version>1.1.1</version>
79                                                 <executions>
80                                                         <execution>
81                                                                 <phase>process-classes</phase>
82                                                                 <goals>
83                                                                         <goal>java</goal>
84                                                                 </goals>
85                                                                 <configuration>
86                                                                         <mainClass>org.openecomp.aai.util.GenerateXsd</mainClass>
87                                                                         <systemProperties>
88                                                             <systemProperty>
89                                                                 <key>gen_version</key>
90                                                                 <value>${gendoc.version}</value>
91                                                             </systemProperty>
92                                                             <systemProperty>
93                                                                 <key>gen_type</key>
94                                                                 <value>YAML</value>
95                                                             </systemProperty>
96                                                             <systemProperty>
97                                                                 <key>yamlresponses_url</key>
98                                                                 <value>${aai.wiki.link}</value>
99                                                             </systemProperty>
100                                                             <systemProperty>
101                                                                 <key>yamlresponses_label</key>
102                                                                 <value>Response codes found in [response codes]</value>
103                                                             </systemProperty>                                                       
104                                                         </systemProperties>
105                                                                 </configuration>
106                                                         </execution>
107                                                 </executions>
108                                         </plugin>
109                                 </plugins>
110                         </build>
111                 </profile>
112                 <profile>
113                         <id>generateHtml</id>
114                         <build>
115                                 <plugins>
116                                         <plugin>
117                                                 <groupId>org.codehaus.mojo</groupId>
118                                                 <artifactId>exec-maven-plugin</artifactId>
119                                                 <version>1.1.1</version>
120                                                 <executions>
121                                                         <execution>
122                                                                 <phase>process-classes</phase>
123                                                                 <goals>
124                                                                         <goal>java</goal>
125                                                                 </goals>
126                                                                 <configuration>
127                                                                         <mainClass>org.openecomp.aai.util.swagger.GenerateSwagger</mainClass>
128                                     <systemProperties>
129                                         <property>
130                                                                                         <key>aai.generate.version</key>
131                                                                                         <value>${gendoc.version}</value>
132                                                                                 </property>
133                                                                                 <property>
134                                                                                         <key>aai.wiki.link</key>
135                                                                                         <value>${aai.wiki.link}</value>
136                                                                                 </property>
137                                                                         </systemProperties>
138                                                                 </configuration>
139                                                         </execution>
140                                                 </executions>
141                                         </plugin>
142                                 </plugins>
143                         </build>
144                 </profile>
145         </profiles>
146         <dependencies>
147                 <dependency>
148                         <groupId>org.onap.aai.aai-common</groupId>
149                         <artifactId>aai-schema</artifactId>
150                         <version>${aai.schema.version}</version>
151                 </dependency>
152                 <dependency>
153                         <groupId>commons-lang</groupId>
154                         <artifactId>commons-lang</artifactId>
155                         <version>2.6</version>
156                 </dependency>
157                 <dependency>
158                         <groupId>com.att.eelf</groupId>
159                         <artifactId>eelf-core</artifactId>
160                         <version>1.0.0</version>
161                 </dependency>
162                 <dependency>
163                         <groupId>jdk.tools</groupId>
164                         <artifactId>jdk.tools</artifactId>
165                         <version>1.8.0_101</version>
166                         <scope>system</scope>
167                         <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
168                 </dependency>
169                 <dependency>
170                         <groupId>org.codehaus.jackson</groupId>
171                         <artifactId>jackson-core-asl</artifactId>
172                         <version>1.9.13</version>
173                 </dependency>
174
175                 <dependency>
176                         <groupId>org.codehaus.jackson</groupId>
177                         <artifactId>jackson-mapper-asl</artifactId>
178                         <version>1.9.13</version>
179                 </dependency>
180                 <dependency>
181                         <groupId>junit</groupId>
182                         <artifactId>junit</artifactId>
183                         <version>4.12</version>
184                         <scope>test</scope>
185                 </dependency>
186                 <dependency>
187                         <groupId>org.hamcrest</groupId>
188                         <artifactId>hamcrest-junit</artifactId>
189                         <version>2.0.0.0</version>
190                         <scope>test</scope>
191                 </dependency>
192                 <dependency>
193                         <groupId>org.hamcrest</groupId>
194                         <artifactId>hamcrest-core</artifactId>
195                         <version>1.3</version>
196                         <scope>test</scope>
197                 </dependency>
198                 <dependency>
199                         <groupId>org.mockito</groupId>
200                         <artifactId>mockito-all</artifactId>
201                         <version>1.10.19</version>
202                         <scope>test</scope>
203                 </dependency>
204                 <dependency>
205                         <groupId>org.powermock</groupId>
206                         <artifactId>powermock-module-junit4</artifactId>
207                         <version>1.6.2</version>
208                         <scope>test</scope>
209                 </dependency>
210                 <dependency>
211                         <groupId>org.powermock</groupId>
212                         <artifactId>powermock-api-mockito</artifactId>
213                         <version>1.6.2</version>
214                         <scope>test</scope>
215                 </dependency>
216                 <dependency>
217                         <groupId>com.google.guava</groupId>
218                         <artifactId>guava</artifactId>
219                         <version>16.0</version>
220                 </dependency>
221                 <dependency>
222                         <groupId>com.thinkaurelius.titan</groupId>
223                         <artifactId>titan-core</artifactId>
224                         <version>1.0.0</version>
225                         <exclusions>
226                                 <exclusion>
227                                         <groupId>org.slf4j</groupId>
228                                         <artifactId>slf4j-log4j12</artifactId>
229                                 </exclusion>
230                         </exclusions>
231                 </dependency>
232                 <dependency>
233                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
234                         <artifactId>jackson-jaxrs-json-provider</artifactId>
235                         <version>2.1.4</version>
236                 </dependency>
237                 <dependency>
238                         <groupId>com.googlecode.json-simple</groupId>
239                         <artifactId>json-simple</artifactId>
240                         <version>1.1.1</version>
241                 </dependency>
242                 <dependency>
243                         <groupId>org.springframework</groupId>
244                         <artifactId>spring-web</artifactId>
245                         <version>4.2.5.RELEASE</version>
246                 </dependency>
247                 <dependency>
248                         <groupId>javax.xml.bind</groupId>
249                         <artifactId>jaxb-api</artifactId>
250                         <version>2.2.11</version>
251                 </dependency>
252                 <dependency>
253                         <groupId>org.eclipse.persistence</groupId>
254                         <artifactId>eclipselink</artifactId>
255                         <version>2.6.2</version>
256                 </dependency>
257                 <dependency>
258                         <groupId>com.google.code.gson</groupId>
259                         <artifactId>gson</artifactId>
260                         <version>2.7</version>
261                 </dependency>
262                 <dependency>
263                     <groupId>com.jayway.jsonpath</groupId>
264                     <artifactId>json-path</artifactId>
265                     <version>2.2.0</version>
266                 </dependency>
267                 <dependency>
268                         <groupId>org.eclipse.jetty</groupId>
269                         <artifactId>jetty-util</artifactId>
270                         <version>9.4.2.v20170220</version>
271                 </dependency>
272                 <dependency>
273                         <groupId>org.apache.cxf</groupId>
274                         <artifactId>cxf-core</artifactId>
275                         <version>3.0.6</version>
276                 </dependency>
277                 <dependency>
278                         <groupId>com.fasterxml.jackson.module</groupId>
279                         <artifactId>jackson-module-jaxb-annotations</artifactId>
280                         <version>2.1.4</version>
281                 </dependency>
282                 <dependency>
283                         <groupId>com.sun.jersey</groupId>
284                         <artifactId>jersey-core</artifactId>
285                         <version>1.18</version>
286                 </dependency>
287                 <dependency>
288                         <groupId>com.sun.jersey</groupId>
289                         <artifactId>jersey-client</artifactId>
290                         <version>1.18</version>
291                 </dependency>
292                 <dependency>
293                         <groupId>com.sun.jersey</groupId>
294                         <artifactId>jersey-json</artifactId>
295                         <version>1.18</version>
296                 </dependency>
297                 <dependency>
298                         <groupId>javax.ws.rs</groupId>
299                         <artifactId>javax.ws.rs-api</artifactId>
300                         <version>2.0.1</version>
301                 </dependency>
302                 <dependency>
303                         <groupId>org.apache.tinkerpop</groupId>
304                         <artifactId>gremlin-core</artifactId>
305                         <version>3.0.1-incubating</version>
306                 </dependency>
307                 <dependency>
308                         <groupId>org.slf4j</groupId>
309                         <artifactId>slf4j-api</artifactId>
310                         <version>1.7.5</version>
311                 </dependency>
312                 <dependency>
313                         <groupId>com.fasterxml.jackson.core</groupId>
314                         <artifactId>jackson-databind</artifactId>
315                         <version>2.1.4</version>
316                 </dependency>
317                 <dependency>
318                         <groupId>com.fasterxml.jackson.core</groupId>
319                         <artifactId>jackson-annotations</artifactId>
320                         <version>2.1.4</version>
321                 </dependency>
322                 <dependency>
323                         <groupId>com.fasterxml.jackson.dataformat</groupId>
324                         <artifactId>jackson-dataformat-yaml</artifactId>
325                         <version>2.1.4</version>
326                 </dependency>
327                 <dependency>
328                         <groupId>xml-apis</groupId>
329                         <artifactId>xml-apis</artifactId>
330                         <version>1.0.b2</version>
331                 </dependency>
332                 <dependency>
333                         <groupId>commons-lang</groupId>
334                         <artifactId>commons-lang</artifactId>
335                         <version>2.6</version>
336                 </dependency>
337                 <dependency>
338                         <groupId>commons-cli</groupId>
339                         <artifactId>commons-cli</artifactId>
340                         <version>1.3</version>
341                 </dependency>
342                 <dependency>
343                         <groupId>com.beust</groupId>
344                         <artifactId>jcommander</artifactId>
345                         <version>1.48</version>
346                 </dependency>
347                 <dependency>
348                         <groupId>org.json</groupId>
349                         <artifactId>json</artifactId>
350                         <version>20160810</version>
351                 </dependency>
352                 <dependency>
353                         <groupId>javax.servlet</groupId>
354                         <artifactId>javax.servlet-api</artifactId>
355                         <version>3.1.0</version>
356                 </dependency>
357                 <dependency>
358                         <groupId>com.bazaarvoice.jolt</groupId>
359                         <artifactId>jolt-complete</artifactId>
360                         <version>0.0.24</version>
361                 </dependency>
362                 <dependency>
363                         <groupId>ch.qos.logback</groupId>
364                         <artifactId>logback-core</artifactId>
365                         <version>1.1.7</version>
366                 </dependency>
367                 <dependency>
368                         <groupId>ch.qos.logback</groupId>
369                         <artifactId>logback-classic</artifactId>
370                         <version>1.1.7</version>
371                 </dependency>
372                 <dependency>
373                         <groupId>ch.qos.logback</groupId>
374                         <artifactId>logback-access</artifactId>
375                         <version>1.1.7</version>
376                 </dependency>
377                 <dependency>
378                         <groupId>org.apache.hbase</groupId>
379                         <artifactId>hbase-client</artifactId>
380                         <version>${hbase.version}</version>
381                         <exclusions>
382                                 <exclusion>
383                                         <groupId>org.slf4j</groupId>
384                                         <artifactId>slf4j-log4j12</artifactId>
385                                 </exclusion>
386                                 <exclusion>
387                                         <artifactId>log4j</artifactId>
388                                         <groupId>log4j</groupId>
389                                 </exclusion>
390                         </exclusions>
391                 </dependency>
392                 <dependency>
393                         <groupId>org.apache.hbase</groupId>
394                         <artifactId>hbase-protocol</artifactId>
395                         <version>${hbase.version}</version>
396                         <exclusions>
397                                 <exclusion>
398                                         <artifactId>log4j</artifactId>
399                                         <groupId>log4j</groupId>
400                                 </exclusion>
401                         </exclusions>
402                 </dependency>
403                 <dependency>
404                         <groupId>org.apache.hbase</groupId>
405                         <artifactId>hbase-common</artifactId>
406                         <version>${hbase.version}</version>
407                         <exclusions>
408                                 <exclusion>
409                                         <artifactId>log4j</artifactId>
410                                         <groupId>log4j</groupId>
411                                 </exclusion>
412                         </exclusions>
413                 </dependency>
414                 <dependency>
415                         <groupId>org.apache.activemq</groupId>
416                         <artifactId>activemq-broker</artifactId>
417                         <version>5.14.4</version>
418                 </dependency>
419                 <dependency>
420                         <groupId>com.opencsv</groupId>
421                         <artifactId>opencsv</artifactId>
422                         <version>3.1</version>
423                 </dependency>
424                 <dependency>
425                         <groupId>org.freemarker</groupId>
426                         <artifactId>freemarker</artifactId>
427                         <version>2.3.14</version>
428                 </dependency>
429                 <dependency>
430                         <groupId>com.bazaarvoice.jolt</groupId>
431                         <artifactId>jolt-complete</artifactId>
432                         <version>0.0.24</version>
433                 </dependency>
434                 <dependency>
435                         <groupId>com.github.fge</groupId>
436                         <artifactId>json-patch</artifactId>
437                         <version>1.9</version>
438                 </dependency>
439                 <dependency>
440                         <groupId>com.att.nsa</groupId>
441                         <artifactId>dmaapClient</artifactId>
442                         <version>0.2.12</version>
443                 </dependency>
444                 <dependency>
445                         <groupId>org.apache.camel</groupId>
446                         <artifactId>camel-jms</artifactId>
447                         <version>2.15.5</version>
448                 </dependency>
449                 <dependency>
450                         <groupId>org.mockito</groupId>
451                         <artifactId>mockito-all</artifactId>
452                         <version>1.10.19</version>
453                         <scope>test</scope>
454                 </dependency>
455                 <dependency>
456                         <groupId>org.powermock</groupId>
457                         <artifactId>powermock-module-junit4</artifactId>
458                         <version>1.6.2</version>
459                         <scope>test</scope>
460                 </dependency>
461                 <dependency>
462                         <groupId>org.powermock</groupId>
463                         <artifactId>powermock-api-mockito</artifactId>
464                         <version>1.6.2</version>
465                         <scope>test</scope>
466                 </dependency>
467                 <dependency>
468                         <groupId>org.powermock</groupId>
469                         <artifactId>powermock-module-javaagent</artifactId>
470                         <version>1.6.2</version>
471                         <scope>test</scope>
472                 </dependency>
473         </dependencies>
474
475         <build>
476                 <plugins>
477                         <plugin>
478                                 <groupId>org.codehaus.mojo</groupId>
479                                 <artifactId>sonar-maven-plugin</artifactId>
480                                 <version>3.2</version>
481                         </plugin>
482                         <plugin>
483                                 <groupId>org.jacoco</groupId>
484                                 <artifactId>jacoco-maven-plugin</artifactId>
485                                 <version>0.7.7.201606060606</version>
486                                 <configuration>
487                                         <dumpOnExit>true</dumpOnExit>
488                                 </configuration>
489                                 <executions>
490                                         <execution>
491                                                 <id>jacoco-initialize-unit-tests</id>
492                                                 <goals>
493                                                         <goal>prepare-agent</goal>
494                                                 </goals>
495                                                 <configuration>
496                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
497                                                         <!-- <append>true</append> -->
498                                                 </configuration>
499                                         </execution>
500                                 </executions>
501                         </plugin>
502                         <plugin>
503                                         <groupId>org.codehaus.mojo</groupId>
504                                         <artifactId>license-maven-plugin</artifactId>
505                                         <version>1.12</version>
506                                         <configuration>
507                                                 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
508                                                 <licenseName>apache_v2</licenseName>
509                                                 <inceptionYear>2017</inceptionYear>
510                                                 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
511                                                 <projectName>org.openecomp.aai</projectName>
512                                                 <canUpdateCopyright>true</canUpdateCopyright>
513                                                 <canUpdateDescription>true</canUpdateDescription>
514                                                 <canUpdateLicense>true</canUpdateLicense>
515                                                 <emptyLineAfterHeader>true</emptyLineAfterHeader>
516                                                 <processStartTag>============LICENSE_START=======================================================</processStartTag>
517                                                 <processEndTag>============LICENSE_END=========================================================</processEndTag>
518                                                 <sectionDelimiter>================================================================================</sectionDelimiter>
519                                                 <includes>
520                                                         <include>**/*.java</include>
521                                                         <include>**/*.ksh</include>
522                                                         <include>**/*.sh</include>
523                                                         <include>**/*.ftl</include>
524                                                         <include>**/*.xsd</include>
525                                                         <include>**/*.xjb</include>
526                                                         <include>**/aai*.xml</include>
527                                                         <include>**/*logback*.xml</include>
528                                                         <include>**/*aaiconfig*.properties</include>
529                                                         <include>**/*titan*.properties</include>
530                                                 </includes>
531                                         </configuration>
532                                         <executions>
533                                                 <execution>
534                                                         <id>first</id>
535                                                         <goals>
536                                                                 <goal>update-file-header</goal>
537                                                         </goals>
538                                                         <phase>process-sources</phase>
539                                                 </execution>
540                                         </executions>
541                                 </plugin>
542                         <plugin>
543                 <groupId>org.apache.maven.plugins</groupId>
544                                 <artifactId>maven-surefire-plugin</artifactId>
545                                 <version>2.12.4</version>
546                                 <configuration>
547                                         <argLine>-noverify ${argLine}</argLine>
548                     <systemPropertyVariables>
549                                                 <AJSC_HOME>.</AJSC_HOME>
550                                                 <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
551                                         </systemPropertyVariables>
552                                 </configuration>
553                         </plugin>
554         <plugin>
555                 <groupId>org.apache.maven.plugins</groupId>
556                 <artifactId>maven-deploy-plugin</artifactId>
557                 <executions>
558                         <execution>
559                         <id>default-deploy</id>
560                         <phase>none</phase>
561                         </execution>
562                         </executions>
563                 </plugin>
564                 <plugin>
565                     <groupId>org.sonatype.plugins</groupId>
566                     <artifactId>nexus-staging-maven-plugin</artifactId>
567                     <version>1.6.7</version>
568                     <extensions>true</extensions>
569                     <configuration>
570                         <nexusUrl>${nexusproxy}</nexusUrl>
571                         <stagingProfileId>176c31dfe190a</stagingProfileId>
572                         <serverId>ecomp-staging</serverId>
573                     </configuration>
574                 </plugin>
575                 </plugins>
576         </build>
577
578         <distributionManagement>
579                 <repository>
580                         <id>ecomp-releases</id>
581                         <name>ECOMP Release Repository</name>
582                         <url>${nexusproxy}/content/repositories/releases/</url>
583                 </repository>
584                 <snapshotRepository>
585                         <id>ecomp-snapshots</id>
586                         <name>ECOMP Snapshot Repository</name>
587                         <url>${nexusproxy}/content/repositories/snapshots/</url>
588                 </snapshotRepository>
589                 <site>
590                         <id>ecomp-site</id>
591                         <url>dav:${nexusproxy}${sitePath}</url>
592                 </site>
593         </distributionManagement>
594
595         <!-- Plugins and repositories -->
596         <pluginRepositories>
597                 <pluginRepository>
598                         <id>central</id>
599                         <url>http://repo1.maven.org/maven2</url>
600                 </pluginRepository>
601                 <pluginRepository>
602                         <id>EvoSuite</id>
603                         <name>EvoSuite Repository</name>
604                         <url>http://www.evosuite.org/m2</url>
605                 </pluginRepository>
606         </pluginRepositories>
607
608         <repositories>
609                 <repository>
610                         <id>AJSC</id>
611                         <name>AJSC repository</name>
612                         <url>https://mvnrepository.com/artifact/com.att.ajsc</url>
613                 </repository>
614                 <repository>
615                         <id>restlet</id>
616                         <name>maven reslet</name>
617                         <url>https://maven.restlet.com/</url>
618                 </repository>
619
620                 <repository>
621                         <id>central</id>
622                         <name>Maven 2 repository 2</name>
623                         <url>http://repo2.maven.org/maven2/</url>
624                 </repository>
625                 <repository>
626                         <id>ecomp-releases</id>
627                         <name>ECOMP Release Repository</name>
628                         <url>${nexusproxy}/content/repositories/releases/</url>
629                 </repository>
630                 <repository>
631                         <id>ecomp-staging</id>
632                         <name>ECOMP Staging Repository</name>
633                         <url>${nexusproxy}/content/repositories/staging/</url>
634                 </repository>
635                 <repository>
636                         <id>ecomp-snapshots</id>
637                         <name>ECOMP Snapshot Repository</name>
638                         <url>${nexusproxy}/content/repositories/snapshots/</url>
639                 </repository>
640         </repositories>
641 </project>