bumped the version
[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.1-SNAPSHOT</version>
29         <packaging>jar</packaging>
30
31         <parent>
32                 <groupId>org.onap.oparent</groupId>
33                 <artifactId>oparent</artifactId>
34                 <version>1.2.1</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                  <jacoco.version>0.7.7.201606060606</jacoco.version>
45             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
46             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
47             <!-- Default Sonar configuration -->
48             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
49             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
50             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
51             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52             <sitePath>/content/sites/site/org/onap/dmaap/messagerouter/mirroragent/${project.artifactId}/${project.version}</sitePath>
53             <nexusproxy>https://nexus.onap.org</nexusproxy>
54             <junit.version>4.11</junit.version>
55         </properties>
56
57         <distributionManagement>
58                 <site>
59                         <id>ecomp-site</id>
60                         <url>dav:${nexusproxy}${sitePath}</url>
61                 </site>
62         </distributionManagement>
63
64         <licenses>
65                 <license>
66                         <name>Apache License Version 2.0</name>
67                 </license>
68         </licenses>
69         <developers>
70                 <developer>
71                         <name>Jackie</name>
72                         <email/>
73                         <organization>ATT</organization>
74                         <organizationUrl>www.att.com</organizationUrl>
75                 </developer>
76         </developers>
77
78         <dependencies>
79                 <dependency>
80       <groupId>junit</groupId>
81       <artifactId>junit</artifactId>
82       <version>${junit.version}</version>
83       <scope>test</scope>
84     </dependency>
85         <dependency>
86             <groupId>org.mockito</groupId>
87             <artifactId>mockito-core</artifactId>
88             <version>1.10.19</version>
89         </dependency>
90         <dependency>
91             <groupId>org.powermock</groupId>
92             <artifactId>powermock-module-junit4</artifactId>
93             <version>1.6.4</version>
94         </dependency>
95         <dependency>
96             <groupId>org.powermock</groupId>
97             <artifactId>powermock-api-mockito</artifactId>
98             <version>1.6.4</version>
99         </dependency>
100             <dependency>
101                         <groupId>org.json</groupId>
102                         <artifactId>json</artifactId>
103                         <version>20131018</version>
104                 </dependency>
105                 <dependency>
106                         <groupId>com.google.code.gson</groupId>
107                         <artifactId>gson</artifactId>
108                         <version>2.6.2</version>
109                 </dependency>
110                 <dependency>
111                         <groupId>log4j</groupId>
112                         <artifactId>log4j</artifactId>
113                         <version>1.2.17</version>
114                 </dependency>
115                 <dependency>
116                         <groupId>org.jasypt</groupId>
117                         <artifactId>jasypt</artifactId>
118                         <version>1.9.2</version>
119                 </dependency>
120         </dependencies>
121         <build>
122                 <plugins>
123                 <plugin>
124                                 <groupId>org.apache.maven.plugins</groupId>
125                                 <artifactId>maven-site-plugin</artifactId>
126                                 <version>3.6</version>
127                                 <dependencies>
128                                         <dependency>
129                                                 <groupId>org.apache.maven.wagon</groupId>
130                                                 <artifactId>wagon-webdav-jackrabbit</artifactId>
131                                                 <version>2.10</version>
132                                         </dependency>
133                                 </dependencies>
134                         </plugin>
135                         <plugin>
136                                 <groupId>org.apache.maven.plugins</groupId>
137                                 <artifactId>maven-javadoc-plugin</artifactId>
138                                 <version>2.10.4</version>
139                                 <configuration>
140                                         <additionalparam>-Xdoclint:none</additionalparam>
141                                 </configuration>
142                                 <executions>
143                                         <execution>
144                                                 <id>attach-javadocs</id>
145                                                 <goals>
146                                                         <goal>jar</goal>
147                                                 </goals>
148                                         </execution>
149                                 </executions>
150                         </plugin>
151                         <plugin>
152                                 <groupId>org.apache.maven.plugins</groupId>
153                                 <artifactId>maven-source-plugin</artifactId>
154                                 <version>3.0.0</version>
155                                 <executions>
156                                         <execution>
157                                                 <id>attach-sources</id>
158                                                 <goals>
159                                                         <goal>jar-no-fork</goal>
160                                                 </goals>
161                                         </execution>
162                                 </executions>
163                         </plugin>
164                         <plugin>
165                                 <groupId>org.codehaus.mojo</groupId>
166                                 <artifactId>cobertura-maven-plugin</artifactId>
167                                 <version>2.7</version>
168                                 <configuration>
169                                         <formats>
170                                                 <format>html</format>
171                                                 <format>xml</format>
172                                         </formats>
173                                 </configuration>
174                         </plugin>
175                         <plugin>
176                                 <artifactId>maven-assembly-plugin</artifactId>
177                                 <version>2.4</version>
178                                 <configuration>
179                                         <descriptorRefs>
180                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
181                                         </descriptorRefs>
182                                         <appendAssemblyId>false</appendAssemblyId>
183                                         <archive>
184                                                 <manifest>
185                                                         <addClasspath>true</addClasspath>
186                                                         <mainClass>org.onap.dmaap.mr.dmaapMMAgent.MirrorMakerAgent</mainClass>
187                                                 </manifest>
188                                         </archive>
189                                 </configuration>
190
191                                 <executions>
192                                         <execution>
193                                                 <id>make-assembly</id> <!-- this is used for inheritance merges -->
194                                                 <phase>package</phase> <!-- bind to the packaging phase -->
195                                                 <goals>
196                                                         <goal>single</goal>
197                                                 </goals>
198                                         </execution>
199                                 </executions>
200                         </plugin>
201                         <plugin>
202           <groupId>org.jacoco</groupId>
203           <artifactId>jacoco-maven-plugin</artifactId>
204           <version>${jacoco.version}</version>
205           <configuration>
206             <!-- Note: This exclusion list should match <sonar.exclusions>
207          property above -->
208             <excludes>
209               <exclude>**/gen/**</exclude>
210               <exclude>**/generated-sources/**</exclude>
211               <exclude>**/yang-gen/**</exclude>
212               <exclude>**/pax/**</exclude>
213             </excludes>
214           </configuration>
215           <executions>
216             <!--
217         Prepares the property pointing to the JaCoCo runtime agent which
218         is passed as VM argument when Maven the Surefire plugin is executed.
219         -->
220             <execution>
221               <id>pre-unit-test</id>
222               <goals>
223                 <goal>prepare-agent</goal>
224               </goals>
225               <configuration>
226                 <!-- Sets the path to the file which contains the execution data. -->
227                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
228                 <!--
229             Sets the name of the property containing the settings
230             for JaCoCo runtime agent.
231         -->
232                 <propertyName>surefireArgLine</propertyName>
233               </configuration>
234             </execution>
235             <!--
236         Ensures that the code coverage report for unit tests is created after
237         unit tests have been run.
238         -->
239             <execution>
240               <id>post-unit-test</id>
241               <phase>test</phase>
242               <goals>
243                 <goal>report</goal>
244               </goals>
245               <configuration>
246                 <!-- Sets the path to the file which contains the execution data. -->
247                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
248                 <!-- Sets the output directory for the code coverage report. -->
249                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
250               </configuration>
251             </execution>
252             <execution>
253               <id>pre-integration-test</id>
254               <phase>pre-integration-test</phase>
255               <goals>
256                 <goal>prepare-agent</goal>
257               </goals>
258               <configuration>
259                 <!-- Sets the path to the file which contains the execution data. -->
260                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
261                 <!--
262             Sets the name of the property containing the settings
263             for JaCoCo runtime agent.
264         -->
265                 <propertyName>failsafeArgLine</propertyName>
266               </configuration>
267             </execution>
268             <!--
269         Ensures that the code coverage report for integration tests after
270         integration tests have been run.
271         -->
272             <execution>
273               <id>post-integration-test</id>
274               <phase>post-integration-test</phase>
275               <goals>
276                 <goal>report</goal>
277               </goals>
278               <configuration>
279                 <!-- Sets the path to the file which contains the execution data. -->
280                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
281                 <!-- Sets the output directory for the code coverage report. -->
282                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
283               </configuration>
284             </execution>
285           </executions>
286         </plugin>
287
288                 </plugins>
289         </build>
290 </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