Sonar Cloud migration changes
[dmaap/messagerouter/mirroragent.git] / pom.xml
1 <?xml version="1.0"?>
2 <!--
3      ============LICENSE_START=======================================================
4      org.onap.dmaap
5      ================================================================================
6      Copyright © 2017 AT&T Intellectual Property. All rights reserved.
7      ================================================================================
8      Licensed under the Apache License, Version 2.0 (the "License");
9      you may not use this file except in compliance with the License.
10      You may obtain a copy of the License at
11            http://www.apache.org/licenses/LICENSE-2.0
12
13      Unless required by applicable law or agreed to in writing, software
14      distributed under the License is distributed on an "AS IS" BASIS,
15      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16      See the License for the specific language governing permissions and
17      limitations under the License.
18      ============LICENSE_END=========================================================
19
20      ECOMP is a trademark and service mark of AT&T Intellectual Property.
21
22  -->
23 <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">
24         <modelVersion>4.0.0</modelVersion>
25
26         <groupId>org.onap.dmaap.messagerouter.mirroragent</groupId>
27         <artifactId>dmaapMMAgent</artifactId>
28         <version>1.1.3-SNAPSHOT</version>
29         <packaging>jar</packaging>
30
31         <parent>
32                 <groupId>org.onap.oparent</groupId>
33                 <artifactId>oparent</artifactId>
34                 <version>2.1.0</version>
35         </parent>
36
37         <name>dmaap-messagerouter-mirroragent</name>
38         <description>Mirror Maker Agent - Repliaction agent</description>
39
40         <properties>
41                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42                 <!--  SONAR  -->
43                 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
44             <sonar.language>java</sonar.language>
45         <sonar.skip>false</sonar.skip>
46         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
47         <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
48         <sonar.projectVersion>${project.version}</sonar.projectVersion>
49             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
50             <sitePath>/content/sites/site/org/onap/dmaap/messagerouter/mirroragent/${project.artifactId}/${project.version}</sitePath>
51             <nexusproxy>https://nexus.onap.org</nexusproxy>
52             <junit.version>4.11</junit.version>
53         </properties>
54
55         <distributionManagement>
56                 <site>
57                         <id>ecomp-site</id>
58                         <url>dav:${nexusproxy}${sitePath}</url>
59                 </site>
60         </distributionManagement>
61
62         <licenses>
63                 <license>
64                         <name>Apache License Version 2.0</name>
65                 </license>
66         </licenses>
67         <developers>
68                 <developer>
69                         <name>Jackie</name>
70                         <email/>
71                         <organization>ATT</organization>
72                         <organizationUrl>www.att.com</organizationUrl>
73                 </developer>
74         </developers>
75
76         <dependencies>
77                 <dependency>
78       <groupId>junit</groupId>
79       <artifactId>junit</artifactId>
80       <version>${junit.version}</version>
81       <scope>test</scope>
82     </dependency>
83         <dependency>
84             <groupId>org.mockito</groupId>
85             <artifactId>mockito-core</artifactId>
86             <version>1.10.19</version>
87         </dependency>
88         <dependency>
89             <groupId>org.powermock</groupId>
90             <artifactId>powermock-module-junit4</artifactId>
91             <version>1.6.4</version>
92         </dependency>
93         <dependency>
94             <groupId>org.powermock</groupId>
95             <artifactId>powermock-api-mockito</artifactId>
96             <version>1.6.4</version>
97         </dependency>
98             <dependency>
99                         <groupId>org.json</groupId>
100                         <artifactId>json</artifactId>
101                         <version>20131018</version>
102                 </dependency>
103                 <dependency>
104                         <groupId>com.google.code.gson</groupId>
105                         <artifactId>gson</artifactId>
106                         <version>2.6.2</version>
107                 </dependency>
108                 <dependency>
109                         <groupId>log4j</groupId>
110                         <artifactId>log4j</artifactId>
111                         <version>1.2.17</version>
112                 </dependency>
113                 <dependency>
114                         <groupId>org.jasypt</groupId>
115                         <artifactId>jasypt</artifactId>
116                         <version>1.9.2</version>
117                 </dependency>
118         </dependencies>
119         <build>
120                 <plugins>
121                 <plugin>
122                                 <groupId>org.apache.maven.plugins</groupId>
123                                 <artifactId>maven-site-plugin</artifactId>
124                                 <version>3.6</version>
125                                 <dependencies>
126                                         <dependency>
127                                                 <groupId>org.apache.maven.wagon</groupId>
128                                                 <artifactId>wagon-webdav-jackrabbit</artifactId>
129                                                 <version>2.10</version>
130                                         </dependency>
131                                 </dependencies>
132                         </plugin>
133                         <plugin>
134                                 <groupId>org.apache.maven.plugins</groupId>
135                                 <artifactId>maven-javadoc-plugin</artifactId>
136                                 <version>2.10.4</version>
137                                 <configuration>
138                                         <additionalparam>-Xdoclint:none</additionalparam>
139                                 </configuration>
140                                 <executions>
141                                         <execution>
142                                                 <id>attach-javadocs</id>
143                                                 <goals>
144                                                         <goal>jar</goal>
145                                                 </goals>
146                                         </execution>
147                                 </executions>
148                         </plugin>
149                         <plugin>
150                                 <groupId>org.apache.maven.plugins</groupId>
151                                 <artifactId>maven-source-plugin</artifactId>
152                                 <version>3.0.0</version>
153                                 <executions>
154                                         <execution>
155                                                 <id>attach-sources</id>
156                                                 <goals>
157                                                         <goal>jar-no-fork</goal>
158                                                 </goals>
159                                         </execution>
160                                 </executions>
161                         </plugin>
162                         <plugin>
163                                 <artifactId>maven-assembly-plugin</artifactId>
164                                 <version>2.4</version>
165                                 <configuration>
166                                         <descriptorRefs>
167                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
168                                         </descriptorRefs>
169                                         <appendAssemblyId>false</appendAssemblyId>
170                                         <archive>
171                                                 <manifest>
172                                                         <addClasspath>true</addClasspath>
173                                                         <mainClass>org.onap.dmaap.mr.dmaapMMAgent.MirrorMakerAgent</mainClass>
174                                                 </manifest>
175                                         </archive>
176                                 </configuration>
177
178                                 <executions>
179                                         <execution>
180                                                 <id>make-assembly</id> <!-- this is used for inheritance merges -->
181                                                 <phase>package</phase> <!-- bind to the packaging phase -->
182                                                 <goals>
183                                                         <goal>single</goal>
184                                                 </goals>
185                                         </execution>
186                                 </executions>
187                         </plugin>
188                          <plugin>
189                     <groupId>org.jacoco</groupId>
190                     <artifactId>jacoco-maven-plugin</artifactId>
191                     <executions>
192                         <execution>
193                             <id>prepare-agent</id>
194                             <goals>
195                                 <goal>prepare-agent</goal>
196                             </goals>
197                         </execution>
198                         <execution>
199                             <id>report</id>
200                             <goals>
201                                 <goal>report</goal>
202                             </goals>
203                             <configuration>
204                                 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
205                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
206                             </configuration>
207                         </execution>
208                     </executions>
209                 </plugin>
210
211                 </plugins>
212         </build>
213 </project>

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use