Update SDC version 1.5.0
[sdc.git] / openecomp-be / pom.xml
1 <!--
2   ~ Copyright © 2016-2018 European Support Limited
3   ~
4   ~ Licensed under the Apache License, Version 2.0 (the "License");
5   ~ you may not use this file except in compliance with the License.
6   ~ You may obtain a copy of the License at
7   ~
8   ~      http://www.apache.org/licenses/LICENSE-2.0
9   ~
10   ~ Unless required by applicable law or agreed to in writing, software
11   ~ distributed under the License is distributed on an "AS IS" BASIS,
12   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   ~ See the License for the specific language governing permissions and
14   ~ limitations under the License.
15   -->
16
17 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
18          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
19     <modelVersion>4.0.0</modelVersion>
20
21     <name>openecomp-sdc</name>
22     <artifactId>openecomp-sdc</artifactId>
23     <packaging>pom</packaging>
24
25     <url>http://maven.apache.org</url>
26
27     <parent>
28         <groupId>org.openecomp.sdc</groupId>
29         <artifactId>sdc-onboarding</artifactId>
30         <version>1.5.0-SNAPSHOT</version>
31         <relativePath>../onboarding/pom.xml</relativePath>
32     </parent>
33
34     <dependencies>
35         <dependency>
36             <groupId>org.togglz</groupId>
37             <artifactId>togglz-core</artifactId>
38             <version>${togglz.version}</version>
39         </dependency>
40         <dependency>
41             <groupId>org.togglz</groupId>
42             <artifactId>togglz-testing</artifactId>
43             <version>${togglz.version}</version>
44             <scope>test</scope>
45         </dependency>
46     </dependencies>
47
48     <build>
49         <plugins>
50             <plugin>
51                 <groupId>org.apache.maven.plugins</groupId>
52                 <artifactId>maven-compiler-plugin</artifactId>
53                 <version>${mvn.compiler.version}</version>
54             </plugin>
55             <plugin>
56                 <groupId>org.apache.maven.plugins</groupId>
57                 <artifactId>maven-jar-plugin</artifactId>
58                 <version>${mvn.jar.version}</version>
59             </plugin>
60             <plugin>
61                 <groupId>org.jacoco</groupId>
62                 <artifactId>jacoco-maven-plugin</artifactId>
63                 <executions>
64                     <execution>
65                         <id>default-prepare-agent</id>
66                         <goals>
67                             <goal>prepare-agent</goal>
68                         </goals>
69                     </execution>
70                     <execution>
71                         <id>report</id>
72                         <phase>prepare-package</phase>
73                         <goals>
74                             <goal>report</goal>
75                         </goals>
76                     </execution>
77                     <execution>
78                         <id>post-unit-test</id>
79                         <phase>test</phase>
80                         <goals>
81                             <goal>report</goal>
82                         </goals>
83                         <configuration>
84                             <!-- Sets the path to the file which contains the execution data. -->
85                             <dataFile>target/jacoco.exec</dataFile>
86                             <!-- Sets the output directory for the code coverage report. -->
87                             <outputDirectory>target/jacoco-ut</outputDirectory>
88                         </configuration>
89                     </execution>
90                 </executions>
91             </plugin>
92
93         </plugins>
94     </build>
95
96     <modules>
97         <module>/api</module>
98         <module>/lib</module>
99         <module>/tools/swagger-ui</module>
100         <module>/tools/zusammen-tools</module>
101         <module>/backend</module>
102     </modules>
103
104     <profiles>
105         <profile>
106             <id>docker</id>
107             <activation>
108                 <activeByDefault>false</activeByDefault>
109             </activation>
110             <modules>
111                 <module>/dist</module>
112             </modules>
113         </profile>
114     </profiles>
115 </project>
116