DCAE_BE keep docker running
[sdc/dcae-d/dt-be-main.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project
3     xmlns="http://maven.apache.org/POM/4.0.0"
4     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5     <modelVersion>4.0.0</modelVersion>
6     <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId>
7     <artifactId>dcae_dt_be_main</artifactId>
8     <version>1.2.0-SNAPSHOT</version>
9     <packaging>pom</packaging>
10     <name>dcae-d dt-be-main</name>
11
12     <parent>
13         <groupId>org.springframework.boot</groupId>
14         <artifactId>spring-boot-starter-parent</artifactId>
15         <version>1.5.9.RELEASE</version>
16         <relativePath/>
17         <!-- lookup parent from repository -->
18     </parent>
19
20     <properties>
21         <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
22         <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
23         <docker.latest.tag>${project.version}-latest</docker.latest.tag>
24         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
25         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
26         <java.version>1.8</java.version>
27         <nexus.proxy>https://nexus.onap.org</nexus.proxy>
28         <staging.profile.id>176c31dfe190a</staging.profile.id>
29         <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
30         <sonar.branch>${project.version}</sonar.branch>
31     </properties>
32
33     <dependencies>
34         <dependency>
35             <groupId>org.onap.sdc.dcae-d.dt-be-property</groupId>
36             <artifactId>DCAE-DT-PROPERTY</artifactId>
37             <version>1.2.0-SNAPSHOT</version>
38             <exclusions>
39                 <exclusion>
40                     <groupId>org.slf4j</groupId>
41                     <artifactId>slf4j-api</artifactId>
42                 </exclusion>
43                 <exclusion>
44                     <groupId>log4j</groupId>
45                     <artifactId>log4j</artifactId>
46                 </exclusion>
47             </exclusions>
48         </dependency>
49     </dependencies>
50
51
52     <build>
53         <plugins>
54             <plugin>
55                 <groupId>org.jacoco</groupId>
56                 <artifactId>jacoco-maven-plugin</artifactId>
57                 <version>0.7.9</version>
58                 <executions>
59                     <execution>
60                         <id>default-prepare-agent</id>
61                         <goals>
62                             <goal>prepare-agent</goal>
63                         </goals>
64                     </execution>
65                     <execution>
66                         <id>default-report</id>
67                         <goals>
68                             <goal>report</goal>
69                         </goals>
70                     </execution>
71                 </executions>
72             </plugin>
73             <!-- Site Plugin -->
74             <plugin>
75                     <groupId>org.apache.maven.plugins</groupId>
76                         <artifactId>maven-site-plugin</artifactId>
77                         <version>3.4</version>
78                         <dependencies>
79                                 <dependency>
80                                         <groupId>org.apache.maven.wagon</groupId>
81                                         <artifactId>wagon-webdav-jackrabbit</artifactId>
82                                         <version>2.10</version>
83                                 </dependency>
84                         </dependencies>
85             </plugin>
86                 <!-- Staging Plugin -->
87                 <plugin>
88                         <groupId>org.sonatype.plugins</groupId>
89                         <artifactId>nexus-staging-maven-plugin</artifactId>
90                         <version>1.6.7</version>
91                         <extensions>true</extensions>
92                         <configuration>
93                                 <nexusUrl>${nexus.proxy}</nexusUrl>
94                                 <stagingProfileId>${staging.profile.id}</stagingProfileId>
95                                 <serverId>ecomp-staging</serverId>
96                         </configuration>
97                 </plugin>
98             <plugin>
99                 <groupId>org.codehaus.mojo</groupId>
100                 <artifactId>build-helper-maven-plugin</artifactId>
101                 <version>1.8</version>
102                 <executions>
103                     <execution>
104                         <id>parse-version</id>
105                         <goals>
106                             <goal>parse-version</goal>
107                         </goals>
108                     </execution>
109                 </executions>
110             </plugin>
111             <plugin>
112                 <groupId>org.apache.maven.plugins</groupId>
113                 <artifactId>maven-compiler-plugin</artifactId>
114                 <configuration>
115                     <source>1.8</source>
116                     <target>1.8</target>
117                 </configuration>
118             </plugin>
119         </plugins>
120     </build>
121
122     <profiles>
123         <profile>
124             <id>all</id>
125             <activation>
126                 <activeByDefault>true</activeByDefault>
127             </activation>
128             <modules>
129                 <module>dcaedt_validator</module>
130                 <module>dcaedt_catalog</module>
131                 <module>dcaedt_be</module>
132                 <module>dcaedt_tools</module>
133             </modules>
134         </profile>
135     </profiles>
136
137     <repositories>
138         <!-- LF repositories -->
139         <repository>
140             <id>ecomp-releases</id>
141             <name>Release Repository</name>
142             <url>${nexus.proxy}/content/repositories/releases/</url>
143         </repository>
144         <repository>
145             <id>ecomp-snapshots</id>
146             <name>Snapshots Repository</name>
147             <url>${nexus.proxy}/content/repositories/snapshots/</url>
148         </repository>
149         <repository>
150             <id>ecomp-public</id>
151             <name>Public Repository</name>
152             <url>${nexus.proxy}/content/repositories/public/</url>
153         </repository>
154         <!-- LF repositories END-->
155     </repositories>
156
157     <distributionManagement>
158         <repository>
159             <id>ecomp-releases</id>
160             <name>Release Repository</name>
161             <url>${nexus.proxy}/content/repositories/releases/</url>
162         </repository>
163         <snapshotRepository>
164             <id>ecomp-snapshots</id>
165             <name>Snapshot Repository</name>
166             <url>${nexus.proxy}/content/repositories/snapshots/</url>
167         </snapshotRepository>
168         <site>
169             <id>ecomp-site</id>
170             <url>dav:${nexus.proxy}${sitePath}</url>
171         </site>
172     </distributionManagement>
173 </project>