Unit test for discovery
[msb/discovery.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4     Copyright 2016-2017 ZTE, Inc. and others.
5
6     Licensed under the Apache License, Version 2.0 (the "License");
7     you may not use this file except in compliance with the License.
8     You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12     Unless required by applicable law or agreed to in writing, software
13     distributed under the License is distributed on an "AS IS" BASIS,
14     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15     See the License for the specific language governing permissions and
16     limitations under the License.
17
18 -->
19 <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">
20   <modelVersion>4.0.0</modelVersion>
21   <parent>
22     <groupId>org.onap.oparent</groupId>
23     <artifactId>oparent</artifactId>
24     <version>1.0.0-SNAPSHOT</version>
25   </parent>
26   
27   <groupId>org.onap.msb.discovery</groupId>
28   <artifactId>msb-discovery-parent</artifactId>
29   <version>1.0.0-SNAPSHOT</version>
30   <packaging>pom</packaging>
31   <name>msb-discovery</name> 
32
33   <properties>
34
35     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
37
38
39
40     <classifier.win32>windows_386</classifier.win32>
41     <classifier.win64>windows_amd64</classifier.win64>
42     <classifier.linux64>linux_amd64</classifier.linux64>
43
44     <linux64outputdir>target/assembly/${classifier.linux64}/</linux64outputdir>
45     <win32outputdir>target/assembly/${classifier.win32}/</win32outputdir>
46     <win64outputdir>target/assembly/${classifier.win64}/</win64outputdir>
47
48     <dockerFileDir>src/main/docker</dockerFileDir>
49     <blueprintFileDir>src/main/blueprint</blueprintFileDir>
50     <version.output>target/version</version.output>
51     
52     <onap.nexus.javadocs-url>dav:https://nexus.onap.org/content/sites/site/org/onap/msb/discovery/${project.version}</onap.nexus.javadocs-url>
53     
54     <sonar.language>java</sonar.language>
55     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
56     <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
57     <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
58    </properties>
59
60   <modules>
61     <module>sdclient</module>
62     <module>discovery-ui</module>
63     <module>nginx-ext-consul</module>
64     <module>distributions</module>
65   </modules>
66
67   <distributionManagement>
68     <site>
69       <id>ecomp-site</id>
70       <url>${onap.nexus.javadocs-url}</url>
71     </site>         
72   </distributionManagement>
73   
74   <build>
75     <resources>
76         <resource>
77             <filtering>false</filtering>
78             <directory>src/main/resources</directory>
79             <includes>
80                 <include>**/*</include>
81             </includes>
82         </resource>
83         <resource>
84             <filtering>true</filtering>
85             <directory>src/main/filters</directory>
86             <includes>
87                 <include>**/*</include>
88             </includes>
89         </resource>
90     </resources>
91
92     <pluginManagement>
93       <plugins>
94         <!-- Official maven plugins, alpha-sorted by artifactId.
95              We do not need to specify the groupId. -->
96         <plugin>
97           <artifactId>maven-antrun-plugin</artifactId>
98           <version>1.8</version>
99         </plugin>
100         
101         <plugin>
102           <artifactId>maven-clean-plugin</artifactId>
103           <version>2.6.1</version>
104         </plugin>
105         <plugin>
106           <artifactId>maven-install-plugin</artifactId>
107           <version>2.5.2</version>
108         </plugin>
109         <plugin>
110           <artifactId>maven-deploy-plugin</artifactId>
111           <version>2.8.2</version>
112         </plugin>
113         <plugin>
114           <groupId>org.codehaus.mojo</groupId>
115           <artifactId>versions-maven-plugin</artifactId>
116           <version>2.3</version>
117         </plugin>
118         <plugin>
119           <groupId>org.codehaus.mojo</groupId>
120           <artifactId>sonar-maven-plugin</artifactId>
121          <version>3.2</version>
122         </plugin>
123         <plugin>
124           <artifactId>maven-resources-plugin</artifactId>
125           <version>2.7</version>
126         </plugin>
127
128         <plugin>
129           <groupId>org.codehaus.mojo</groupId>
130           <artifactId>build-helper-maven-plugin</artifactId>
131           <version>1.9.1</version>
132         </plugin>
133        <plugin>
134           <groupId>org.apache.maven.plugins</groupId>
135           <artifactId>maven-site-plugin</artifactId>
136           <version>3.6</version>
137           <configuration>
138             <reportPlugins>
139               <plugin>
140                 <groupId>org.apache.maven.plugins</groupId>
141                 <artifactId>maven-project-info-reports-plugin</artifactId>
142                 <version>2.4</version>
143                 <configuration>
144                   <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
145                   <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
146                 </configuration>
147                 <reports>
148                   <report>dependencies</report>
149                 </reports>
150               </plugin>
151               <plugin>
152                 <groupId>org.apache.maven.plugins</groupId>
153                 <artifactId>maven-javadoc-plugin</artifactId>
154                 <version>2.8</version>
155               </plugin>
156             </reportPlugins>
157           </configuration>
158           <dependencies>
159             <dependency>
160               <groupId>org.apache.maven.wagon</groupId>
161               <artifactId>wagon-webdav-jackrabbit</artifactId>
162               <version>2.10</version>
163             </dependency>
164           </dependencies>
165         </plugin>
166       </plugins>
167     </pluginManagement>
168   </build> 
169  
170
171
172 </project>
173
174