Fix sonar issues
[dcaegen2/platform.git] / mod / bpgenerator / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ /*
4   ~  * ============LICENSE_START=======================================================
5   ~  *  org.onap.dcae
6   ~  *  ================================================================================
7   ~  *  Copyright (c) 2020  AT&T Intellectual Property. All rights reserved.
8   ~  *  Copyright (c) 2020-2021 Nokia. All rights reserved.
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   ~  *  ============LICENSE_END=========================================================
22   ~  */
23   ~
24   -->
25
26 <project xmlns="http://maven.apache.org/POM/4.0.0"
27   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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.dcaegen2.platform.mod</groupId>
32   <artifactId>blueprint-generator</artifactId>
33   <version>1.8.0-SNAPSHOT</version>
34   <packaging>pom</packaging>
35
36   <modules>
37     <module>common</module>
38     <module>onap</module>
39     <module>onap-executable</module>
40     <module>coverage</module>
41   </modules>
42
43   <name>BlueprintGenerator</name>
44   <description>This is Parent Module used by DCAE and ONAP to generate Blueprints</description>
45
46   <parent>
47     <groupId>org.onap.oparent</groupId>
48     <artifactId>oparent</artifactId>
49     <version>2.0.0</version>
50     <relativePath/>
51   </parent>
52
53   <properties>
54     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
55     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
56     <java.version>11</java.version>
57     <maven.compiler.source>${java.version}</maven.compiler.source>
58     <maven.compiler.target>${java.version}</maven.compiler.target>
59     <spring-boot.version>2.2.9.RELEASE</spring-boot.version>
60     <jackson.version>2.9.7</jackson.version>
61     <lombok.version>1.18.10</lombok.version>
62     <gson.version>2.8.6</gson.version>
63     <commons.io.version>2.6</commons.io.version>
64     <commons.cli.version>1.4</commons.cli.version>
65     <maven.surefireplugin.version>2.22.2</maven.surefireplugin.version>
66     <maven.compilerplugin.version>3.8.1</maven.compilerplugin.version>
67     <dockerfile-maven-plugin.version>1.4.10</dockerfile-maven-plugin.version>
68     <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
69     <sonar.maven.plugin>3.0.2</sonar.maven.plugin>
70     <sonar.junit.reportsPath>${project.basedir}/target/surefire-reports
71     </sonar.junit.reportsPath>
72     <sonar.surefire.reportsPath>${project.basedir}/target/surefire-reports
73     </sonar.surefire.reportsPath>
74     <sonar.coverage.exclusions>coverage/**</sonar.coverage.exclusions>
75     <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../coverage/target/site/jacoco-aggregate/jacoco.xml
76     </sonar.coverage.jacoco.xmlReportPaths>
77     <org.slf4j.version>1.7.30</org.slf4j.version>
78   </properties>
79
80   <dependencies>
81     <dependency>
82       <groupId>org.springframework</groupId>
83       <artifactId>spring-context</artifactId>
84       <version>5.2.0.RELEASE</version>
85     </dependency>
86     <dependency>
87       <groupId>org.springframework</groupId>
88       <artifactId>spring-core</artifactId>
89       <version>5.2.0.RELEASE</version>
90     </dependency>
91     <dependency>
92       <groupId>org.springframework.boot</groupId>
93       <artifactId>spring-boot-starter</artifactId>
94       <version>2.2.5.RELEASE</version>
95     </dependency>
96     <dependency>
97       <groupId>org.springframework.boot</groupId>
98       <artifactId>spring-boot-starter-test</artifactId>
99       <version>2.2.5.RELEASE</version>
100       <scope>test</scope>
101     </dependency>
102     <dependency>
103       <groupId>org.springframework.boot</groupId>
104       <artifactId>spring-boot-starter-validation</artifactId>
105       <version>2.2.5.RELEASE</version>
106     </dependency>
107     <dependency>
108       <groupId>org.projectlombok</groupId>
109       <artifactId>lombok</artifactId>
110       <version>${lombok.version}</version>
111       <scope>provided</scope>
112     </dependency>
113     <dependency>
114       <groupId>com.google.code.gson</groupId>
115       <artifactId>gson</artifactId>
116       <version>${gson.version}</version>
117     </dependency>
118     <dependency>
119       <groupId>com.fasterxml.jackson.dataformat</groupId>
120       <artifactId>jackson-dataformat-yaml</artifactId>
121       <version>${jackson.version}</version>
122     </dependency>
123     <dependency>
124       <groupId>junit</groupId>
125       <artifactId>junit</artifactId>
126       <version>4.12</version>
127       <scope>test</scope>
128     </dependency>
129     <dependency>
130       <groupId>org.mockito</groupId>
131       <artifactId>mockito-core</artifactId>
132       <version>3.1.0</version>
133       <scope>test</scope>
134     </dependency>
135     <dependency>
136       <groupId>info.picocli</groupId>
137       <artifactId>picocli</artifactId>
138       <version>3.9.6</version>
139     </dependency>
140     <dependency>
141       <groupId>com.fasterxml.jackson.core</groupId>
142       <artifactId>jackson-databind</artifactId>
143       <version>${jackson.version}</version>
144     </dependency>
145     <dependency>
146       <groupId>com.fasterxml.jackson.core</groupId>
147       <artifactId>jackson-annotations</artifactId>
148       <version>${jackson.version}</version>
149     </dependency>
150     <dependency>
151       <groupId>commons-io</groupId>
152       <artifactId>commons-io</artifactId>
153       <version>${commons.io.version}</version>
154     </dependency>
155     <dependency>
156       <groupId>commons-cli</groupId>
157       <artifactId>commons-cli</artifactId>
158       <version>${commons.cli.version}</version>
159     </dependency>
160     <dependency>
161       <groupId>org.apache.maven</groupId>
162       <artifactId>maven-model</artifactId>
163       <version>3.3.9</version>
164     </dependency>
165   </dependencies>
166
167   <build>
168     <plugins>
169       <plugin>
170         <groupId>org.apache.maven.plugins</groupId>
171         <artifactId>maven-javadoc-plugin</artifactId>
172         <version>2.10.2</version>
173         <configuration>
174           <additionalparam>-Xdoclint:all</additionalparam>
175           <additionalparam>-Xlint:all</additionalparam>
176         </configuration>
177       </plugin>
178
179       <plugin>
180         <groupId>org.apache.maven.plugins</groupId>
181         <artifactId>maven-surefire-report-plugin</artifactId>
182         <version>2.6</version>
183         <executions>
184           <execution>
185             <phase>test</phase>
186             <goals>
187               <goal>report</goal>
188             </goals>
189           </execution>
190         </executions>
191       </plugin>
192       <plugin>
193         <groupId>org.apache.maven.plugins</groupId>
194         <artifactId>maven-compiler-plugin</artifactId>
195         <version>${maven.compilerplugin.version}</version>
196         <configuration>
197           <source>${maven.compiler.source}</source>
198           <target>${maven.compiler.target}</target>
199         </configuration>
200       </plugin>
201       <plugin>
202         <groupId>org.sonarsource.scanner.maven</groupId>
203         <artifactId>sonar-maven-plugin</artifactId>
204         <version>${sonar.maven.plugin}</version>
205       </plugin>
206     </plugins>
207   </build>
208
209 </project>