Merge "Update for new code coverage sonarcloud configuration Issue-ID: EXTAPI-400...
[externalapi/nbi.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4         Copyright (c) 2018 Orange
5
6         Licensed under the Apache License, Version 2.0 (the "License");
7         you may not use this file except in compliance with the License.
8         You may obtain a copy of the License at
9
10             http://www.apache.org/licenses/LICENSE-2.0
11
12         Unless required by applicable law or agreed to in writing, software
13         distributed under the License is distributed on an "AS IS" BASIS,
14         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15         See the License for the specific language governing permissions and
16         limitations under the License.
17
18 -->
19 <!-- Copyright (c) 2018 Orange Licensed under the Apache License, Version 
20         2.0 (the "License"); you may not use this file except in compliance with 
21         the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 
22         Unless required by applicable law or agreed to in writing, software distributed 
23         under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES 
24         OR CONDITIONS OF ANY KIND, either express or implied. See the License for 
25         the specific language governing permissions and limitations under the License. -->
26 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27   xmlns="http://maven.apache.org/POM/4.0.0"
28   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
29   <modelVersion>4.0.0</modelVersion>
30
31   <groupId>org.onap.externalapi-nbi</groupId>
32   <artifactId>nbi-rest-services</artifactId>
33   <version>5.0.1-SNAPSHOT</version>
34   <packaging>jar</packaging>
35
36   <name>externalapi-nbi</name>
37
38   <parent>
39     <groupId>org.onap.oparent</groupId>
40     <artifactId>oparent</artifactId>
41       <version>3.0.0</version>
42   </parent>
43
44   <properties>
45     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
47     <start-class>org.onap.nbi.Application</start-class>
48     <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
49     <nexusproxy>https://nexus.onap.org</nexusproxy>
50     <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
51     <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
52     <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
53     <java.version>1.8</java.version>
54     <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
55     <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
56     <timestamp>${maven.build.timestamp}</timestamp>
57     <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
58     <!--docker -->
59     <docker.tag>${project.version}-${timestamp}</docker.tag>
60     <docker.latest.tag>${project.version}-latest</docker.latest.tag>
61     <!--sonar -->
62     <sonar.language>java</sonar.language>
63     <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
64     </sonar.surefire.reportsPath>
65     <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
66     <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
67     <sonar.projectVersion>${project.version}</sonar.projectVersion>
68     <sonar.coverage.exclusions>**/model/**/*</sonar.coverage.exclusions>
69   </properties>
70
71   <!--<repositories>-->
72   <!--<repository>-->
73   <!--<id>maven2-repository.java.net</id>-->
74   <!--<name>Java.net Repository for Maven</name>-->
75   <!--<url>http://download.java.net/maven/2/</url>-->
76   <!--<layout>default</layout>-->
77   <!--</repository>-->
78   <!--<repository>-->
79   <!--<id>ecomp-release</id>-->
80   <!--<name>Snapshot Repository</name>-->
81   <!--<url>https://nexus.onap.org/content/repositories/releases/</url>-->
82   <!--</repository>-->
83   <!--<repository>-->
84   <!--<id>ecomp-staging</id>-->
85   <!--<name>Staging Repository</name>-->
86   <!--<url>https://nexus.onap.org/content/repositories/staging/</url>-->
87   <!--</repository>-->
88   <!--<repository>-->
89   <!--<id>ecomp-snapshots</id>-->
90   <!--<name>Snapshot Repository</name>-->
91   <!--<url>https://nexus.onap.org/content/repositories/snapshots/</url>-->
92   <!--</repository>-->
93   <!--</repositories>-->
94
95   <distributionManagement>
96     <repository>
97       <id>ecomp-releases</id>
98       <name>Release Repository</name>
99       <url>${nexusproxy}/${releaseNexusPath}</url>
100     </repository>
101     <snapshotRepository>
102       <id>ecomp-snapshots</id>
103       <name>Snapshot Repository</name>
104       <url>${nexusproxy}/${snapshotNexusPath}</url>
105     </snapshotRepository>
106   </distributionManagement>
107
108   <licenses>
109     <license>
110       <name>Apache2</name>
111       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
112     </license>
113   </licenses>
114
115   <dependencyManagement>
116     <dependencies>
117       <dependency>
118         <groupId>org.springframework.boot</groupId>
119         <artifactId>spring-boot-dependencies</artifactId>
120         <version>2.2.2.RELEASE</version>
121         <type>pom</type>
122         <scope>import</scope>
123       </dependency>
124     </dependencies>
125   </dependencyManagement>
126
127   <dependencies>
128
129     <dependency>
130       <groupId>org.springframework.boot</groupId>
131       <artifactId>spring-boot-starter-web</artifactId>
132       <exclusions>
133         <exclusion>
134           <groupId>org.apache.tomcat.embed</groupId>
135           <artifactId>tomcat-embed-core</artifactId>
136         </exclusion>
137       </exclusions>
138     </dependency>
139
140     <dependency>
141       <groupId>org.apache.tomcat.embed</groupId>
142       <artifactId>tomcat-embed-core</artifactId>
143       <version>9.0.30</version>
144     </dependency>
145
146     <dependency>
147       <groupId>org.springframework.boot</groupId>
148       <artifactId>spring-boot-starter-data-jpa</artifactId>
149     </dependency>
150
151     <dependency>
152       <groupId>org.springframework.boot</groupId>
153       <artifactId>spring-boot-starter-aop</artifactId>
154     </dependency>
155
156     <dependency>
157       <groupId>commons-io</groupId>
158       <artifactId>commons-io</artifactId>
159       <version>2.6</version>
160     </dependency>
161
162     <dependency>
163       <groupId>commons-beanutils</groupId>
164       <artifactId>commons-beanutils</artifactId>
165     </dependency>
166
167     <dependency>
168       <groupId>javax.validation</groupId>
169       <artifactId>validation-api</artifactId>
170     </dependency>
171
172     <dependency>
173       <groupId>org.apache.commons</groupId>
174       <artifactId>commons-lang3</artifactId>
175     </dependency>
176
177     <!-- mongo -->
178
179     <dependency>
180       <groupId>org.springframework.boot</groupId>
181       <artifactId>spring-boot-starter-data-mongodb</artifactId>
182     </dependency>
183
184     <!-- mysql -->
185
186     <dependency>
187       <groupId>org.mariadb.jdbc</groupId>
188       <artifactId>mariadb-java-client</artifactId>
189     </dependency>
190
191     <!-- swagger -->
192
193     <dependency>
194       <groupId>io.swagger</groupId>
195       <artifactId>swagger-annotations</artifactId>
196       <version>1.5.23</version>
197     </dependency>
198
199     <!-- swagger core -->
200     <dependency>
201       <groupId>io.swagger</groupId>
202       <artifactId>swagger-core</artifactId>
203       <version>1.5.23</version>
204     </dependency>
205
206     <!-- jackson -->
207     
208     <dependency>
209       <groupId>com.fasterxml.jackson.core</groupId>
210       <artifactId>jackson-databind</artifactId>
211       <version>2.10.1</version>
212         </dependency>   
213
214     <dependency>
215       <groupId>com.fasterxml.jackson.dataformat</groupId>
216       <artifactId>jackson-dataformat-yaml</artifactId>
217     </dependency>
218
219     <!-- sdc tosca parser -->
220
221     <dependency>
222       <groupId>org.onap.sdc.sdc-tosca</groupId>
223       <artifactId>sdc-tosca</artifactId>
224       <version>1.6.0</version>
225       <exclusions>
226         <exclusion>
227           <groupId>com.google.guava</groupId>
228           <artifactId>guava</artifactId>
229         </exclusion>
230         <exclusion>
231           <groupId>commons-codec</groupId>
232           <artifactId>commons-codec</artifactId>
233         </exclusion>
234       </exclusions>
235     </dependency>
236
237     <dependency>
238       <groupId>commons-codec</groupId>
239       <artifactId>commons-codec</artifactId>
240       <version>1.13</version>
241     </dependency>
242
243     <!-- jolt -->
244
245     <dependency>
246       <groupId>com.bazaarvoice.jolt</groupId>
247       <artifactId>jolt-core</artifactId>
248       <version>0.1.1</version>
249       <exclusions>
250         <exclusion>
251           <groupId>com.fasterxml.jackson.core</groupId>
252           <artifactId>jackson-databind</artifactId>
253         </exclusion>
254       </exclusions>
255     </dependency>
256
257     <dependency>
258       <groupId>com.bazaarvoice.jolt</groupId>
259       <artifactId>json-utils</artifactId>
260       <version>0.1.1</version>
261       <exclusions>
262         <exclusion>
263           <groupId>com.fasterxml.jackson.core</groupId>
264           <artifactId>jackson-databind</artifactId>
265         </exclusion>
266       </exclusions>
267     </dependency>
268
269     <!-- test -->
270
271     <dependency>
272       <groupId>org.springframework.boot</groupId>
273       <artifactId>spring-boot-starter-test</artifactId>
274       <scope>test</scope>
275     </dependency>
276
277     <!-- test h2 -->
278
279     <dependency>
280       <groupId>com.h2database</groupId>
281       <artifactId>h2</artifactId>
282       <scope>test</scope>
283     </dependency>
284
285     <dependency>
286       <groupId>de.flapdoodle.embed</groupId>
287       <artifactId>de.flapdoodle.embed.mongo</artifactId>
288       <scope>test</scope>
289     </dependency>
290
291     <!-- test wiremock -->
292
293     <dependency>
294       <groupId>org.springframework.cloud</groupId>
295       <artifactId>spring-cloud-contract-wiremock</artifactId>
296       <version>1.2.7.RELEASE</version>
297       <scope>test</scope>
298       <exclusions>
299         <exclusion>
300           <groupId>com.fasterxml.jackson.core</groupId>
301           <artifactId>jackson-databind</artifactId>
302         </exclusion>
303         <exclusion>
304           <groupId>commons-codec</groupId>
305           <artifactId>commons-codec</artifactId>
306         </exclusion>
307       </exclusions>
308     </dependency>
309
310     <dependency>
311       <groupId>org.eclipse.jetty</groupId>
312       <artifactId>jetty-servlet</artifactId>
313       <scope>test</scope>
314     </dependency>
315
316     <dependency>
317       <groupId>org.eclipse.jetty</groupId>
318       <artifactId>jetty-servlets</artifactId>
319       <scope>test</scope>
320     </dependency>
321
322     <!-- runtime dev -->
323
324     <dependency>
325       <groupId>org.springframework.boot</groupId>
326       <artifactId>spring-boot-devtools</artifactId>
327       <scope>runtime</scope>
328     </dependency>
329
330     <!-- MSB SDK -->
331     <dependency>
332       <groupId>org.onap.msb.java-sdk</groupId>
333       <artifactId>msb-java-sdk</artifactId>
334       <version>1.2.5</version>
335       <exclusions>
336         <exclusion>
337           <groupId>com.google.guava</groupId>
338           <artifactId>guava</artifactId>
339         </exclusion>
340         <exclusion>
341           <groupId>com.squareup.okhttp3</groupId>
342           <artifactId>okhttp</artifactId>
343         </exclusion>
344         <exclusion>
345           <groupId>com.squareup.retrofit2</groupId>
346           <artifactId>retrofit</artifactId>
347         </exclusion>        
348       </exclusions>
349     </dependency>
350
351     <dependency>
352       <groupId>com.squareup.okhttp3</groupId>
353       <artifactId>okhttp</artifactId>
354       <version>4.3.1</version>
355     </dependency>
356
357     <dependency>
358       <groupId>com.google.guava</groupId>
359       <artifactId>guava</artifactId>
360     </dependency>
361     
362     <dependency>
363       <groupId>com.squareup.retrofit2</groupId>
364       <artifactId>retrofit</artifactId>
365       <version>2.7.1</version>
366     </dependency>    
367
368     <!-- karate -->
369
370     <dependency>
371       <groupId>com.intuit.karate</groupId>
372       <artifactId>karate-junit4</artifactId>
373       <version>0.9.4</version>
374       <scope>test</scope>
375     </dependency>
376
377     <dependency>
378       <groupId>com.intuit.karate</groupId>
379       <artifactId>karate-apache</artifactId>
380       <version>0.9.4</version>
381       <scope>test</scope>
382     </dependency>
383
384   </dependencies>
385
386   <build>
387     <testResources>
388       <testResource>
389         <directory>src/test/java</directory>
390         <excludes>
391           <exclude>**/*.java</exclude>
392         </excludes>
393       </testResource>
394       <testResource>
395         <directory>src/test/resources</directory>
396       </testResource>
397     </testResources>
398     <plugins>
399       <plugin>
400         <groupId>org.springframework.boot</groupId>
401         <artifactId>spring-boot-maven-plugin</artifactId>
402         <version>2.2.1.RELEASE</version>
403         <executions>
404           <execution>
405             <goals>
406               <goal>repackage</goal>
407             </goals>
408             <configuration>
409               <mainClass>org.onap.nbi.Application</mainClass>
410             </configuration>
411           </execution>
412         </executions>
413       </plugin>
414       <plugin>
415         <groupId>org.apache.maven.plugins</groupId>
416         <artifactId>maven-surefire-plugin</artifactId>
417         <version>2.22.2</version>
418         <configuration>
419 <!--          <argLine>-->
420 <!--            &#45;&#45;illegal-access=permit-->
421 <!--          </argLine>-->
422           <includes>
423             <include>org/onap/nbi/test/KarateApiTest.java</include>
424             <include>org/onap/nbi/test/ExecutionTaskTest.java</include>
425             <include>org/onap/nbi/test/ServiceOrderRepositoryTest.java</include>
426             <include>org/onap/nbi/apis/servicecatalog/ToscaInfosProcessorTest.java</include>
427           </includes>
428         </configuration>
429       </plugin>
430       <plugin>
431         <groupId>org.apache.maven.plugins</groupId>
432         <artifactId>maven-site-plugin</artifactId>
433         <dependencies>
434           <dependency>
435             <groupId>org.apache.maven.wagon</groupId>
436             <artifactId>wagon-webdav-jackrabbit</artifactId>
437             <version>2.10</version>
438           </dependency>
439         </dependencies>
440       </plugin>
441       <plugin>
442         <groupId>com.mycila</groupId>
443         <artifactId>license-maven-plugin</artifactId>
444         <version>3.0</version>
445         <configuration>
446           <header>LICENSE.TXT</header>
447           <includes>
448             <include>restclient/**</include>
449             <include>src/**</include>
450             <include>**/*.xml</include>
451             <include>**/*.xsd</include>
452             <include>**/*.yml</include>
453             <include>**/*.yaml</include>
454             <include>**/*.plantuml</include>
455           </includes>
456           <excludes>
457             <!-- karate-config.js doesn't support comment, and is mandatory by
458               karate -->
459             <exclude>src/test/java/karate-config.js</exclude>
460             <exclude>releases/**/*.yaml</exclude>
461           </excludes>
462           <skipExistingHeaders>true</skipExistingHeaders>
463           <skip>false</skip>
464           <mapping>
465             <http>SCRIPT_STYLE</http>
466             <xsd>XML_STYLE</xsd>
467             <yaml>SCRIPT_STYLE</yaml>
468             <yml>SCRIPT_STYLE</yml>
469             <feature>SCRIPT_STYLE</feature>
470             <plantuml>SCRIPT_STYLE</plantuml>
471           </mapping>
472         </configuration>
473         <executions>
474           <execution>
475             <goals>
476               <!-- Set goal to "format" to auto update license headers -->
477               <goal>check</goal>
478             </goals>
479             <phase>process-sources</phase>
480           </execution>
481         </executions>
482       </plugin>
483       <plugin>
484         <groupId>org.codehaus.mojo</groupId>
485         <artifactId>sonar-maven-plugin</artifactId>
486         <version>3.2</version>
487       </plugin>
488       <plugin>
489         <groupId>org.jacoco</groupId>
490         <artifactId>jacoco-maven-plugin</artifactId>
491         <version>0.8.5</version>
492         <configuration>
493           <dumpOnExit>true</dumpOnExit>
494           <includes>
495             <include>org.onap.nbi.*</include>
496           </includes>
497           <excludes>
498             <exclude>**/model/**/*</exclude>
499           </excludes>
500         </configuration>
501         <executions>
502           <execution>
503             <id>prepare-agent</id>
504             <goals>
505               <goal>prepare-agent</goal>
506             </goals>
507           </execution>
508           <execution>
509              <id>report</id>
510              <goals>
511                <goal>report</goal>
512              </goals>
513              <configuration>
514                 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
515                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
516              </configuration>
517           </execution>
518           <execution>
519             <id>pre-unit-test</id>
520             <goals>
521               <goal>prepare-agent</goal>
522             </goals>
523             <configuration>
524               <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
525             </configuration>
526           </execution>
527           <execution>
528             <id>pre-integration-test</id>
529             <phase>pre-integration-test</phase>
530             <goals>
531               <goal>prepare-agent</goal>
532             </goals>
533             <configuration>
534               <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
535             </configuration>
536           </execution>
537           <execution>
538             <goals>
539               <goal>merge</goal>
540             </goals>
541             <phase>post-integration-test</phase>
542             <configuration>
543               <fileSets>
544                 <fileSet
545                   implementation="org.apache.maven.shared.model.fileset.FileSet">
546                   <directory>${project.build.directory}/coverage-reports</directory>
547                   <includes>
548                     <include>*.exec</include>
549                   </includes>
550                 </fileSet>
551               </fileSets>
552               <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
553             </configuration>
554           </execution>
555         </executions>
556       </plugin>
557       <plugin>
558         <artifactId>maven-source-plugin</artifactId>
559         <version>3.2.0</version>
560         <executions>
561           <execution>
562             <id>attach-sources</id>
563             <phase>deploy</phase>
564             <goals>
565               <goal>jar-no-fork</goal>
566             </goals>
567           </execution>
568         </executions>
569       </plugin>
570     </plugins>
571   </build>
572
573   <profiles>
574     <profile>
575       <id>docker</id>
576       <build>
577         <plugins>
578           <plugin>
579             <groupId>io.fabric8</groupId>
580             <artifactId>docker-maven-plugin</artifactId>
581             <version>0.28.0</version>
582             <configuration>
583               <verbose>true</verbose>
584               <apiVersion>1.23</apiVersion>
585               <pullRegistry>${docker.pull.registry}</pullRegistry>
586               <pushRegistry>${docker.push.registry}</pushRegistry>
587               <images>
588                 <image>
589                   <name>onap/externalapi/nbi:${docker.tag}</name>
590                   <build>
591                     <cleanup>true</cleanup>
592                     <tags>
593                       <tag>latest</tag>
594                       <tag>${docker.latest.tag}</tag>
595                     </tags>
596                     <dockerFileDir>${project.basedir}</dockerFileDir>
597                     <args>
598                       <PKG_FILENAME>${project.build.finalName}.${project.packaging}</PKG_FILENAME>
599                     </args>
600                   </build>
601                 </image>
602               </images>
603             </configuration>
604             <executions>
605               <execution>
606                 <id>clean-images</id>
607                 <phase>pre-clean</phase>
608                 <goals>
609                   <goal>remove</goal>
610                 </goals>
611                 <configuration>
612                   <removeMode>all</removeMode>
613                 </configuration>
614               </execution>
615               <execution>
616                 <id>generate-images</id>
617                 <phase>package</phase>
618                 <goals>
619                   <goal>build</goal>
620                 </goals>
621               </execution>
622               <execution>
623                 <id>push-images</id>
624                 <phase>deploy</phase>
625                 <goals>
626                   <goal>push</goal>
627                 </goals>
628               </execution>
629             </executions>
630           </plugin>
631         </plugins>
632       </build>
633     </profile>
634     <profile>
635       <id>onap-settings</id>
636       <properties>
637         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
638         <onap.nexus.rawrepo.baseurl.upload>https://nexus.onap.org/content/sites/raw
639         </onap.nexus.rawrepo.baseurl.upload>
640         <onap.nexus.rawrepo.baseurl.download>
641           https://nexus.onap.org/service/local/repositories/raw/content
642         </onap.nexus.rawrepo.baseurl.download>
643         <onap.nexus.rawrepo.serverid>ecomp-raw</onap.nexus.rawrepo.serverid>
644
645         <!-- properties for Nexus Docker registry -->
646         <onap.nexus.dockerregistry.daily>nexus3.onap.org:10003</onap.nexus.dockerregistry.daily>
647         <onap.nexus.dockerregistry.release>nexus3.onap.org:10002</onap.nexus.dockerregistry.release>
648         <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
649         <docker.push.registry>nexus3.onap.org:10003</docker.push.registry>
650       </properties>
651     </profile>
652     <profile>
653       <id>onap-snapshots</id>
654       <repositories>
655         <repository>
656           <id>onap-snapshots</id>
657           <name>onap-snapshots</name>
658           <url>https://nexus.onap.org/content/repositories/snapshots/</url>
659           <releases>
660             <enabled>false</enabled>
661           </releases>
662           <snapshots>
663             <enabled>true</enabled>
664           </snapshots>
665         </repository>
666       </repositories>
667       <pluginRepositories>
668         <pluginRepository>
669           <id>onap-snapshots</id>
670           <name>onap-snapshots</name>
671           <url>https://nexus.onap.org/content/repositories/snapshots/</url>
672           <releases>
673             <enabled>false</enabled>
674           </releases>
675           <snapshots>
676             <enabled>true</enabled>
677           </snapshots>
678         </pluginRepository>
679       </pluginRepositories>
680     </profile>
681     <profile>
682       <id>onap-releases</id>
683       <repositories>
684         <repository>
685           <id>onap-releases</id>
686           <name>onap-releases</name>
687           <url>https://nexus.onap.org/content/repositories/releases/</url>
688           <releases>
689             <enabled>true</enabled>
690           </releases>
691           <snapshots>
692             <enabled>false</enabled>
693           </snapshots>
694         </repository>
695       </repositories>
696       <pluginRepositories>
697         <pluginRepository>
698           <id>onap-releases</id>
699           <name>onap-releases</name>
700           <url>https://nexus.onap.org/content/repositories/releases/</url>
701           <releases>
702             <enabled>true</enabled>
703           </releases>
704           <snapshots>
705             <enabled>false</enabled>
706           </snapshots>
707         </pluginRepository>
708       </pluginRepositories>
709     </profile>
710     <profile>
711       <id>onap-public</id>
712       <repositories>
713         <repository>
714           <id>central</id>
715           <url>http://repo1.maven.org/maven2/</url>
716         </repository>
717         <repository>
718           <id>onap-public</id>
719           <name>onap-public</name>
720           <url>https://nexus.onap.org/content/repositories/public/</url>
721           <releases>
722             <enabled>true</enabled>
723           </releases>
724           <snapshots>
725             <enabled>false</enabled>
726           </snapshots>
727         </repository>
728       </repositories>
729       <pluginRepositories>
730         <pluginRepository>
731           <id>central</id>
732           <url>http://repo1.maven.org/maven2/</url>
733         </pluginRepository>
734         <pluginRepository>
735           <id>onap-public</id>
736           <name>onap-public</name>
737           <url>https://nexus.onap.org/content/repositories/public/</url>
738           <releases>
739             <enabled>true</enabled>
740           </releases>
741           <snapshots>
742             <enabled>false</enabled>
743           </snapshots>
744         </pluginRepository>
745       </pluginRepositories>
746     </profile>
747   </profiles>
748
749 </project>