Merge "added file to test AuthorisationError.java"
[music.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  ============LICENSE_START==========================================
4  org.onap.music
5  ===================================================================
6   Copyright (c) 2017 AT&T Intellectual Property
7  ===================================================================
8   Modifications Copyright (c) 2019 IBM.
9  ===================================================================
10   Licensed under the Apache License, Version 2.0 (the "License");
11   you may not use this file except in compliance with the License.
12   You may obtain a copy of the License at
13
14      http://www.apache.org/licenses/LICENSE-2.0
15
16   Unless required by applicable law or agreed to in writing, software
17   distributed under the License is distributed on an "AS IS" BASIS,
18   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   See the License for the specific language governing permissions and
20   limitations under the License.
21
22  ============LICENSE_END=============================================
23  ====================================================================
24 -->
25 <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">
26     <modelVersion>4.0.0</modelVersion>
27     <groupId>org.onap.music</groupId>
28     <artifactId>MUSIC</artifactId>
29     <packaging>jar</packaging>
30     <version>3.2.29-SNAPSHOT</version>
31     <description>
32             This is the MUSIC REST interface, packaged as a Springboot jar file.
33     </description>
34
35     <parent>
36         <groupId>org.onap.oparent</groupId>
37         <artifactId>oparent</artifactId>
38         <version>2.0.0</version>
39         <relativePath/>
40     </parent> 
41
42     <dependencyManagement>
43         <dependencies>
44             <!-- <dependency>
45                 <groupId>org.springframework.boot</groupId>
46                 <artifactId>spring-boot-starter-data-jpa</artifactId>
47                 <version>2.0.3.RELEASE</version>
48                </dependency> -->
49             <dependency>
50                 <groupId>org.springframework.boot</groupId>
51                 <artifactId>spring-boot-dependencies</artifactId>
52                 <version>2.1.1.RELEASE</version>
53                 <type>pom</type>
54                 <scope>import</scope>
55             </dependency>
56         </dependencies>
57     </dependencyManagement>
58     <properties>
59         <start-class>org.onap.music.MusicApplication</start-class>
60         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
61         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
62         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
63         <java.version>1.8</java.version>
64         <jersey1.version>1.19</jersey1.version>
65         <jersey2.version>2.25.1</jersey2.version>
66         <jaxrs.version>2.0.1</jaxrs.version>
67         <cassandra.version>3.6.0</cassandra.version>
68
69         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
70         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
71         <!--nexus -->
72         <nexusproxy>https://nexus.onap.org</nexusproxy>
73         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
74         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
75         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
76         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
77         <sitePath>/content/sites/site/org/onap/music/${project.version}</sitePath>
78         <!--maven -->
79         <timestamp>${maven.build.timestamp}</timestamp>
80         <maven.build.timestamp.format>yyyy.MM.dd.HH.mm</maven.build.timestamp.format>
81         <!--skip checkstyle -->
82         <maven.check.skip>false</maven.check.skip>
83         <!--docker -->
84         <docker.tag>${project.version}-${timestamp}</docker.tag>
85         <docker.latest.tag>${project.version}-latest</docker.latest.tag>
86         <maven.compiler.source>1.8</maven.compiler.source>
87         <maven.compiler.target>1.8</maven.compiler.target>
88     </properties>
89
90     <repositories>
91         <repository>
92             <id>onap-releases</id>
93             <name>ONAP - Release Repository</name>
94             <url>${nexusproxy}/${releaseNexusPath}</url>
95         </repository>
96         <repository>
97             <id>onap-staging</id>
98             <name>ONAP - Staging Repository</name>
99             <url>${nexusproxy}/${stagingNexusPath}</url>
100         </repository>
101         <repository>
102             <id>onap-snapshots</id>
103             <name>ONAP - Snapshot Repository</name>
104             <url>${nexusproxy}/${snapshotNexusPath}</url>
105         </repository>
106         <repository>
107             <id>onap-public</id>
108             <name>ONAP public Repository</name>
109             <url>${nexusproxy}/content/groups/public</url>
110         </repository>
111     </repositories>
112
113     <build>
114         <!-- <finalName>${project.artifactId}-${project.version}-${timestamp}</finalName>-->
115         <finalName>${project.artifactId}</finalName>
116         <sourceDirectory>src/main/java</sourceDirectory>
117         <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>
118         <testSourceDirectory>src/test/java</testSourceDirectory>
119         <testOutputDirectory>target/test-classes</testOutputDirectory>
120         <defaultGoal>validate</defaultGoal>
121         <resources>
122             <resource>
123                 <directory>src/main/resources</directory>
124                 <filtering>true</filtering>
125                 <includes>
126                 <include>**/*.properties</include>
127                 <include>**/*.xml</include>
128                 <include>**/*.ccf</include>
129                 </includes>
130             </resource>
131         </resources>
132         <testResources>
133             <testResource>
134                 <directory>${project.basedir}/src/test/resources</directory>
135             </testResource>
136             <!-- <testResource>
137                 <directory>${project.basedir}/src/main/resources</directory>
138             </testResource> -->
139         </testResources>
140         <plugins>
141             <plugin>
142                 <groupId>org.springframework.boot</groupId>
143                 <artifactId>spring-boot-maven-plugin</artifactId>
144                 <configuration>
145                     <mainClass>org.onap.music.MusicApplication</mainClass>
146                     <outputDirectory>./distribution/music/</outputDirectory>
147                     <addResources>true</addResources>
148                 </configuration>
149                 <executions>
150                     <execution>
151                         <goals>
152                             <goal>repackage</goal>
153                         </goals>
154                     </execution>
155                 </executions>
156             </plugin>
157 <!--
158             <plugin>
159                 <artifactId>maven-war-plugin</artifactId>
160                 <version>2.4</version>
161                 <configuration>
162                     <warSourceDirectory>WebContent</warSourceDirectory>
163                     <failOnMissingWebXml>false</failOnMissingWebXml>
164                 </configuration>
165             </plugin>
166 -->
167             <plugin>
168                 <groupId>org.apache.maven.plugins</groupId>
169                 <artifactId>maven-checkstyle-plugin</artifactId>
170                 <configuration>
171                     <skip>${maven.check.skip}</skip>
172                 </configuration>
173             </plugin>
174
175             <plugin>
176                 <groupId>org.apache.maven.plugins</groupId>
177                 <artifactId>maven-jar-plugin</artifactId>
178                 <version>2.4</version>
179                 <executions>
180                     <execution>
181                         <id>make-a-jar</id>
182                         <phase>compile</phase>
183                         <goals>
184                             <goal>jar</goal>
185                         </goals>
186                         <configuration>
187                             <excludes>
188                                 <!--<exclude>**/*.xml</exclude>
189                                 <exclude>**/*.properties</exclude>-->
190                                 <exclude>**/Sample*</exclude>
191                             </excludes>
192                         </configuration>
193                     </execution>
194                 </executions>
195             </plugin>
196             <plugin>
197                 <groupId>org.apache.maven.plugins</groupId>
198                 <artifactId>maven-install-plugin</artifactId>
199                 <version>2.4</version>
200                 <executions>
201                     <execution>
202                         <phase>install</phase>
203                         <goals>
204                             <goal>install-file</goal>
205                         </goals>
206                         <configuration>
207                             <packaging>jar</packaging>
208                             <artifactId>${project.artifactId}</artifactId>
209                             <groupId>${project.groupId}</groupId>
210                             <version>${project.version}</version>
211                             <file>${project.build.directory}/${project.artifactId}.jar</file>
212                         </configuration>
213                     </execution>
214                 </executions>
215             </plugin>
216         </plugins>
217     </build>
218
219     <dependencies>
220         <!-- Springboot -->
221         <dependency>
222             <groupId>org.springframework.boot</groupId>
223             <artifactId>spring-boot-starter</artifactId>
224         </dependency>
225         <dependency>
226             <groupId>org.springframework.data</groupId>
227             <artifactId>spring-data-cassandra</artifactId>
228         </dependency>
229         <dependency>
230             <groupId>org.springframework.boot</groupId>
231             <artifactId>spring-boot-starter-jersey</artifactId>
232         </dependency>
233         <dependency>
234             <groupId>org.springframework.boot</groupId>
235             <artifactId>spring-boot-starter-web</artifactId>
236         </dependency>
237         <dependency>
238             <groupId>org.springframework.boot</groupId>
239             <artifactId>spring-boot-starter-tomcat</artifactId>
240         </dependency>
241         <dependency>
242             <groupId>org.springframework.boot</groupId>
243             <artifactId>spring-boot-starter-test</artifactId>
244             <scope>test</scope>
245         </dependency>
246         <dependency>
247             <groupId>org.springframework.boot</groupId>
248             <artifactId>spring-boot-starter-actuator</artifactId>
249         </dependency>
250                 <dependency>
251                         <groupId>org.springframework</groupId>
252                         <artifactId>spring-aop</artifactId>
253                         <scope>compile</scope>
254                 </dependency>
255         <dependency>
256             <groupId>org.springframework.boot</groupId>
257             <artifactId>spring-boot-autoconfigure</artifactId>
258         </dependency>
259         <dependency>
260             <groupId>org.springframework</groupId>
261             <artifactId>spring-aop</artifactId>
262             <scope>compile</scope>
263         </dependency>
264         <dependency>
265             <groupId>org.aspectj</groupId>
266             <artifactId>aspectjweaver</artifactId>
267             <scope>compile</scope>
268         </dependency>
269         <!-- Springboot -->
270         <!-- Development -->
271                 <dependency>
272                         <groupId>org.aspectj</groupId>
273                         <artifactId>aspectjweaver</artifactId>
274                         <scope>compile</scope>
275                 </dependency>
276                 
277         <!-- Springboot -->
278         <!-- Development -->
279                 <dependency>
280             <groupId>javax.servlet</groupId>
281             <artifactId>servlet-api</artifactId>
282             <version>2.4</version>
283             <scope>provided</scope>
284         </dependency>
285         <dependency>
286             <groupId>javax.servlet</groupId>
287             <artifactId>javax.servlet-api</artifactId>
288             <version>3.0.1</version>
289             <scope>provided</scope>
290         </dependency>
291         <!-- /Development -->
292         <!-- Logging -->
293         <dependency>
294             <groupId>ch.qos.logback</groupId>
295             <artifactId>logback-core</artifactId>
296             <version>1.2.3</version>
297             <exclusions>
298                 <exclusion>
299                     <groupId>org.slf4j</groupId>
300                     <artifactId>slf4j-log4j12</artifactId>
301                 </exclusion>
302             </exclusions>
303         </dependency>
304         <dependency>
305             <groupId>ch.qos.logback</groupId>
306             <artifactId>logback-classic</artifactId>
307             <version>1.2.3</version>
308             <exclusions>
309                 <exclusion>
310                     <groupId>org.slf4j</groupId>
311                     <artifactId>slf4j-log4j12</artifactId>
312                 </exclusion>
313             </exclusions>
314         </dependency>
315         <dependency>
316             <groupId>com.att.eelf</groupId>
317             <artifactId>eelf-core</artifactId>
318             <version>1.0.1-oss</version>
319             <exclusions>
320                 <exclusion>
321                     <groupId>org.powermock</groupId>
322                     <artifactId>powermock-api-mockito</artifactId>
323                 </exclusion>
324                 <exclusion>
325                     <groupId>org.powermock</groupId>
326                     <artifactId>powermock-module-junit4</artifactId>
327                 </exclusion>
328             </exclusions>
329         </dependency>
330         <!-- End Logging -->
331         <!-- Cassandra -->
332         <dependency>
333         <groupId>io.dropwizard.metrics</groupId>
334         <artifactId>metrics-core</artifactId>
335         <version>4.1.0-rc3</version>
336         </dependency>
337         <dependency>
338         <groupId>com.datastax.cassandra</groupId>
339         <artifactId>cassandra-driver-core</artifactId>
340         <version>3.6.0</version>
341         </dependency>
342         <dependency>
343             <groupId>com.datastax.cassandra</groupId>
344             <artifactId>cassandra-driver-core</artifactId>
345             <version>${cassandra.version}</version>
346         </dependency> 
347         <!-- /Cassandra -->
348         <!-- Jersey -->
349         <dependency>
350             <groupId>com.sun.jersey</groupId>
351             <artifactId>jersey-client</artifactId>
352             <version>${jersey1.version}</version>
353         </dependency>
354         <dependency>
355             <groupId>com.sun.jersey</groupId>
356             <artifactId>jersey-server</artifactId>
357             <version>${jersey1.version}</version>
358         </dependency>
359         <dependency>
360             <groupId>com.sun.jersey</groupId>
361             <artifactId>jersey-json</artifactId>
362             <version>${jersey1.version}</version>
363         </dependency>
364         <dependency>
365             <groupId>com.sun.jersey</groupId>
366             <artifactId>jersey-servlet</artifactId>
367             <version>${jersey1.version}</version>
368         </dependency>
369         <!-- /Jersey -->
370
371         <dependency>
372             <groupId>org.apache.commons</groupId>
373             <artifactId>commons-jcs-core</artifactId>
374             <version>2.2</version>
375         </dependency>
376         <dependency>
377             <groupId>commons-codec</groupId>
378             <artifactId>commons-codec</artifactId>
379             <version>1.11</version>
380         </dependency>
381         <dependency>
382             <groupId>org.apache.commons</groupId>
383             <artifactId>commons-lang3</artifactId>
384             <version>3.8</version>
385         </dependency>
386         <!-- Testing -->
387         <dependency>
388             <groupId>junit</groupId>
389             <artifactId>junit</artifactId>
390             <version>4.12</version>
391             <scope>test</scope>
392         </dependency>
393         <dependency>
394             <groupId>org.cassandraunit</groupId>
395             <artifactId>cassandra-unit-spring</artifactId>
396             <version>3.5.0.1</version>
397             <scope>test</scope>
398             <exclusions>
399                 <exclusion>
400                     <groupId>io.dropwizard.metrics</groupId>
401                     <artifactId>metrics-core</artifactId>
402                 </exclusion>
403                 <exclusion>
404                     <groupId>com.addthis.metrics</groupId>
405                     <artifactId>reporter-config-base</artifactId>
406                 </exclusion>
407             </exclusions>
408         </dependency> 
409         <dependency>
410         <groupId>org.cassandraunit</groupId>
411         <artifactId>cassandra-unit-spring</artifactId>
412         <version>3.5.0.1</version>
413         <scope>test</scope>
414         <exclusions>
415             <exclusion>
416                 <groupId>org.slf4j</groupId>
417                 <artifactId>slf4j-log4j12</artifactId>
418             </exclusion>
419             <exclusion>
420                 <groupId>ch.qos.logback</groupId>
421                 <artifactId>logback-core</artifactId>
422             </exclusion>
423             <exclusion>
424                 <groupId>ch.qos.logback</groupId>
425                 <artifactId>logback-classic</artifactId>
426             </exclusion>
427             <exclusion>
428                 <groupId>org.cassandraunit</groupId>
429                 <artifactId>cassandra-unit</artifactId>
430             </exclusion>
431             <exclusion>
432                 <groupId>io.dropwizard.metrics</groupId>
433                 <artifactId>metrics-core</artifactId>
434             </exclusion>
435         </exclusions>
436     </dependency>
437     <dependency>
438             <groupId>org.cassandraunit</groupId>
439             <artifactId>cassandra-unit-shaded</artifactId>
440             <version>3.5.0.1</version>
441             <scope>test</scope>
442         </dependency>
443         <dependency>
444             <groupId>io.dropwizard.metrics</groupId>
445             <artifactId>metrics-core</artifactId>
446             <version>3.1.0</version>
447         </dependency>
448         <dependency>
449             <groupId>org.mockito</groupId>
450             <artifactId>mockito-core</artifactId>
451             <version>2.23.4</version>
452             <scope>test</scope>
453         </dependency>
454         <!--  /Testing -->
455         <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310 -->
456         <dependency>
457             <groupId>com.fasterxml.jackson.datatype</groupId>
458             <artifactId>jackson-datatype-jsr310</artifactId>
459             <version>2.9.8</version>
460         </dependency>
461
462         <dependency>
463             <groupId>com.fasterxml.jackson.core</groupId>
464             <artifactId>jackson-databind</artifactId>
465             <version>2.9.8</version>
466         </dependency>
467         <dependency>
468             <groupId>com.fasterxml.jackson.core</groupId>
469             <artifactId>jackson-core</artifactId>
470             <version>2.9.8</version>
471         </dependency>
472         <dependency>
473             <groupId>com.fasterxml.jackson.core</groupId>
474             <artifactId>jackson-annotations</artifactId>
475             <version>2.9.8</version>
476         </dependency>
477         <dependency>
478             <groupId>org.apache.httpcomponents</groupId>
479             <artifactId>httpclient</artifactId>
480         </dependency>
481             
482 <!--    <dependency>
483             <groupId>io.swagger</groupId>
484             <artifactId>swagger-jersey2-jaxrs</artifactId>
485             <version>1.5.18</version>
486         </dependency> -->
487         <dependency>
488             <groupId>io.swagger</groupId>
489             <artifactId>swagger-jersey-jaxrs</artifactId>
490             <version>1.5.21</version>
491         </dependency>
492         <dependency>
493             <groupId>com.google.guava</groupId>
494             <artifactId>guava</artifactId>
495         </dependency>
496         <dependency>
497             <groupId>de.svenkubiak</groupId>
498             <artifactId>jBCrypt</artifactId>
499             <version>0.4.1</version>
500         </dependency>
501        <!-- <dependency>
502             <groupId>org.mindrot</groupId>
503             <artifactId>jbcrypt</artifactId>
504             <version>0.4</version>
505         </dependency>-->
506         <dependency>
507             <groupId>io.netty</groupId>
508             <artifactId>netty-handler</artifactId>
509             <version>4.1.33.Final</version>
510         </dependency>
511         <dependency>
512             <groupId>io.netty</groupId>
513             <artifactId>netty-buffer</artifactId>
514             <version>4.1.33.Final</version>
515         </dependency>
516         <dependency>
517             <groupId>io.netty</groupId>
518             <artifactId>netty-codec</artifactId>
519             <version>4.1.33.Final</version>
520         </dependency>
521         <dependency>
522             <groupId>io.netty</groupId>
523             <artifactId>netty-common</artifactId>
524             <version>4.1.33.Final</version>
525         </dependency>
526         <dependency>
527             <groupId>io.netty</groupId>
528             <artifactId>netty-resolver</artifactId>
529             <version>4.1.33.Final</version>
530         </dependency>
531         <dependency>
532             <groupId>io.netty</groupId>
533             <artifactId>netty-transport</artifactId>
534             <version>4.1.33.Final</version>
535         </dependency>
536     <dependency>
537         <groupId>org.onap.aaf.authz</groupId>
538         <artifactId>aaf-cadi-aaf</artifactId>
539         <version>2.1.7</version>
540         <exclusions>
541             <exclusion>
542                 <groupId>log4j</groupId>
543                 <artifactId>log4j</artifactId>
544             </exclusion>
545         </exclusions>
546     </dependency>
547     <dependency>
548         <groupId>org.onap.aaf.authz</groupId>
549         <artifactId>aaf-cadi-client</artifactId>
550         <version>2.1.7</version>
551     </dependency>
552     <dependency>
553         <groupId>org.onap.aaf.authz</groupId>
554         <artifactId>aaf-cadi-core</artifactId>
555         <version>2.1.7</version>
556     </dependency>
557
558         <dependency>
559             <groupId>com.google.code.gson</groupId>
560             <artifactId>gson</artifactId>
561             <version>2.8.5</version>
562         </dependency>
563     </dependencies>
564
565     <reporting>
566         <plugins>
567             <plugin>
568                 <groupId>org.apache.maven.plugins</groupId>
569                 <artifactId>maven-javadoc-plugin</artifactId>
570                 <version>2.10.3</version>
571                 <configuration>
572                     <author>true</author>
573                     <breakiterator>true</breakiterator>
574                     <version>true</version>
575                     <links>
576                         <link>https://docs.oracle.com/javase/7/docs/api/</link>
577                         <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
578                         <link>http://docs.oracle.com/javaee/7/api/</link>
579                     </links>
580                 </configuration>
581             </plugin>
582             <plugin>
583                 <groupId>org.apache.maven.plugins</groupId>
584                 <artifactId>maven-compiler-plugin</artifactId>
585                 <configuration>
586                     <source>1.8</source>
587                     <target>1.8</target>
588                 </configuration>
589             </plugin>
590         </plugins>
591     </reporting>
592
593     <profiles>
594         <profile>
595             <id>docker</id>
596             <build>
597                 <plugins>
598                     <plugin>
599                         <groupId>io.fabric8</groupId>
600                         <artifactId>docker-maven-plugin</artifactId>
601                         <version>0.19.1</version>
602                         <configuration>
603                             <verbose>true</verbose>
604                             <apiVersion>1.23</apiVersion>
605                             <registry>nexus3.onap.org:10003</registry>
606                             <images>
607                                 <!-- MUSIC War -->
608                                 <image>
609                                     <name>onap/music/music_sb</name>
610                                     <alias>docker_music</alias>
611                                     <build>
612                                         <cleanup>true</cleanup>
613                                         <tags>
614                                             <tag>${docker.tag}</tag>
615                                             <tag>${docker.latest.tag}</tag>
616                                         </tags>
617                                         <dockerFileDir>${project.basedir}/distribution/music</dockerFileDir>
618 <!--                                    <assembly>
619                                             <descriptorRef>artifact</descriptorRef>
620                                         </assembly>  -->
621                                     </build>
622                                 </image>
623                                 <!-- Cassandra -->
624                                 <image>
625                                     <name>onap/music/cassandra_3_11</name>
626                                     <alias>docker_cassandra_sec</alias>
627                                     <build>
628                                         <cleanup>true</cleanup>
629                                         <tags>
630                                             <tag>${docker.tag}</tag>
631                                             <tag>${docker.latest.tag}</tag>
632                                         </tags>
633                                         <dockerFileDir>${project.basedir}/distribution/cassandra</dockerFileDir>
634                                     </build>
635                                 </image>
636                                 <!-- Cassandra Job -->
637                                 <image>
638                                     <name>onap/music/cassandra_job</name>
639                                     <alias>docker_cassandra_job</alias>
640                                     <build>
641                                         <cleanup>true</cleanup>
642                                         <tags>
643                                             <tag>${docker.tag}</tag>
644                                             <tag>${docker.latest.tag}</tag>
645                                         </tags>
646                                         <dockerFileDir>${project.basedir}/distribution/cassandra_job</dockerFileDir>
647                                     </build>
648                                 </image>
649                                 <!-- tomcat 8.5 -->
650                                 <!-- <image> <name>onap/music/tomcat_music</name>
651                                     <alias>docker_tomcat</alias> <build> <cleanup>true</cleanup> <tags> <tag>8.5-${timestamp}</tag>
652                                     <tag>8.5-latest</tag> </tags> <dockerFileDir>${project.basedir}/distribution/tomcat</dockerFileDir>
653                                     </build> </image>\ -->
654                             </images>
655                         </configuration>
656                         <executions>
657                             <execution>
658                                 <id>clean-images</id>
659                                 <phase>pre-clean</phase>
660                                 <goals>
661                                     <goal>remove</goal>
662                                 </goals>
663                                 <configuration>
664                                     <removeAll>true</removeAll>
665                                     <image>music</image>
666                                 </configuration>
667                             </execution>
668                             <execution>
669                                 <id>generate-images</id>
670                                 <phase>package</phase>
671                                 <goals>
672                                     <goal>build</goal>
673                                 </goals>
674                             </execution>
675                             <execution>
676                                 <id>push-images</id>
677                                 <phase>deploy</phase>
678                                 <goals>
679                                     <goal>push</goal>
680                                 </goals>
681                                 <configuration>
682                                     <image>onap/music/music</image>
683                                 </configuration>
684                             </execution>
685                         </executions>
686                     </plugin>
687                 </plugins>
688             </build>
689         </profile>
690         <profile> 
691             <id>default</id> 
692             <repositories> 
693                 <repository> 
694                     <id>nexus</id> 
695                     <name>attarch-releases</name> 
696                     <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/attarch-releases</url> 
697                 </repository> 
698             </repositories> 
699         </profile>
700     </profiles>
701     <distributionManagement>
702         <repository>
703             <id>ecomp-releases</id>
704             <name>Release Repository</name>
705             <url>${nexusproxy}/${releaseNexusPath}</url>
706         </repository>
707         <snapshotRepository>
708             <id>ecomp-snapshots</id>
709             <name>Snapshot Repository</name>
710             <url>${nexusproxy}/${snapshotNexusPath}</url>
711         </snapshotRepository>
712         <!-- added for javadoc -->
713         <site>
714             <id>ecomp-site</id>
715             <url>dav:${nexusproxy}${sitePath}</url>
716         </site>
717     </distributionManagement>
718 </project>