Using properties for nexus server definition
[appc/deployment.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/maven-v4_0_0.xsd">
3     <parent>
4         <groupId>org.openecomp.sdnc.core</groupId>
5         <artifactId>root</artifactId>
6         <version>1.1.0-SNAPSHOT</version>
7     </parent>
8     <modelVersion>4.0.0</modelVersion>
9     <packaging>pom</packaging>
10     <groupId>org.openecomp.appc.deployment</groupId>
11     <artifactId>appc-docker-project</artifactId>
12     <name>APPC Docker Project</name>
13     <description>The APP-C component contains SDNC Docker Image, and installs APPC/SDNC components on top.</description>
14
15     <properties>
16         <!-- NEXUS URLS -->
17         <openecomp.nexus.host>nexus.onap.org</openecomp.nexus.host>
18         <openecomp.nexus.url>https://${openecomp.nexus.host}/content</openecomp.nexus.url>
19         <openecomp.nexus.snapshot-url>${openecomp.nexus.url}/repositories/snapshots/</openecomp.nexus.snapshot-url>
20         <openecomp.nexus.release-url>${openecomp.nexus.url}/repositories/releases/</openecomp.nexus.release-url>
21     </properties>
22
23     <!-- ================================================================================== -->
24     <!-- Define plugin repositories -->
25     <!-- ================================================================================== -->
26     <pluginRepositories>
27         <!-- Black Duck plugin dependencies -->
28         <pluginRepository>
29             <id>JCenter</id>
30             <name>JCenter Repository</name>
31             <url>http://jcenter.bintray.com</url>
32         </pluginRepository>
33         <pluginRepository>
34             <id>Restlet</id>
35             <name>Restlet Repository</name>
36             <url>http://maven.restlet.com</url>
37         </pluginRepository>
38     </pluginRepositories>
39     <build>
40         <plugins>
41             <!--maven staging plugin-->
42                 <plugin>
43                     <groupId>org.sonatype.plugins</groupId>
44                     <artifactId>nexus-staging-maven-plugin</artifactId>
45                     <version>1.6.7</version>
46                     <extensions>true</extensions>
47                     <configuration>
48                         <nexusUrl>https://${openecomp.nexus.host}</nexusUrl>
49                         <stagingProfileId>176c31dfe190a</stagingProfileId>
50                         <serverId>ecomp-staging</serverId>
51                     </configuration>
52                 </plugin>
53             <!-- blackduck maven plugin -->
54             <plugin>
55                 <groupId>com.blackducksoftware.integration</groupId>
56                 <artifactId>hub-maven-plugin</artifactId>
57                 <version>1.4.0</version>
58                 <inherited>false</inherited>
59                 <configuration>
60                     <hubProjectName>${project.name}</hubProjectName>
61                     <outputDirectory>${project.basedir}</outputDirectory>
62                 </configuration>
63                 <executions>
64                     <execution>
65                         <id>create-bdio-file</id>
66                         <phase>package</phase>
67                         <goals>
68                             <goal>createHubOutput</goal>
69                         </goals>
70                     </execution>
71                 </executions>
72             </plugin>
73             <!-- license plugin -->
74             <plugin>
75                 <groupId>org.codehaus.mojo</groupId>
76                 <artifactId>license-maven-plugin</artifactId>
77                 <version>1.10</version>
78                 <configuration>
79                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
80                     <processStartTag>============LICENSE_START=======================================================</processStartTag>
81                     <processEndTag>============LICENSE_END=========================================================</processEndTag>
82                     <sectionDelimiter>================================================================================</sectionDelimiter>
83                     <licenseName>apache_v2</licenseName>
84                     <inceptionYear>2017</inceptionYear>
85                     <organizationName>OpenECOMP</organizationName>
86                     <projectName>openECOMP : APP-C</projectName>
87                     <canUpdateCopyright>true</canUpdateCopyright>
88                     <canUpdateDescription>true</canUpdateDescription>
89                     <canUpdateLicense>true</canUpdateLicense>
90                     <emptyLineAfterHeader>true</emptyLineAfterHeader>
91                 </configuration>
92                 <executions>
93                     <execution>
94                         <id>first</id>
95                         <goals>
96                             <goal>update-file-header</goal>
97                         </goals>
98                         <phase>process-sources</phase>
99                     </execution>
100                 </executions>
101             </plugin>
102         </plugins>
103     </build>
104     <modules>
105         <module>platform-logic</module>
106         <module>installation</module>
107     </modules>
108     <organization>
109         <name>OpenECOMP</name>
110     </organization>
111     <version>1.1.0-SNAPSHOT</version>
112 </project>