9ef6effc3960d8ccefe361fe663e1b590246a951
[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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4
5     <parent>
6         <groupId>org.onap.ccsdk.parent</groupId>
7         <artifactId>spring-boot-1-starter-parent</artifactId>
8         <version>2.1.1-SNAPSHOT</version>
9     </parent>
10
11     <groupId>org.onap.sdnc.oam.vnfbackup</groupId>
12     <artifactId>configbackuprestore</artifactId>
13     <version>2.0.1-SNAPSHOT</version>
14     <packaging>pom</packaging>
15
16     <name>sdnc-oam :: vnfbackup</name>
17
18     <modules>
19         <module>getBackupVnfDetailService</module>
20         <module>vnfconfigreportsservice</module>
21         <module>vnfconfigbackupservice</module>
22     </modules>
23
24     <distributionManagement>
25         <repository>
26             <id>ecomp-releases</id>
27             <url>http://nexus.onap.org/content/repositories/releases</url>
28         </repository>
29         <snapshotRepository>
30             <id>ecomp-snapshots</id>
31             <url>http://nexus.onap.org/content/repositories/snapshots</url>
32         </snapshotRepository>
33     </distributionManagement>
34
35     <properties>
36         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37
38         <!-- ONAP repositories -->
39         <onap.nexus.host>nexus.onap.org</onap.nexus.host>
40         <onap.nexus.port>443</onap.nexus.port>
41         <onap.nexus.protocol>https</onap.nexus.protocol>
42         <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
43         <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
44         <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
45         <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
46         <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
47         <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
48     </properties>
49
50     <dependencies>
51         <dependency>
52             <groupId>junit</groupId>
53             <artifactId>junit</artifactId>
54             <version>3.8.1</version>
55             <scope>test</scope>
56         </dependency>
57     </dependencies>
58
59     <build>
60         <plugins>
61             <plugin>
62                 <groupId>org.jacoco</groupId>
63                 <artifactId>jacoco-maven-plugin</artifactId>
64                 <version>0.7.5.201505241946</version>
65                 <executions>
66
67                     <execution>
68                         <id>pre-unit-test</id>
69                         <goals>
70                             <goal>prepare-agent</goal>
71                         </goals>
72                         <configuration>
73                             <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
74                             <propertyName>surefireArgLine</propertyName>
75                         </configuration>
76                     </execution>
77
78                     <execution>
79                         <id>post-unit-test</id>
80                         <phase>test</phase>
81                         <goals>
82                             <goal>report</goal>
83                         </goals>
84                         <configuration>
85                             <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
86                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
87                         </configuration>
88                     </execution>
89                 </executions>
90             </plugin>
91         </plugins>
92     </build>
93 </project>