Add distributionManagement section
[sdnc/oam.git] / configbackuprestore / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
5         <modelVersion>4.0.0</modelVersion>
6
7         <groupId>org.onap.ccsdk.parent</groupId>
8         <artifactId>configbackuprestore</artifactId>
9         <version>1.0-SNAPSHOT</version>
10         <name>Archetype - configbackuprestore</name>
11         <packaging>pom</packaging>
12
13         <parent>
14                 <groupId>org.springframework.boot</groupId>
15                 <artifactId>spring-boot-starter-parent</artifactId>
16                 <version>1.5.4.RELEASE</version>
17         </parent>
18
19         <properties>
20                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21         </properties>
22
23         <dependencies>
24                 <dependency>
25                         <groupId>junit</groupId>
26                         <artifactId>junit</artifactId>
27                         <version>3.8.1</version>
28                         <scope>test</scope>
29                 </dependency>
30         </dependencies>
31
32         <distributionManagement>
33                 <repository>
34                         <id>ecomp-releases</id>
35                         <url>http://nexus.onap.org/content/repositories/releases</url>
36                 </repository>
37                 <snapshotRepository>
38                         <id>ecomp-snapshots</id>
39                         <url>http://nexus.onap.org/content/repositories/snapshots</url>
40                 </snapshotRepository>
41         </distributionManagement>
42
43         <modules>
44                 <module>getBackupVnfDetailService</module>
45                 <module>vnfconfigreportsservice</module>
46                 <module>vnfconfigbackupservice</module>
47         </modules>
48
49         <build>
50                 <plugins>
51                         <plugin>
52                                 <groupId>org.jacoco</groupId>
53                                 <artifactId>jacoco-maven-plugin</artifactId>
54                                 <version>0.7.5.201505241946</version>
55                                 <executions>
56
57                                         <execution>
58                                                 <id>pre-unit-test</id>
59                                                 <goals>
60                                                         <goal>prepare-agent</goal>
61                                                 </goals>
62                                                 <configuration>
63                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
64                                                         <propertyName>surefireArgLine</propertyName>
65                                                 </configuration>
66                                         </execution>
67
68                                         <execution>
69                                                 <id>post-unit-test</id>
70                                                 <phase>test</phase>
71                                                 <goals>
72                                                         <goal>report</goal>
73                                                 </goals>
74                                                 <configuration>
75                                                         <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
76                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
77                                                 </configuration>
78                                         </execution>
79                                 </executions>
80                         </plugin>
81                 </plugins>
82         </build>
83
84 </project>