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