Merge "Fix mod ui build issues"
[dcaegen2/platform.git] / mod / bpgenerator / 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.mod</groupId>
31         <artifactId>blueprint-generator</artifactId>
32         <version>1.5.1-SNAPSHOT</version>
33         <properties>
34                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35                 <sonar.junit.reportsPath>${project.basedir}/target/surefire-reports</sonar.junit.reportsPath>
36                 <sonar.surefire.reportsPath>${project.basedir}/target/surefire-reports</sonar.surefire.reportsPath>
37                 <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/target/site/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
38                 <shade.main>org.onap.blueprintgenerator.core.App</shade.main>
39                 <shade.transformer>org.apache.maven.plugins.shade.resource.ManifestResourceTransformer</shade.transformer>
40         </properties>
41
42         <build>
43                 <plugins>    
44         <!-- the following plugins are invoked from oparent, we do not need them -->
45                         <plugin>
46                                 <artifactId>maven-assembly-plugin</artifactId>
47                                 <version>2.4.1</version>
48                                 <configuration>
49                                         <descriptors>
50                                                 <descriptor>src/assembly/dep.xml</descriptor>
51                                         </descriptors>
52                                 </configuration>
53
54                                 <executions>
55                                         <execution>
56
57                                                 <id>make-assembly</id>
58                                                 <phase>package</phase>
59                                                 <goals>
60                                                         <goal>single</goal>
61                                                 </goals>
62                                         </execution>
63                                 </executions>
64
65                         </plugin>
66
67                         <plugin>
68                                 <groupId>org.sonarsource.scanner.maven</groupId>
69                                 <artifactId>sonar-maven-plugin</artifactId>
70                                 <version>3.0.2</version>
71                         </plugin>
72                         <plugin>
73                                 <groupId>org.apache.maven.plugins</groupId>
74                                 <artifactId>maven-shade-plugin</artifactId>
75                                 <version>3.2.1</version>
76                                 <executions>
77                                         <execution>
78                                                 <goals>
79                                                         <goal>shade</goal>
80                                                 </goals>
81                                                 <configuration>
82                                                         <shadedArtifactAttached>true</shadedArtifactAttached>
83                                                         <shadedClassifierName>executable</shadedClassifierName>
84                                                         <transformers>
85                                                                 <transformer
86                                                                                 implementation="${shade.transformer}">
87                                                                         <mainClass>${shade.main}</mainClass>
88                                                                 </transformer>
89                                                         </transformers>
90                                                 </configuration>
91                                         </execution>
92                                 </executions>
93                         </plugin>
94                         <plugin>
95                                 <groupId>org.apache.maven.plugins</groupId>
96                                 <artifactId>maven-compiler-plugin</artifactId>
97                                 <configuration>
98                                         <source>11</source>
99                                         <target>11</target>
100                                 </configuration>
101                         </plugin>
102                 </plugins>
103         </build>
104
105         <dependencies>
106                 <dependency>
107                         <groupId>junit</groupId>
108                         <artifactId>junit</artifactId>
109                         <version>4.12</version>
110                         <scope>test</scope>
111                 </dependency>
112                 <dependency>
113                         <groupId>org.mockito</groupId>
114                         <artifactId>mockito-core</artifactId>
115                         <version>3.1.0</version>
116                         <scope>test</scope>
117                 </dependency>
118
119                 <dependency>
120                         <groupId>info.picocli</groupId>
121                         <artifactId>picocli</artifactId>
122                         <version>3.9.6</version>
123                 </dependency>
124                 <dependency>
125                         <groupId>org.projectlombok</groupId>
126                         <artifactId>lombok</artifactId>
127                         <version>1.18.2</version>
128                         <scope>provided</scope>
129                 </dependency>
130                 <dependency>
131                         <groupId>com.fasterxml.jackson.dataformat</groupId>
132                         <artifactId>jackson-dataformat-yaml</artifactId>
133                         <version>2.9.8</version>
134                 </dependency>
135
136                 <dependency>
137                         <groupId>com.fasterxml.jackson.core</groupId>
138                         <artifactId>jackson-databind</artifactId>
139                         <version>2.9.8</version>
140                 </dependency>
141                 <dependency>
142                         <groupId>com.fasterxml.jackson.core</groupId>
143                         <artifactId>jackson-annotations</artifactId>
144                         <version>2.9.8</version>
145                 </dependency>
146         </dependencies>
147
148 </project>