Release appc
[appc.git] / services / appc-dmaap-service / appc-dmaap-event-service / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP : APPC
4   ================================================================================
5   Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
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 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22   <modelVersion>4.0.0</modelVersion>
23   <groupId>org.onap.appc.services.dmaap</groupId>
24   <artifactId>dmaap-event-service</artifactId>
25   <packaging>jar</packaging>
26   <version>1.7.2</version>
27   <name>dmaapService</name>
28     <parent>
29         <groupId>org.springframework.boot</groupId>
30         <artifactId>spring-boot-starter-parent</artifactId>
31         <version>2.1.6.RELEASE</version>
32     </parent>
33     <properties>
34        <!-- SONAR -->
35         <sonar.language>java</sonar.language>
36         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
37         <sonar.coverage.jacoco.xmlReportPaths>
38             ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
39         </sonar.coverage.jacoco.xmlReportPaths>
40         <sonar.projectVersion>${project.version}</sonar.projectVersion>
41         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
42     </properties>
43     <distributionManagement>
44         <repository>
45             <id>ecomp-releases</id>
46             <url>https://nexus.onap.org/content/repositories/releases</url>
47         </repository>
48         <snapshotRepository>
49             <id>ecomp-snapshots</id>
50             <url>https://nexus.onap.org/content/repositories/snapshots</url>
51         </snapshotRepository>
52     </distributionManagement>
53     <dependencies>
54         <dependency>
55             <groupId>org.springframework.boot</groupId>
56             <artifactId>spring-boot-starter-web</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.springframework.boot</groupId>
60             <artifactId>spring-boot-starter-test</artifactId>
61             <scope>test</scope>
62         </dependency>
63         <dependency>
64             <groupId>org.springframework.boot</groupId>
65             <artifactId>spring-boot-starter-security</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>junit</groupId>
69             <artifactId>junit</artifactId>
70             <scope>test</scope>
71         </dependency>
72         <dependency>
73             <groupId>org.apache.httpcomponents</groupId>
74             <artifactId>httpclient</artifactId>
75             <version>4.5.2</version>
76         </dependency>
77         <dependency>
78             <groupId>org.onap.appc.services.dmaap</groupId>
79             <artifactId>appc-event-listener-bundle</artifactId>
80             <version>${project.version}</version>
81         </dependency>
82         <dependency>
83             <groupId>org.onap.appc.services.dmaap</groupId>
84             <artifactId>appc-message-adapter-factory</artifactId>
85             <version>${project.version}</version>
86         </dependency>
87         <dependency>
88             <groupId>org.onap.appc.services.dmaap</groupId>
89             <artifactId>appc-message-adapter-api</artifactId>
90             <version>${project.version}</version>
91         </dependency>
92         <dependency>
93             <groupId>org.onap.appc.services.dmaap</groupId>
94             <artifactId>appc-dmaap-adapter-bundle</artifactId>
95             <version>${project.version}</version>
96         </dependency>
97         <dependency>
98             <groupId>org.mockito</groupId>
99             <artifactId>mockito-core</artifactId>
100         </dependency>
101     </dependencies>
102       <build>
103         <plugins>
104             <plugin>
105                 <groupId>org.springframework.boot</groupId>
106                 <artifactId>spring-boot-maven-plugin</artifactId>
107             </plugin>
108             <plugin>
109                 <groupId>org.jacoco</groupId>
110                 <artifactId>jacoco-maven-plugin</artifactId>
111                 <executions>
112                   <execution>
113                     <id>prepare-agent</id>
114                     <goals>
115                         <goal>prepare-agent</goal>
116                     </goals>
117                   </execution>
118                   <execution>
119                      <id>report</id>
120                      <goals>
121                        <goal>report</goal>
122                      </goals>
123                      <configuration>
124                         <dataFile>${project.build.directory}/jacoco.exec</dataFile>
125                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
126                      </configuration>
127                   </execution>
128                </executions>
129             </plugin>
130         </plugins>
131     </build>
132 </project>