Added the policy models to onap version
[dcaegen2/platform/cli.git] / blueprint-generator / pom.xml
1 <!--
2 ============LICENSE_START=======================================================
3  org.onap.dcae
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
21 <project xmlns="http://maven.apache.org/POM/4.0.0"
22         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         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         <parent>
26                 <groupId>org.onap.oparent</groupId> 
27                 <artifactId>oparent</artifactId> 
28                 <version>2.0.0</version> 
29         </parent>
30         <groupId>org.onap.dcaegen2.platform.cli</groupId>
31         <artifactId>blueprint-generator</artifactId>
32         <version>1.2.0-SNAPSHOT</version>
33         <properties>
34                 <maven.compiler.source>1.6</maven.compiler.source>
35                 <maven.compiler.target>1.6</maven.compiler.target>
36
37                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38                 <sonar.core.codeCoveragePlugin>cobertura</sonar.core.codeCoveragePlugin>
39                 <sonar.java.coveragePlugin>cobertura</sonar.java.coveragePlugin>
40                 <sonar.junit.reportsPath>${project.basedir}/target/surefire-reports</sonar.junit.reportsPath>
41                 <sonar.surefire.reportsPath>${project.basedir}/target/surefire-reports</sonar.surefire.reportsPath>
42                 <sonar.cobertura.reportPath>${project.basedir}/target/site/cobertura/coverage.xml</sonar.cobertura.reportPath>
43
44         </properties>
45
46         <build>
47                 <plugins>    
48         <!-- the following plugins are invoked from oparent, we do not need them -->
49                         <plugin>
50                                 <artifactId>maven-assembly-plugin</artifactId>
51                                 <version>2.4.1</version>
52                                 <configuration>
53                                         <descriptors>
54                                                 <descriptor>src/assembly/dep.xml</descriptor>
55                                         </descriptors>
56                                 </configuration>
57
58                                 <executions>
59                                         <execution>
60
61                                                 <id>make-assembly</id>
62                                                 <phase>package</phase>
63                                                 <goals>
64                                                         <goal>single</goal>
65                                                 </goals>
66                                         </execution>
67                                 </executions>
68
69
70                         </plugin>
71
72                         <plugin>
73                                 <groupId>org.codehaus.mojo</groupId>
74                                 <artifactId>cobertura-maven-plugin</artifactId>
75                                 <version>2.7</version>
76                                 <configuration>
77                                         <instrumentation>
78                                                 <includes>
79                                                         <include>**/*.class</include>
80                                                 </includes>
81                                         </instrumentation>
82                                         <encoding>UTF-8</encoding>
83                                 </configuration>
84
85                                 <executions>
86
87                                         <execution>
88                                                 <id>clean</id>
89                                                 <!-- > <phase>pre-site</phase> -->
90                                                 <phase>pre-site</phase>
91                                                 <goals>
92                                                         <goal>cobertura</goal>
93                                                 </goals>
94                                         </execution>
95
96
97                                         <execution>
98                                                 <id>instrument</id>
99                                                 <phase>site</phase>
100                                                 <goals>
101                                                         <goal>instrument</goal>
102                                                         <goal>cobertura</goal>
103                                                 </goals>
104                                                 <configuration>
105                                                         <encoding>UTF-8</encoding>
106                                                 </configuration>
107                                         </execution>
108
109                                 </executions>
110
111                         </plugin>
112
113                         <plugin>
114                                 <groupId>org.sonarsource.scanner.maven</groupId>
115                                 <artifactId>sonar-maven-plugin</artifactId>
116                                 <version>3.0.2</version>
117                         </plugin>
118
119                 </plugins>
120
121         </build>
122
123         <reporting>
124                 <plugins>
125                         <plugin>
126                                 <!-- use mvn cobertura:cobertura to generate cobertura reports -->
127                                 <groupId>org.codehaus.mojo</groupId>
128                                 <artifactId>cobertura-maven-plugin</artifactId>
129                                 <version>2.7</version>
130                                 <configuration>
131                                         <formats>
132                                                 <format>xml</format>
133                                         </formats>
134                                 </configuration>
135                         </plugin>
136                 </plugins>
137         </reporting>
138
139
140         <dependencies>
141                 <dependency>
142                         <groupId>org.projectlombok</groupId>
143                         <artifactId>lombok</artifactId>
144                         <version>1.18.2</version>
145                         <scope>provided</scope>
146                 </dependency>
147
148                 <dependency>
149                         <groupId>commons-cli</groupId>
150                         <artifactId>commons-cli</artifactId>
151                         <version>1.2</version>
152                 </dependency>
153
154                 <dependency>
155                         <groupId>junit</groupId>
156                         <artifactId>junit</artifactId>
157                         <version>4.12</version>
158                         <scope>test</scope>
159                 </dependency>
160
161                 <dependency>
162                         <groupId>com.fasterxml.jackson.dataformat</groupId>
163                         <artifactId>jackson-dataformat-yaml</artifactId>
164                         <version>2.9.8</version>
165                 </dependency>
166
167                 <dependency>
168                         <groupId>com.fasterxml.jackson.core</groupId>
169                         <artifactId>jackson-databind</artifactId>
170                         <version>2.9.8</version>
171                 </dependency>
172                 <dependency>
173                         <groupId>com.fasterxml.jackson.core</groupId>
174                         <artifactId>jackson-annotations</artifactId>
175                         <version>2.9.8</version>
176                 </dependency>
177         </dependencies>
178
179 </project>