Work around build issue
[sdnc/oam.git] / 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>odlparent-lite</artifactId>
8                 <version>1.1.0</version>
9         </parent>
10
11         <groupId>org.onap.sdnc.oam</groupId>
12         <artifactId>sdnc-oam</artifactId>
13         <version>1.4.0-SNAPSHOT</version>
14         <packaging>pom</packaging>
15
16         <name>sdnc-oam</name>
17         <description>The SDN-C OAM component contains the components needed to operate, administer and maintain the SDN-C platform.</description>
18         <url>https://wiki.onap.org</url>
19         <organization>
20                 <name>AT&amp;T</name>
21         </organization>
22
23         <modules>
24                 <module>admportal</module>
25                 <module>dgbuilder</module>
26                 <module>platform-logic</module>
27                 <module>configbackuprestore</module>
28                 <!--  Temporarily comment out to work around Jenkins build issue
29                 <module>SdncReports</module>
30                 -->
31         </modules>
32
33         <scm>
34                 <connection>scm:git:ssh://git@${onap.git.host}/sdnc-oam.git</connection>
35                 <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/sdnc-oam.git</developerConnection>
36                 <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/sdnc-oam/browse</url>
37                 <tag>HEAD</tag>
38         </scm>
39         <issueManagement>
40                 <system>JIRA</system>
41                 <url>https://jira.onap.org/</url>
42         </issueManagement>
43         <ciManagement>
44                 <system>Jenkins</system>
45                 <url>https://jenkins.onap.org/</url>
46         </ciManagement>
47         <distributionManagement>
48         <site>
49           <id>sdnc-javadoc</id>
50           <url>dav:https://${onap.nexus.host}:${onap.nexus.port}/repository/sdn-c-javadoc/${project.artifactId}/${project.version}</url>
51         </site>
52     </distributionManagement>
53
54         <build>
55                 <plugins>
56                         <plugin>
57                                 <groupId>org.apache.maven.plugins</groupId>
58                                 <artifactId>maven-surefire-plugin</artifactId>
59                                 <version>2.17</version>
60                                 <configuration>
61                                         <skipTests>false</skipTests>
62                                 </configuration>
63                         </plugin>
64                         <plugin>
65                                 <groupId>org.sonatype.plugins</groupId>
66                                 <artifactId>nexus-staging-maven-plugin</artifactId>
67                                 <version>1.6.7</version>
68                                 <extensions>true</extensions>
69                                 <configuration>
70                                         <nexusUrl>https://${onap.nexus.host}</nexusUrl>
71                                         <stagingProfileId>${onap.nexus.staging.profile-id}</stagingProfileId>
72                                         <serverId>${onap.nexus.staging.server-id}</serverId>
73                                 </configuration>
74                         </plugin>
75                 </plugins>
76         </build>
77
78         <profiles>
79                 <profile>
80                         <id>blackduck</id>
81                         <activation>
82                                 <property>
83                                         <name>blackduck-scan</name>
84                                 </property>
85                         </activation>
86                         <build>
87                                         <plugins>
88                                                 <plugin>
89                                                         <groupId>com.blackducksoftware.integration</groupId>
90                                                         <artifactId>hub-maven-plugin</artifactId>
91                                                         <version>1.4.0</version>
92                                                         <inherited>false</inherited>
93                                                         <configuration>
94                                                                 <hubProjectName>${project.name}</hubProjectName>
95                                                                 <outputDirectory>${project.basedir}</outputDirectory>
96                                                         </configuration>
97                                                         <executions>
98                                                                 <execution>
99                                                                         <id>create-bdio-file</id>
100                                                                         <phase>package</phase>
101                                                                         <goals>
102                                                                                 <goal>createHubOutput</goal>
103                                                                         </goals>
104                                                                 </execution>
105                                                         </executions>
106                                                 </plugin>
107                                         </plugins>
108
109
110                         </build>
111
112                 </profile>
113                 <profile>
114                   <id>docker</id>
115                   <modules>
116                         <module>installation</module>
117                   </modules>
118                 </profile>
119
120         </profiles>
121 </project>