Upversion artifacts to 1.8.0-SNAPSHOT
[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.8.0-SNAPSHOT</version>
8         </parent>
9
10         <groupId>org.onap.aai.sparky-be</groupId>
11         <artifactId>sparkybe-onap-service</artifactId>
12         <version>1.8.0-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.6</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.7.7</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                 <dependency>
317                         <groupId>jakarta.xml.bind</groupId>
318                         <artifactId>jakarta.xml.bind-api</artifactId>
319                         <version>2.3.3</version>
320                 </dependency>
321
322                 <dependency>
323                         <groupId>javax.json</groupId>
324                         <artifactId>javax.json-api</artifactId>
325                         <version>1.1</version>
326                 </dependency>
327
328                 <dependency>
329                         <groupId>org.glassfish</groupId>
330                         <artifactId>javax.json</artifactId>
331                         <version>1.1</version>
332                 </dependency>
333
334                 <!-- Test dependencies -->
335
336                 <dependency>
337                         <groupId>org.mockito</groupId>
338                         <artifactId>mockito-all</artifactId>
339                         <version>1.10.19</version>
340                         <scope>test</scope>
341                 </dependency>
342
343                 <dependency>
344                         <groupId>org.powermock</groupId>
345                         <artifactId>powermock-module-junit4</artifactId>
346                         <version>1.6.2</version>
347                         <scope>test</scope>
348                 </dependency>
349                 <dependency>
350                         <groupId>org.powermock</groupId>
351                         <artifactId>powermock-api-mockito</artifactId>
352                         <version>1.6.2</version>
353                         <scope>test</scope>
354                 </dependency>
355                 <dependency>
356                         <groupId>org.powermock</groupId>
357                         <artifactId>powermock-module-javaagent</artifactId>
358                         <version>1.6.2</version>
359                         <scope>test</scope>
360                 </dependency>
361                 <dependency>
362                         <groupId>org.powermock</groupId>
363                         <artifactId>powermock-module-junit4-rule-agent</artifactId>
364                         <version>1.6.2</version>
365                         <scope>test</scope>
366                 </dependency>
367         <dependency>
368                     <groupId>javax.inject</groupId>
369                     <artifactId>javax.inject</artifactId>
370                     <version>1</version>
371                         <scope>test</scope>
372                 </dependency>           
373
374                 <dependency>
375                         <groupId>org.hamcrest</groupId>
376                         <artifactId>hamcrest-library</artifactId>
377                         <scope>test</scope>
378                 </dependency>
379
380         </dependencies>
381
382         <build>
383
384                 <pluginManagement>
385                         <plugins>
386
387
388                                 <plugin>
389                                         <groupId>org.apache.maven.plugins</groupId>
390                                         <artifactId>maven-compiler-plugin</artifactId>
391                                         <configuration>
392                                                 <source>1.8</source>
393                                                 <target>1.8</target>
394                                         </configuration>
395                                 </plugin>
396
397 <!--                            <plugin>
398                                         <groupId>org.apache.maven.plugins</groupId>
399                                         <artifactId>maven-resources-plugin</artifactId>
400                                         <version>2.7</version>
401                                         <executions>
402                                                 <execution>
403                                                         <id>copy-docker-file</id>
404                                                         <phase>package</phase>
405                                                         <goals>
406                                                                 <goal>copy-resources</goal>
407                                                         </goals>
408                                                         <configuration>
409                                                                 <outputDirectory>target</outputDirectory>
410                                                                 <overwrite>true</overwrite>
411                                                                 <resources>
412                                                                         <resource>
413                                                                                 <directory>${basedir}/src/main/docker</directory>
414                                                                                 <filtering>true</filtering>
415                                                                                 <includes>
416                                                                                         <include>**/*</include>
417                                                                                 </includes>
418                                                                         </resource>
419                                                                         <resource>
420                                                                                 <directory>${basedir}/src/main/scripts/</directory>
421                                                                         </resource>
422                                                                 </resources>
423                                                         </configuration>
424                                                 </execution>
425                                         </executions>
426                                 </plugin> -->
427
428                         </plugins>
429
430                 </pluginManagement>
431
432                 <plugins>
433 <!--                    <plugin>
434                                 <groupId>org.springframework.boot</groupId>
435                                 <artifactId>spring-boot-maven-plugin</artifactId>
436                         </plugin>
437  -->
438
439         <!--            <plugin>
440                                 <groupId>org.apache.maven.plugins</groupId>
441                                 <artifactId>maven-resources-plugin</artifactId>
442                                 <version>2.7</version>
443                                 <executions>
444                                         <execution>
445                                                 <id>copy-docker-file</id>
446                                                 <phase>package</phase>
447                                                 <goals>
448                                                         <goal>copy-resources</goal>
449                                                 </goals>
450                                                 <configuration>
451                                                         <outputDirectory>target</outputDirectory>
452                                                         <overwrite>true</overwrite>
453                                                         <resources>
454                                                                 <resource>
455                                                                         <directory>${basedir}/src/main/docker</directory>
456                                                                         <filtering>true</filtering>
457                                                                         <includes>
458                                                                                 <include>**/*</include>
459                                                                         </includes>
460                                                                 </resource>
461                                                                 <resource>
462                                                                         <directory>${basedir}/src/main/bin/</directory>
463                                                                 </resource>
464                                                         </resources>
465                                                 </configuration>
466                                         </execution>
467                                 </executions>
468                         </plugin> -->
469
470 <!--                    <plugin>
471                                 <groupId>org.apache.maven.plugins</groupId>
472                                 <artifactId>maven-dependency-plugin</artifactId>
473                                 <version>3.0.0</version>
474                                 <executions>
475                                         <execution>
476                                                 <id>copy-installed</id>
477                                                 <phase>install</phase>
478                                                 <goals>
479                                                         <goal>copy</goal>
480                                                 </goals>
481                                                 <configuration>
482                                                         <artifactItems>
483                                                                 <artifactItem>
484                                                                         <groupId>${frontEndGroupdId}</groupId>
485                                                                         <artifactId>${frontEndArtifactId}</artifactId>
486                                                                         <version>${frontEndVersion}</version>
487                                                                         <type>war</type>
488                                                                         <outputDirectory>${basedir}/target/</outputDirectory>
489                                                                         <destFileName>aai.war</destFileName>
490                                                                 </artifactItem>
491                                                         </artifactItems>
492                                                 </configuration>
493                                         </execution>
494                                 </executions>
495                         </plugin>
496  -->
497
498 <!--                    <plugin>
499                                 <groupId>org.codehaus.mojo</groupId>
500                                 <artifactId>cobertura-maven-plugin</artifactId>
501                                 <executions>
502                                         <execution>
503                                                 <phase />
504                                         </execution>
505                                 </executions>
506                         </plugin>
507  -->
508                         <plugin>
509                                 <groupId>org.apache.maven.plugins</groupId>
510                                 <artifactId>maven-site-plugin</artifactId>
511                                 <configuration>
512                                         <reportPlugins>
513                                                 <plugin>
514                                                         <groupId>org.apache.maven.plugins</groupId>
515                                                         <artifactId>maven-checkstyle-plugin</artifactId>
516                                                         <version>2.17</version>
517                                                         <reportSets>
518                                                                 <reportSet>
519                                                                         <reports>
520                                                                                 <report>checkstyle</report>
521                                                                         </reports>
522                                                                 </reportSet>
523                                                         </reportSets>
524                                                 </plugin>
525                                         </reportPlugins>
526                                 </configuration>
527                         </plugin>
528
529                 <!--    <plugin>
530                                 <groupId>org.apache.maven.plugins</groupId>
531                                 <artifactId>maven-resources-plugin</artifactId>
532                                 <version>2.7</version>
533                                 <executions>
534                                         <execution>
535                                                 <id>copy-docker-file</id>
536                                                 <phase>package</phase>
537                                                 <goals>
538                                                         <goal>copy-resources</goal>
539                                                 </goals>
540                                                 <configuration>
541                                                         <outputDirectory>target</outputDirectory>
542                                                         <overwrite>true</overwrite>
543                                                         <resources>
544                                                                 <resource>
545                                                                         <directory>${basedir}/src/main/docker</directory>
546                                                                         <filtering>true</filtering>
547                                                                         <includes>
548                                                                                 <include>**/*</include>
549                                                                         </includes>
550                                                                 </resource>
551                                                                 <resource>
552                                                                         <directory>${basedir}/src/main/scripts/</directory>
553                                                                 </resource>
554                                                         </resources>
555                                                 </configuration>
556                                         </execution>
557                                 </executions>
558                         </plugin> -->
559
560 <!--                    <plugin>
561                                 <groupId>com.spotify</groupId>
562                                 <artifactId>docker-maven-plugin</artifactId>
563                                 <version>0.4.11</version>
564                                 <configuration>
565                                         <verbose>true</verbose>
566                                         <serverId>docker-hub</serverId>
567                                         <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
568                                         <dockerDirectory>${docker.location}</dockerDirectory>
569                                         <imageTags>
570                                                 <imageTag>latest</imageTag>
571                                         </imageTags>
572                                         <forceTags>true</forceTags>
573                                 </configuration>
574                         </plugin> -->
575                         <!-- license plugin -->
576 <!--                    <plugin>
577                                 <groupId>com.mycila</groupId>
578                                 <artifactId>license-maven-plugin</artifactId>
579                                 <version>3.0</version>
580                                 <configuration>
581                                         <header>LICENSE</header>
582                                         <includes>
583                                                 <include>src/main/java/**</include>
584                                         </includes>
585                                 </configuration>
586                                 <executions>
587                                         <execution>
588                                                 <goals>
589                                                         <goal>format</goal>
590                                                 </goals>
591                                                 <phase>process-sources</phase>
592                                         </execution>
593                                 </executions>
594                         </plugin>
595  -->
596 <plugin>
597             <groupId>org.apache.maven.plugins</groupId>
598                     <artifactId>maven-deploy-plugin</artifactId>
599                     <version>2.8.2</version>
600                 </plugin>
601               </plugins>
602 </build>
603
604         
605     <distributionManagement>
606        <repository>
607           <id>ecomp-releases</id>
608           <name>ECOMP Release Repository</name>
609           <url>${onap.nexus.url}/content/repositories/releases/</url>
610        </repository>
611        <snapshotRepository>
612           <id>ecomp-snapshots</id>
613           <name>ECOMP Snapshot Repository</name>
614           <url>${onap.nexus.url}/content/repositories/snapshots/</url>
615       </snapshotRepository>
616       <site>
617         <id>ecomp-site</id>
618         <url>dav:${onap.nexus.url}${sitePath}</url>
619       </site>
620    </distributionManagement>
621
622     <repositories>
623         <repository>
624             <id>central</id>
625             <name>Maven 2 repository 2</name>
626             <url>http://repo2.maven.org/maven2/</url>
627         </repository>
628         <repository>
629             <id>ecomp-releases</id>
630             <name>ECOMP Release Repository</name>
631             <url>${onap.nexus.url}/content/repositories/releases/</url>
632         </repository>
633         <repository>
634             <id>ecomp-staging</id>
635             <name>ECOMP Staging Repository</name>
636             <url>${onap.nexus.url}/content/repositories/staging/</url>
637         </repository>
638         <repository>
639             <id>ecomp-snapshots</id>
640             <name>ECOMP Snapshot Repository</name>
641             <url>${onap.nexus.url}/content/repositories/snapshots/</url>
642         </repository>
643     </repositories>
644
645
646
647 </project>