Remove duplicate staging
[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.4</version>
9         </parent>
10
11         <groupId>org.onap.sdnc.oam</groupId>
12         <artifactId>sdnc-oam</artifactId>
13         <version>1.4.5-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>platform-logic</module>
26                 <module>configbackuprestore</module>
27                 <module>SdncReports</module>
28         </modules>
29
30         <scm>
31                 <connection>scm:git:ssh://git@${onap.git.host}/sdnc-oam.git</connection>
32                 <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/sdnc-oam.git</developerConnection>
33                 <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/sdnc-oam/browse</url>
34                 <tag>HEAD</tag>
35         </scm>
36         <issueManagement>
37                 <system>JIRA</system>
38                 <url>https://jira.onap.org/</url>
39         </issueManagement>
40         <ciManagement>
41                 <system>Jenkins</system>
42                 <url>https://jenkins.onap.org/</url>
43         </ciManagement>
44         <distributionManagement>
45         <site>
46           <id>sdnc-javadoc</id>
47           <url>dav:https://${onap.nexus.host}:${onap.nexus.port}/repository/sdn-c-javadoc/${project.artifactId}/${project.version}</url>
48         </site>
49     </distributionManagement>
50
51         <build>
52                 <plugins>
53                         <plugin>
54                                 <groupId>org.apache.maven.plugins</groupId>
55                                 <artifactId>maven-surefire-plugin</artifactId>
56                                 <version>2.17</version>
57                                 <configuration>
58                                         <skipTests>false</skipTests>
59                                 </configuration>
60                         </plugin>
61                 </plugins>
62         </build>
63
64         <profiles>
65                 <profile>
66                         <id>blackduck</id>
67                         <activation>
68                                 <property>
69                                         <name>blackduck-scan</name>
70                                 </property>
71                         </activation>
72                         <build>
73                                         <plugins>
74                                                 <plugin>
75                                                         <groupId>com.blackducksoftware.integration</groupId>
76                                                         <artifactId>hub-maven-plugin</artifactId>
77                                                         <version>1.4.0</version>
78                                                         <inherited>false</inherited>
79                                                         <configuration>
80                                                                 <hubProjectName>${project.name}</hubProjectName>
81                                                                 <outputDirectory>${project.basedir}</outputDirectory>
82                                                         </configuration>
83                                                         <executions>
84                                                                 <execution>
85                                                                         <id>create-bdio-file</id>
86                                                                         <phase>package</phase>
87                                                                         <goals>
88                                                                                 <goal>createHubOutput</goal>
89                                                                         </goals>
90                                                                 </execution>
91                                                         </executions>
92                                                 </plugin>
93                                         </plugins>
94
95
96                         </build>
97
98                 </profile>
99                 <profile>
100                   <id>docker</id>
101                   <modules>
102                         <module>installation</module>
103                   </modules>
104                 </profile>
105                 <profile>
106                         <id>nexus-staging</id>
107                         <activation>
108                             <property>
109                                 <name>!altDeploymentRepository</name>
110                             </property>
111                         </activation>
112                         <build>
113                                 <plugins>
114                                         <plugin>
115                                                 <groupId>org.sonatype.plugins</groupId>
116                                                 <artifactId>nexus-staging-maven-plugin</artifactId>
117                                                 <version>1.6.7</version>
118                                                 <extensions>true</extensions>
119                                                 <configuration>
120                                                         <nexusUrl>https://${onap.nexus.host}</nexusUrl>
121                                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
122                                                         <serverId>ecomp-staging</serverId>
123                                                 </configuration>
124                                         </plugin>
125                                 </plugins>
126                         </build>
127                 </profile>
128
129         </profiles>
130 </project>