Set version to 6.0.0
[cli.git] / profiles / http / pom.xml
1 <?xml version="1.0"?>
2
3 <!--
4    Copyright 2018 Huawei Technologies Co., Ltd.
5
6    Licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8    You may obtain a copy of the License at
9
10        http://www.apache.org/licenses/LICENSE-2.0
11
12    Unless required by applicable law or agreed to in writing, software
13    distributed under the License is distributed on an "AS IS" BASIS,
14    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15    See the License for the specific language governing permissions and
16    limitations under the License.
17  -->
18
19 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
20     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
21   <modelVersion>4.0.0</modelVersion>
22   <parent>
23     <groupId>org.onap.cli</groupId>
24     <artifactId>cli-profiles</artifactId>
25     <version>6.0.0-SNAPSHOT</version>
26   </parent>
27
28   <artifactId>cli-profiles-http</artifactId>
29   <name>cli/profiles/http</name>
30   <packaging>jar</packaging>
31   <properties>
32     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33       <!--Step-1:- SonarCloud migration from SonarQube -->
34       <sonar.language>java</sonar.language>
35       <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports123</sonar.surefire.reportsPath>
36       <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
37       <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
38       <sonar.projectVersion>${project.version}</sonar.projectVersion>
39       <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
40   </properties>
41   <dependencies>
42         <dependency>
43             <groupId>org.onap.cli</groupId>
44             <artifactId>cli-sample-mock-generator</artifactId>
45             <version>${project.version}</version>
46         </dependency>
47 <!--Change version from 4.3.5 to 4.5.7 due to sonatype-2017-
48 0359 and CVE-2015-526.
49 Excluded commons-codec vulnerable version and added invulnerable version
50
51  -->
52         <dependency>
53             <groupId>org.apache.httpcomponents</groupId>
54             <artifactId>httpclient</artifactId>
55             <version>4.5.7</version>
56             <exclusions>
57                 <exclusion>
58                     <groupId>commons-codec</groupId>
59                     <artifactId>commons-codec</artifactId>
60                 </exclusion>
61             </exclusions>
62         </dependency>
63       <dependency>
64           <groupId>commons-codec</groupId>
65           <artifactId>commons-codec</artifactId>
66           <version>1.14</version>
67       </dependency>
68         <dependency>
69           <groupId>org.apache.httpcomponents</groupId>
70           <artifactId>httpmime</artifactId>
71           <version>4.3.5</version>
72           <scope>compile</scope>
73         </dependency>
74         <dependency>
75             <groupId>com.jayway.jsonpath</groupId>
76             <artifactId>json-path</artifactId>
77             <version>2.2.0</version>
78         </dependency>
79         <dependency>
80             <groupId>com.google.code.gson</groupId>
81             <artifactId>gson</artifactId>
82             <version>2.8.2</version>
83         </dependency>
84         <dependency>
85             <groupId>org.onap.cli</groupId>
86             <artifactId>cli-main</artifactId>
87             <version>${project.version}</version>
88             <scope>test</scope>
89         </dependency>
90       <!-- excluded netty-codec-http and added invulnerable version -->
91         <dependency>
92           <groupId>com.github.dreamhead</groupId>
93           <artifactId>moco-runner</artifactId>
94           <version>0.12.0</version>
95           <exclusions>
96               <exclusion>
97                   <groupId>log4j</groupId>
98                   <artifactId>log4j</artifactId>
99               </exclusion>
100               <exclusion>
101                   <groupId>ch.qos.logback</groupId>
102                   <artifactId>logback-classic</artifactId>
103               </exclusion>
104             <exclusion>
105                 <groupId>io.netty</groupId>
106                 <artifactId>netty-codec-http</artifactId>
107             </exclusion>
108           </exclusions>
109           </dependency>
110       <dependency>
111           <groupId>io.netty</groupId>
112           <artifactId>netty-codec-http</artifactId>
113           <version>4.1.48.Final</version>
114       </dependency>
115           <dependency>
116             <groupId>junit</groupId>
117             <artifactId>junit</artifactId>
118             <version>4.11</version>
119             <scope>test</scope>
120         </dependency>
121         <dependency>
122             <groupId>org.jmockit</groupId>
123             <artifactId>jmockit</artifactId>
124             <version>1.43</version>
125             <scope>test</scope>
126         </dependency>
127         <dependency>
128             <groupId>org.jmockit</groupId>
129             <artifactId>jmockit-coverage</artifactId>
130             <version>1.19</version>
131             <scope>test</scope>
132         </dependency>
133       <dependency>
134           <groupId>com.fasterxml.jackson.core</groupId>
135           <artifactId>jackson-databind</artifactId>
136           <version>2.10.0</version>
137       </dependency>
138    </dependencies>
139    <build>
140         <plugins>
141             <!--Step-2:- SonarCloud migration from SonarQube -->
142             <plugin>
143                 <groupId>org.jacoco</groupId>
144                 <artifactId>jacoco-maven-plugin</artifactId>
145                 <executions>
146                     <execution>
147                         <id>prepare-agent</id>
148                         <goals>
149                             <goal>prepare-agent</goal>
150                         </goals>
151                     </execution>
152                     <execution>
153                         <id>report</id>
154                         <goals>
155                             <goal>report</goal>
156                         </goals>
157                         <configuration>
158                             <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
159                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
160                         </configuration>
161                     </execution>
162                 </executions>
163             </plugin>
164             <plugin>
165               <groupId>org.apache.maven.plugins</groupId>
166               <artifactId>maven-dependency-plugin</artifactId>
167             </plugin>
168             <plugin>
169               <groupId>org.apache.maven.plugins</groupId>
170               <artifactId>maven-resources-plugin</artifactId>
171             </plugin>
172         </plugins>
173     </build>
174 </project>