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