Maven staging plugin removed
[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         <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
28         <sonar.branch>${project.version}</sonar.branch>
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.3.0-SNAPSHOT</version>
36             <exclusions>
37                 <exclusion>
38                     <groupId>org.slf4j</groupId>
39                     <artifactId>slf4j-api</artifactId>
40                 </exclusion>
41                 <exclusion>
42                     <groupId>org.slf4j</groupId>
43                     <artifactId>log4j-over-slf4j</artifactId>
44                 </exclusion>
45                 <exclusion>
46                     <groupId>log4j</groupId>
47                     <artifactId>log4j</artifactId>
48                 </exclusion>
49             </exclusions>
50         </dependency>
51     </dependencies>
52
53
54     <build>
55         <plugins>
56             <plugin>
57                 <groupId>org.jacoco</groupId>
58                 <artifactId>jacoco-maven-plugin</artifactId>
59                 <version>0.7.9</version>
60                 <executions>
61                     <execution>
62                         <id>default-prepare-agent</id>
63                         <goals>
64                             <goal>prepare-agent</goal>
65                         </goals>
66                     </execution>
67                     <execution>
68                         <id>default-report</id>
69                         <goals>
70                             <goal>report</goal>
71                         </goals>
72                     </execution>
73                 </executions>
74             </plugin>
75             <!-- Site Plugin -->
76             <plugin>
77                 <groupId>org.apache.maven.plugins</groupId>
78                 <artifactId>maven-site-plugin</artifactId>
79                 <version>3.4</version>
80                 <dependencies>
81                     <dependency>
82                         <groupId>org.apache.maven.wagon</groupId>
83                         <artifactId>wagon-webdav-jackrabbit</artifactId>
84                         <version>2.10</version>
85                     </dependency>
86                 </dependencies>
87             </plugin>
88             <plugin>
89                 <groupId>org.codehaus.mojo</groupId>
90                 <artifactId>build-helper-maven-plugin</artifactId>
91                 <version>1.8</version>
92                 <executions>
93                     <execution>
94                         <id>parse-version</id>
95                         <goals>
96                             <goal>parse-version</goal>
97                         </goals>
98                     </execution>
99                 </executions>
100             </plugin>
101             <plugin>
102                 <groupId>org.apache.maven.plugins</groupId>
103                 <artifactId>maven-compiler-plugin</artifactId>
104                 <configuration>
105                     <source>1.8</source>
106                     <target>1.8</target>
107                 </configuration>
108             </plugin>
109         </plugins>
110     </build>
111
112     <profiles>
113         <profile>
114             <id>all</id>
115             <activation>
116                 <activeByDefault>true</activeByDefault>
117             </activation>
118             <modules>
119                 <module>dcaedt_validator</module>
120                 <module>dcaedt_catalog</module>
121                 <module>dcaedt_be</module>
122                 <module>dcaedt_tools</module>
123             </modules>
124         </profile>
125     </profiles>
126
127     <repositories>
128         <!-- LF repositories -->
129         <repository>
130             <id>ecomp-releases</id>
131             <name>Release Repository</name>
132             <url>${nexus.proxy}/content/repositories/releases/</url>
133         </repository>
134         <repository>
135             <id>ecomp-snapshots</id>
136             <name>Snapshots Repository</name>
137             <url>${nexus.proxy}/content/repositories/snapshots/</url>
138         </repository>
139         <repository>
140             <id>ecomp-public</id>
141             <name>Public Repository</name>
142             <url>${nexus.proxy}/content/repositories/public/</url>
143         </repository>
144         <!-- LF repositories END-->
145     </repositories>
146
147     <distributionManagement>
148         <repository>
149             <id>ecomp-releases</id>
150             <name>Release Repository</name>
151             <url>${nexus.proxy}/content/repositories/releases/</url>
152         </repository>
153         <snapshotRepository>
154             <id>ecomp-snapshots</id>
155             <name>Snapshot Repository</name>
156             <url>${nexus.proxy}/content/repositories/snapshots/</url>
157         </snapshotRepository>
158         <site>
159             <id>ecomp-site</id>
160             <url>dav:${nexus.proxy}${sitePath}</url>
161         </site>
162     </distributionManagement>
163 </project>