Upversion to 1.6.2
[aai/sparky-be.git] / sparkybe-onap-service / 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
4         <parent>
5           <groupId>org.onap.aai</groupId>
6           <artifactId>sparky-be</artifactId>
7           <version>1.6.2-SNAPSHOT</version>
8         </parent>
9
10         <groupId>org.onap.aai.sparky-be</groupId>
11         <artifactId>sparkybe-onap-service</artifactId>
12         <version>1.6.2-SNAPSHOT</version>
13         <packaging>jar</packaging>
14
15         <properties>
16                 <java.version>1.8</java.version>
17                 <frontEndGroupdId>org.onap.aai</frontEndGroupdId>
18                 <frontEndArtifactId>sparky-fe</frontEndArtifactId>
19                 <frontEndVersion>1.3.0</frontEndVersion>
20                 <serverPort>9517</serverPort>
21                 <sslport>8000</sslport>
22                 <nexusproxy>https://nexus.onap.org</nexusproxy>
23                 <camel-spring-boot.version>2.21.1</camel-spring-boot.version>
24                 <config-home>${basedir}/</config-home>
25                 <version.aai.aai-schema-ingest>1.4.1</version.aai.aai-schema-ingest>
26                 <version.aai-schema>1.6.0</version.aai-schema>
27                 <sitePath>/content/sites/site/org/onap/aai/sparky-be/${project.artifactId}/${project.version}</sitePath>
28                 <onap.nexus.url>https://neexus.onap.org</onap.nexus.url>
29                 <jacoco.line.coverage.limit>0.55</jacoco.line.coverage.limit>
30                 <spring.boot.version>1.5.22.RELEASE</spring.boot.version>
31         </properties>
32
33         <dependencyManagement>
34                 <dependencies>
35                       <dependency>
36                         <groupId>org.springframework.boot</groupId>
37                         <artifactId>spring-boot-starter-parent</artifactId>
38                         <version>${spring.boot.version}</version>
39                         <type>pom</type>
40                         <scope>import</scope>
41                       </dependency>
42                         <!-- Camel BOM -->
43                         <dependency>
44                                 <groupId>org.apache.camel</groupId>
45                                 <artifactId>camel-spring-boot-dependencies</artifactId>
46                                 <version>${camel-spring-boot.version}</version>
47                                 <type>pom</type>
48                                 <scope>import</scope>
49                         </dependency>
50
51                         <dependency>
52                                 <groupId>ch.qos.logback</groupId>
53                                 <artifactId>logback-classic</artifactId>
54                                 <version>1.2.3</version>
55                         </dependency>
56                 </dependencies>
57         </dependencyManagement>
58
59 <!--
60
61 some of the depedencies should probably have a scope of provided so they don't automatically become part of the final jar
62
63  -->
64
65         <dependencies>
66
67                 <!-- Spring dependencies -->
68                 <dependency>
69                         <groupId>org.springframework.boot</groupId>
70                         <artifactId>spring-boot-starter-web</artifactId>
71                         <exclusions>
72                         <exclusion>
73                                 <groupId>org.springframework.boot</groupId>
74                                 <artifactId>spring-boot-starter-tomcat</artifactId>
75                         </exclusion>
76                         </exclusions>
77                 </dependency>
78
79                 <dependency>
80                         <groupId>org.springframework.boot</groupId>
81                         <artifactId>spring-boot-starter-jetty</artifactId>
82                 </dependency>
83
84                 <dependency>
85                         <groupId>org.springframework.boot</groupId>
86                         <artifactId>spring-boot-starter-actuator</artifactId>
87                 </dependency>
88
89                 <dependency>
90                         <groupId>org.apache.camel</groupId>
91                         <artifactId>camel-restlet</artifactId>
92                         <exclusions>
93                                 <exclusion>
94                                         <groupId>commons-logging</groupId>
95                                         <artifactId>commons-logging</artifactId>
96                                 </exclusion>
97                         </exclusions>
98                 </dependency>
99
100                 <dependency>
101                         <groupId>org.apache.camel</groupId>
102                         <artifactId>camel-servlet</artifactId>
103                         <exclusions>
104                                 <exclusion>
105                                         <groupId>commons-logging</groupId>
106                                         <artifactId>commons-logging</artifactId>
107                                 </exclusion>
108                         </exclusions>
109                 </dependency>
110
111                 <dependency>
112                         <groupId>org.springframework.boot</groupId>
113                         <artifactId>spring-boot-starter-logging</artifactId>
114                         <exclusions>
115                                 <exclusion>
116                                 <groupId>ch.qos.logback</groupId>
117                                 <artifactId>logback-classic</artifactId>
118                                 </exclusion>
119                                 <exclusion>
120                                 <groupId>org.slf4j</groupId>
121                                 <artifactId>log4j-over-slf4j</artifactId>
122                                 </exclusion>
123                         </exclusions>
124                 </dependency>
125
126
127                 <!-- Camel BOM -->
128                 <dependency>
129                         <groupId>org.apache.camel</groupId>
130                         <artifactId>camel-spring-boot-dependencies</artifactId>
131                         <version>${camel-spring-boot.version}</version>
132                         <type>pom</type>
133                         <scope>import</scope>
134                 </dependency>
135
136                 <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
137                 <!-- <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId>
138                         </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId>
139                         </dependency> -->
140
141                 <!-- Camel -->
142                 <dependency>
143                         <groupId>org.apache.camel</groupId>
144                         <artifactId>camel-spring-boot-starter</artifactId>
145                 </dependency>
146
147                 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-restlet -->
148                 <dependency>
149                         <groupId>org.apache.camel</groupId>
150                         <artifactId>camel-restlet</artifactId>
151                 </dependency>
152
153                 <dependency>
154                         <groupId>commons-io</groupId>
155                         <artifactId>commons-io</artifactId>
156                         </dependency>
157
158                 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
159                 <dependency>
160                         <groupId>org.eclipse.jetty</groupId>
161                         <artifactId>jetty-util</artifactId>
162                         <scope>provided</scope>
163                 </dependency>
164
165                 <dependency>
166                         <groupId>org.apache.camel</groupId>
167                         <artifactId>camel-servlet-starter</artifactId>
168                 </dependency>
169
170                 <dependency>
171                         <groupId>org.springframework.boot</groupId>
172                         <artifactId>spring-boot-starter-actuator</artifactId>
173                 </dependency>
174
175                 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
176                 <dependency>
177                         <groupId>commons-cli</groupId>
178                         <artifactId>commons-cli</artifactId>
179                         <version>1.2</version>
180                 </dependency>
181
182                 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
183                         </dependency> -->
184
185
186                 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
187                 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
188                         <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
189                         <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
190                         <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
191                         </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
192                         <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
193                         </dependency> -->
194
195                 <!-- Utility dependencies -->
196
197                 <dependency>
198                         <groupId>com.google.guava</groupId>
199                         <artifactId>guava</artifactId>
200                         <version>26.0-jre</version>
201                 </dependency>
202
203
204                 <dependency>
205                         <groupId>org.onap.aai.logging-service</groupId>
206                         <artifactId>common-logging</artifactId>
207                         <version>1.5.0</version>
208                 </dependency>
209
210
211                 <dependency>
212                         <groupId>org.dom4j</groupId>
213                         <artifactId>dom4j</artifactId>
214                         <scope>provided</scope>
215                         <version>2.1.1</version>
216                 </dependency>
217
218                 <dependency>
219                         <groupId>org.eclipse.persistence</groupId>
220                         <artifactId>eclipselink</artifactId>
221                         <version>2.6.2</version>
222                 </dependency>
223
224                 <dependency>
225                         <groupId>org.slf4j</groupId>
226                         <artifactId>slf4j-api</artifactId>
227                         <scope>provided</scope>
228                 </dependency>
229
230                 <dependency>
231                         <groupId>com.fasterxml.jackson.core</groupId>
232                         <artifactId>jackson-core</artifactId>
233                         <scope>provided</scope>
234                 </dependency>
235
236                 <dependency>
237                         <groupId>org.onap.aai.schema-service</groupId>
238                         <artifactId>aai-schema</artifactId>
239                         <version>${version.aai-schema}</version>
240                 </dependency>
241
242         <dependency>
243                     <groupId>org.onap.aai.aai-common</groupId>
244                     <artifactId>aai-schema-ingest</artifactId>
245                     <version>${version.aai.aai-schema-ingest}</version>
246                     <exclusions>
247                                 <exclusion>
248                                 <groupId>org.slf4j</groupId>
249                                 <artifactId>slf4j-log4j12</artifactId>
250                                 </exclusion>
251                     </exclusions>
252             </dependency>
253                                 
254                 <dependency>
255                         <groupId>org.onap.aai</groupId>
256                         <artifactId>rest-client</artifactId>
257                         <version>1.3.0</version>
258                 </dependency>
259
260                 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
261                 <dependency>
262                         <groupId>org.restlet.jee</groupId>
263                         <artifactId>org.restlet.ext.servlet</artifactId>
264                         <version>2.1.1</version>
265                 </dependency>
266
267
268                 <dependency>
269                         <groupId>com.openpojo</groupId>
270                         <artifactId>openpojo</artifactId>
271                         <version>0.8.6</version>
272                 </dependency>
273
274                 <dependency>
275                         <groupId>com.google.code.gson</groupId>
276                         <artifactId>gson</artifactId>
277                         <scope>provided</scope>
278                 </dependency>
279
280
281                 <dependency>
282                         <groupId>org.json</groupId>
283                         <artifactId>json</artifactId>
284                         <scope>provided</scope>
285                 </dependency>
286
287                 <dependency>
288                         <groupId>com.fasterxml.jackson.core</groupId>
289                         <artifactId>jackson-databind</artifactId>
290                         <scope>provided</scope>
291                 </dependency>
292
293                 <dependency>
294                         <groupId>org.onap.portal.sdk</groupId>
295                         <artifactId>epsdk-fw</artifactId>
296                         <exclusions>
297                                 <exclusion>
298                                         <groupId>commons-logging</groupId>
299                                         <artifactId>commons-logging</artifactId>
300                                 </exclusion>
301                                 <exclusion>
302                                         <groupId>log4j</groupId>
303                                         <artifactId>log4j</artifactId>
304                                 </exclusion>
305                                 <exclusion>
306                                         <groupId>log4j</groupId>
307                                         <artifactId>apache-log4j-extras</artifactId>
308                                 </exclusion>
309                                 <exclusion>
310                                         <groupId>org.slf4j</groupId>
311                                         <artifactId>slf4j-log4j12</artifactId>
312                                 </exclusion>
313                         </exclusions>
314                 </dependency>
315
316                 <!-- Test dependencies -->
317
318                 <dependency>
319                         <groupId>org.mockito</groupId>
320                         <artifactId>mockito-all</artifactId>
321                         <version>1.10.19</version>
322                         <scope>test</scope>
323                 </dependency>
324
325                 <dependency>
326                         <groupId>org.powermock</groupId>
327                         <artifactId>powermock-module-junit4</artifactId>
328                         <version>1.6.2</version>
329                         <scope>test</scope>
330                 </dependency>
331                 <dependency>
332                         <groupId>org.powermock</groupId>
333                         <artifactId>powermock-api-mockito</artifactId>
334                         <version>1.6.2</version>
335                         <scope>test</scope>
336                 </dependency>
337                 <dependency>
338                         <groupId>org.powermock</groupId>
339                         <artifactId>powermock-module-javaagent</artifactId>
340                         <version>1.6.2</version>
341                         <scope>test</scope>
342                 </dependency>
343                 <dependency>
344                         <groupId>org.powermock</groupId>
345                         <artifactId>powermock-module-junit4-rule-agent</artifactId>
346                         <version>1.6.2</version>
347                         <scope>test</scope>
348                 </dependency>
349         <dependency>
350                     <groupId>javax.inject</groupId>
351                     <artifactId>javax.inject</artifactId>
352                     <version>1</version>
353                         <scope>test</scope>
354                 </dependency>           
355
356                 <dependency>
357                         <groupId>org.hamcrest</groupId>
358                         <artifactId>hamcrest-library</artifactId>
359                         <scope>test</scope>
360                 </dependency>
361
362         </dependencies>
363
364         <build>
365
366                 <pluginManagement>
367                         <plugins>
368
369
370                                 <plugin>
371                                         <groupId>org.apache.maven.plugins</groupId>
372                                         <artifactId>maven-compiler-plugin</artifactId>
373                                         <configuration>
374                                                 <source>1.8</source>
375                                                 <target>1.8</target>
376                                         </configuration>
377                                 </plugin>
378
379 <!--                            <plugin>
380                                         <groupId>org.apache.maven.plugins</groupId>
381                                         <artifactId>maven-resources-plugin</artifactId>
382                                         <version>2.7</version>
383                                         <executions>
384                                                 <execution>
385                                                         <id>copy-docker-file</id>
386                                                         <phase>package</phase>
387                                                         <goals>
388                                                                 <goal>copy-resources</goal>
389                                                         </goals>
390                                                         <configuration>
391                                                                 <outputDirectory>target</outputDirectory>
392                                                                 <overwrite>true</overwrite>
393                                                                 <resources>
394                                                                         <resource>
395                                                                                 <directory>${basedir}/src/main/docker</directory>
396                                                                                 <filtering>true</filtering>
397                                                                                 <includes>
398                                                                                         <include>**/*</include>
399                                                                                 </includes>
400                                                                         </resource>
401                                                                         <resource>
402                                                                                 <directory>${basedir}/src/main/scripts/</directory>
403                                                                         </resource>
404                                                                 </resources>
405                                                         </configuration>
406                                                 </execution>
407                                         </executions>
408                                 </plugin> -->
409
410                         </plugins>
411
412                 </pluginManagement>
413
414                 <plugins>
415 <!--                    <plugin>
416                                 <groupId>org.springframework.boot</groupId>
417                                 <artifactId>spring-boot-maven-plugin</artifactId>
418                         </plugin>
419  -->
420
421         <!--            <plugin>
422                                 <groupId>org.apache.maven.plugins</groupId>
423                                 <artifactId>maven-resources-plugin</artifactId>
424                                 <version>2.7</version>
425                                 <executions>
426                                         <execution>
427                                                 <id>copy-docker-file</id>
428                                                 <phase>package</phase>
429                                                 <goals>
430                                                         <goal>copy-resources</goal>
431                                                 </goals>
432                                                 <configuration>
433                                                         <outputDirectory>target</outputDirectory>
434                                                         <overwrite>true</overwrite>
435                                                         <resources>
436                                                                 <resource>
437                                                                         <directory>${basedir}/src/main/docker</directory>
438                                                                         <filtering>true</filtering>
439                                                                         <includes>
440                                                                                 <include>**/*</include>
441                                                                         </includes>
442                                                                 </resource>
443                                                                 <resource>
444                                                                         <directory>${basedir}/src/main/bin/</directory>
445                                                                 </resource>
446                                                         </resources>
447                                                 </configuration>
448                                         </execution>
449                                 </executions>
450                         </plugin> -->
451
452 <!--                    <plugin>
453                                 <groupId>org.apache.maven.plugins</groupId>
454                                 <artifactId>maven-dependency-plugin</artifactId>
455                                 <version>3.0.0</version>
456                                 <executions>
457                                         <execution>
458                                                 <id>copy-installed</id>
459                                                 <phase>install</phase>
460                                                 <goals>
461                                                         <goal>copy</goal>
462                                                 </goals>
463                                                 <configuration>
464                                                         <artifactItems>
465                                                                 <artifactItem>
466                                                                         <groupId>${frontEndGroupdId}</groupId>
467                                                                         <artifactId>${frontEndArtifactId}</artifactId>
468                                                                         <version>${frontEndVersion}</version>
469                                                                         <type>war</type>
470                                                                         <outputDirectory>${basedir}/target/</outputDirectory>
471                                                                         <destFileName>aai.war</destFileName>
472                                                                 </artifactItem>
473                                                         </artifactItems>
474                                                 </configuration>
475                                         </execution>
476                                 </executions>
477                         </plugin>
478  -->
479
480 <!--                    <plugin>
481                                 <groupId>org.codehaus.mojo</groupId>
482                                 <artifactId>cobertura-maven-plugin</artifactId>
483                                 <executions>
484                                         <execution>
485                                                 <phase />
486                                         </execution>
487                                 </executions>
488                         </plugin>
489  -->
490                         <plugin>
491                                 <groupId>org.apache.maven.plugins</groupId>
492                                 <artifactId>maven-site-plugin</artifactId>
493                                 <configuration>
494                                         <reportPlugins>
495                                                 <plugin>
496                                                         <groupId>org.apache.maven.plugins</groupId>
497                                                         <artifactId>maven-checkstyle-plugin</artifactId>
498                                                         <version>2.17</version>
499                                                         <reportSets>
500                                                                 <reportSet>
501                                                                         <reports>
502                                                                                 <report>checkstyle</report>
503                                                                         </reports>
504                                                                 </reportSet>
505                                                         </reportSets>
506                                                 </plugin>
507                                         </reportPlugins>
508                                 </configuration>
509                         </plugin>
510
511                 <!--    <plugin>
512                                 <groupId>org.apache.maven.plugins</groupId>
513                                 <artifactId>maven-resources-plugin</artifactId>
514                                 <version>2.7</version>
515                                 <executions>
516                                         <execution>
517                                                 <id>copy-docker-file</id>
518                                                 <phase>package</phase>
519                                                 <goals>
520                                                         <goal>copy-resources</goal>
521                                                 </goals>
522                                                 <configuration>
523                                                         <outputDirectory>target</outputDirectory>
524                                                         <overwrite>true</overwrite>
525                                                         <resources>
526                                                                 <resource>
527                                                                         <directory>${basedir}/src/main/docker</directory>
528                                                                         <filtering>true</filtering>
529                                                                         <includes>
530                                                                                 <include>**/*</include>
531                                                                         </includes>
532                                                                 </resource>
533                                                                 <resource>
534                                                                         <directory>${basedir}/src/main/scripts/</directory>
535                                                                 </resource>
536                                                         </resources>
537                                                 </configuration>
538                                         </execution>
539                                 </executions>
540                         </plugin> -->
541
542 <!--                    <plugin>
543                                 <groupId>com.spotify</groupId>
544                                 <artifactId>docker-maven-plugin</artifactId>
545                                 <version>0.4.11</version>
546                                 <configuration>
547                                         <verbose>true</verbose>
548                                         <serverId>docker-hub</serverId>
549                                         <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
550                                         <dockerDirectory>${docker.location}</dockerDirectory>
551                                         <imageTags>
552                                                 <imageTag>latest</imageTag>
553                                         </imageTags>
554                                         <forceTags>true</forceTags>
555                                 </configuration>
556                         </plugin> -->
557                         <!-- license plugin -->
558 <!--                    <plugin>
559                                 <groupId>com.mycila</groupId>
560                                 <artifactId>license-maven-plugin</artifactId>
561                                 <version>3.0</version>
562                                 <configuration>
563                                         <header>LICENSE</header>
564                                         <includes>
565                                                 <include>src/main/java/**</include>
566                                         </includes>
567                                 </configuration>
568                                 <executions>
569                                         <execution>
570                                                 <goals>
571                                                         <goal>format</goal>
572                                                 </goals>
573                                                 <phase>process-sources</phase>
574                                         </execution>
575                                 </executions>
576                         </plugin>
577  -->
578 <plugin>
579             <groupId>org.apache.maven.plugins</groupId>
580                     <artifactId>maven-deploy-plugin</artifactId>
581                     <version>2.8.2</version>
582                 </plugin>
583               </plugins>
584 </build>
585
586         
587     <distributionManagement>
588        <repository>
589           <id>ecomp-releases</id>
590           <name>ECOMP Release Repository</name>
591           <url>${onap.nexus.url}/content/repositories/releases/</url>
592        </repository>
593        <snapshotRepository>
594           <id>ecomp-snapshots</id>
595           <name>ECOMP Snapshot Repository</name>
596           <url>${onap.nexus.url}/content/repositories/snapshots/</url>
597       </snapshotRepository>
598       <site>
599         <id>ecomp-site</id>
600         <url>dav:${onap.nexus.url}${sitePath}</url>
601       </site>
602    </distributionManagement>
603
604     <repositories>
605         <repository>
606             <id>central</id>
607             <name>Maven 2 repository 2</name>
608             <url>http://repo2.maven.org/maven2/</url>
609         </repository>
610         <repository>
611             <id>ecomp-releases</id>
612             <name>ECOMP Release Repository</name>
613             <url>${onap.nexus.url}/content/repositories/releases/</url>
614         </repository>
615         <repository>
616             <id>ecomp-staging</id>
617             <name>ECOMP Staging Repository</name>
618             <url>${onap.nexus.url}/content/repositories/staging/</url>
619         </repository>
620         <repository>
621             <id>ecomp-snapshots</id>
622             <name>ECOMP Snapshot Repository</name>
623             <url>${onap.nexus.url}/content/repositories/snapshots/</url>
624         </repository>
625     </repositories>
626
627
628
629 </project>