80b50f9d5b98d50dd0fcbf3b4f2a46c55c9ad434
[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>2.0.5-SNAPSHOT</version>
8         </parent>
9
10         <groupId>org.onap.aai.sparky-be</groupId>
11         <artifactId>sparkybe-onap-service</artifactId>
12         <version>2.0.5-SNAPSHOT</version>
13         <packaging>jar</packaging>
14
15         <properties>
16                 <java.version>11</java.version>
17                 <frontEndGroupdId>org.onap.aai</frontEndGroupdId>
18                 <frontEndArtifactId>sparky-fe</frontEndArtifactId>
19                 <frontEndVersion>2.0.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                 <!-- Camel -->
127                 <dependency>
128                         <groupId>org.apache.camel</groupId>
129                         <artifactId>camel-spring-boot-starter</artifactId>
130                 </dependency>
131
132                 <dependency>
133                         <groupId>commons-io</groupId>
134                         <artifactId>commons-io</artifactId>
135                         </dependency>
136
137                 <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-util -->
138                 <dependency>
139                         <groupId>org.eclipse.jetty</groupId>
140                         <artifactId>jetty-util</artifactId>
141                         <scope>provided</scope>
142                 </dependency>
143
144                 <dependency>
145                         <groupId>org.apache.camel</groupId>
146                         <artifactId>camel-servlet-starter</artifactId>
147                 </dependency>
148
149                 <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
150                 <dependency>
151                         <groupId>commons-cli</groupId>
152                         <artifactId>commons-cli</artifactId>
153                         <version>1.2</version>
154                 </dependency>
155
156                 <!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId>
157                         </dependency> -->
158
159
160                 <!-- https://mvnrepository.com/artifact/org.apache.camel/camel-http-common -->
161                 <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId>
162                         <version>2.15.5</version> </dependency> <dependency> <groupId>abc.def</groupId>
163                         <artifactId>att-camel-dme2-servlet</artifactId> <version>2.15.5</version>
164                         <scope>system</scope> <systemPath>x:/222/att-camel-dme2-servlet-2.15.5.jar</systemPath>
165                         </dependency> <dependency> <groupId>abc.def</groupId> <artifactId>att-camel-static-content</artifactId>
166                         <version>2.11.2.1</version> <scope>system</scope> <systemPath>x:/222/att-camel-static-content-2.11.2.1.jar</systemPath>
167                         </dependency> -->
168
169                 <!-- Utility dependencies -->
170
171                 <dependency>
172                         <groupId>com.google.guava</groupId>
173                         <artifactId>guava</artifactId>
174                         <version>26.0-jre</version>
175                 </dependency>
176
177
178                 <dependency>
179                         <groupId>org.onap.aai.logging-service</groupId>
180                         <artifactId>common-logging</artifactId>
181                         <version>1.5.0</version>
182                 </dependency>
183
184
185                 <dependency>
186                         <groupId>org.dom4j</groupId>
187                         <artifactId>dom4j</artifactId>
188                         <scope>provided</scope>
189                         <version>2.1.1</version>
190                 </dependency>
191
192                 <dependency>
193                         <groupId>org.eclipse.persistence</groupId>
194                         <artifactId>eclipselink</artifactId>
195                         <version>2.7.7</version>
196                 </dependency>
197
198                 <dependency>
199                         <groupId>org.slf4j</groupId>
200                         <artifactId>slf4j-api</artifactId>
201                         <scope>provided</scope>
202                 </dependency>
203
204                 <dependency>
205                         <groupId>com.fasterxml.jackson.core</groupId>
206                         <artifactId>jackson-core</artifactId>
207                         <scope>provided</scope>
208                 </dependency>
209
210                 <dependency>
211                         <groupId>org.onap.aai.schema-service</groupId>
212                         <artifactId>aai-schema</artifactId>
213                         <version>${version.aai-schema}</version>
214                 </dependency>
215
216         <dependency>
217                     <groupId>org.onap.aai.aai-common</groupId>
218                     <artifactId>aai-schema-ingest</artifactId>
219                     <version>${version.aai.aai-schema-ingest}</version>
220                     <exclusions>
221                                 <exclusion>
222                                 <groupId>org.slf4j</groupId>
223                                 <artifactId>slf4j-log4j12</artifactId>
224                                 </exclusion>
225                     </exclusions>
226             </dependency>
227                                 
228                 <dependency>
229                         <groupId>org.onap.aai</groupId>
230                         <artifactId>rest-client</artifactId>
231                         <version>1.3.0</version>
232                 </dependency>
233
234                 <!-- https://mvnrepository.com/artifact/org.restlet.jee/org.restlet.ext.servlet -->
235                 <dependency>
236                         <groupId>org.restlet.jee</groupId>
237                         <artifactId>org.restlet.ext.servlet</artifactId>
238                         <version>2.1.1</version>
239                 </dependency>
240
241
242                 <dependency>
243                         <groupId>com.openpojo</groupId>
244                         <artifactId>openpojo</artifactId>
245                         <version>0.8.6</version>
246                 </dependency>
247
248                 <dependency>
249                         <groupId>com.google.code.gson</groupId>
250                         <artifactId>gson</artifactId>
251                         <scope>provided</scope>
252                 </dependency>
253
254
255                 <dependency>
256                         <groupId>org.json</groupId>
257                         <artifactId>json</artifactId>
258                         <scope>provided</scope>
259                 </dependency>
260
261                 <dependency>
262                         <groupId>com.fasterxml.jackson.core</groupId>
263                         <artifactId>jackson-databind</artifactId>
264                         <scope>provided</scope>
265                 </dependency>
266
267                 <dependency>
268                         <groupId>org.onap.portal.sdk</groupId>
269                         <artifactId>epsdk-fw</artifactId>
270                         <exclusions>
271                                 <exclusion>
272                                         <groupId>commons-logging</groupId>
273                                         <artifactId>commons-logging</artifactId>
274                                 </exclusion>
275                                 <exclusion>
276                                         <groupId>log4j</groupId>
277                                         <artifactId>log4j</artifactId>
278                                 </exclusion>
279                                 <exclusion>
280                                         <groupId>log4j</groupId>
281                                         <artifactId>apache-log4j-extras</artifactId>
282                                 </exclusion>
283                                 <exclusion>
284                                         <groupId>org.slf4j</groupId>
285                                         <artifactId>slf4j-log4j12</artifactId>
286                                 </exclusion>
287                         </exclusions>
288                 </dependency>
289
290                 <dependency>
291                         <groupId>jakarta.xml.bind</groupId>
292                         <artifactId>jakarta.xml.bind-api</artifactId>
293                         <version>2.3.3</version>
294                 </dependency>
295
296                 <dependency>
297                         <groupId>javax.json</groupId>
298                         <artifactId>javax.json-api</artifactId>
299                         <version>1.1</version>
300                 </dependency>
301
302                 <dependency>
303                         <groupId>org.glassfish</groupId>
304                         <artifactId>javax.json</artifactId>
305                         <version>1.1</version>
306                 </dependency>
307
308                 <!-- Test dependencies -->
309
310                 <dependency>
311                         <groupId>org.mockito</groupId>
312                         <artifactId>mockito-all</artifactId>
313                         <version>1.10.19</version>
314                         <scope>test</scope>
315                 </dependency>
316
317                 <dependency>
318                         <groupId>org.powermock</groupId>
319                         <artifactId>powermock-module-junit4</artifactId>
320                         <version>1.6.2</version>
321                         <scope>test</scope>
322                 </dependency>
323                 <dependency>
324                         <groupId>org.powermock</groupId>
325                         <artifactId>powermock-api-mockito</artifactId>
326                         <version>1.6.2</version>
327                         <scope>test</scope>
328                 </dependency>
329                 <dependency>
330                         <groupId>org.powermock</groupId>
331                         <artifactId>powermock-module-javaagent</artifactId>
332                         <version>1.6.2</version>
333                         <scope>test</scope>
334                 </dependency>
335                 <dependency>
336                         <groupId>org.powermock</groupId>
337                         <artifactId>powermock-module-junit4-rule-agent</artifactId>
338                         <version>1.6.2</version>
339                         <scope>test</scope>
340                 </dependency>
341         <dependency>
342                     <groupId>javax.inject</groupId>
343                     <artifactId>javax.inject</artifactId>
344                     <version>1</version>
345                         <scope>test</scope>
346                 </dependency>           
347
348                 <dependency>
349                         <groupId>org.hamcrest</groupId>
350                         <artifactId>hamcrest-library</artifactId>
351                         <scope>test</scope>
352                 </dependency>
353
354 </dependencies>
355
356 <build>
357                 <pluginManagement>
358                         <plugins>
359                                 <plugin>
360                                         <groupId>org.apache.maven.plugins</groupId>
361                                         <artifactId>maven-compiler-plugin</artifactId>
362                                         <version>3.8.0</version>
363                                         <configuration>
364                                                 <release>11</release>  <!--or <release>10</release>-->
365                                         </configuration>
366                                 </plugin>
367                         </plugins>
368                 </pluginManagement>
369
370                 <plugins>
371                         <plugin>
372                                 <groupId>org.apache.maven.plugins</groupId>
373                                 <artifactId>maven-site-plugin</artifactId>
374                                 <configuration>
375                                         <reportPlugins>
376                                                 <plugin>
377                                                         <groupId>org.apache.maven.plugins</groupId>
378                                                         <artifactId>maven-checkstyle-plugin</artifactId>
379                                                         <version>2.17</version>
380                                                         <reportSets>
381                                                                 <reportSet>
382                                                                         <reports>
383                                                                                 <report>checkstyle</report>
384                                                                         </reports>
385                                                                 </reportSet>
386                                                         </reportSets>
387                                                 </plugin>
388                                         </reportPlugins>
389                                 </configuration>
390                         </plugin>
391                         <plugin>
392         <groupId>org.apache.maven.plugins</groupId>
393         <artifactId>maven-deploy-plugin</artifactId>
394         <version>2.8.2</version>
395         </plugin>
396             </plugins>
397 </build>
398
399         
400 <distributionManagement>
401        <repository>
402           <id>ecomp-releases</id>
403           <name>ECOMP Release Repository</name>
404           <url>${onap.nexus.url}/content/repositories/releases/</url>
405        </repository>
406        <snapshotRepository>
407           <id>ecomp-snapshots</id>
408           <name>ECOMP Snapshot Repository</name>
409           <url>${onap.nexus.url}/content/repositories/snapshots/</url>
410       </snapshotRepository>
411       <site>
412         <id>ecomp-site</id>
413         <url>dav:${onap.nexus.url}${sitePath}</url>
414       </site>
415 </distributionManagement>
416
417 <repositories>
418         <repository>
419             <id>central</id>
420             <name>Maven 2 repository 2</name>
421             <url>http://repo2.maven.org/maven2/</url>
422         </repository>
423         <repository>
424             <id>ecomp-releases</id>
425             <name>ECOMP Release Repository</name>
426             <url>${onap.nexus.url}/content/repositories/releases/</url>
427         </repository>
428         <repository>
429             <id>ecomp-staging</id>
430             <name>ECOMP Staging Repository</name>
431             <url>${onap.nexus.url}/content/repositories/staging/</url>
432         </repository>
433         <repository>
434             <id>ecomp-snapshots</id>
435             <name>ECOMP Snapshot Repository</name>
436             <url>${onap.nexus.url}/content/repositories/snapshots/</url>
437         </repository>
438 </repositories>
439 </project>