[STAGING] Activate profile
[sdnc/core.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"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
5         <modelVersion>4.0.0</modelVersion>
6         <packaging>pom</packaging>
7         <groupId>org.openecomp.sdnc.core</groupId>
8         <artifactId>sdnc-core</artifactId>
9
10
11         <name>SDN-C Core Components</name>
12         <url>https://wiki.openecomp.org</url>
13         <description>The SDN-C core components contains the SLI, dblib and root pom</description>
14
15         <parent>
16                 <groupId>org.openecomp.sdnc.core</groupId>
17                 <artifactId>root</artifactId>
18                 <version>1.0.0</version>
19                 <relativePath>rootpom/pom.xml</relativePath>
20         </parent>
21
22
23         <issueManagement>
24                 <system>JIRA</system>
25                 <url>http://jira.openecomp.org/</url>
26         </issueManagement>
27
28
29         <scm>
30                 <connection>scm:git:ssh://git@${openecomp.git.host}/sdnc-code.git</connection>
31                 <developerConnection>scm:git:ssh://${openecomp.git.host}:${openecomp.git.port}/${openecomp.git.project}/sdnc-core.git</developerConnection>
32                 <url>${openecomp.git.protocol}://${openecomp.git.host}/projects/${openecomp.git.project}/repos/sdnc-core/browse</url>
33                 <tag>HEAD</tag>
34         </scm>
35
36         <ciManagement>
37                 <system>Jenkins</system>
38                 <url>>https://jenkins.openecomp.org/</url>
39         </ciManagement>
40
41
42         <distributionManagement>
43                 <site>
44                         <id>sdnc-javadoc</id>
45                         <url>dav:https://${openecomp.nexus.host}:${openecomp.nexus.port}/repository/sdn-c-javadoc/${project.artifactId}/${project.version}</url>
46                 </site>
47         </distributionManagement>
48
49
50         <profiles>
51                 <profile>
52                         <id>blackduck</id>
53                         <activation>
54                                 <property>
55                                         <name>blackduck-scan</name>
56                                 </property>
57                         </activation>
58                         <build>
59                                 <pluginManagement>
60                                         <plugins>
61                                                 <plugin>
62                                                         <groupId>com.blackducksoftware.integration</groupId>
63                                                         <artifactId>hub-maven-plugin</artifactId>
64                                                         <version>1.4.0</version>
65                                                         <inherited>false</inherited>
66                                                         <configuration>
67                                                                 <hubProjectName>${project.name}</hubProjectName>
68                                                                 <outputDirectory>${project.basedir}</outputDirectory>
69                                                         </configuration>
70                                                         <executions>
71                                                                 <execution>
72                                                                         <id>create-bdio-file</id>
73                                                                         <phase>package</phase>
74                                                                         <goals>
75                                                                                 <goal>createHubOutput</goal>
76                                                                         </goals>
77                                                                 </execution>
78                                                         </executions>
79                                                 </plugin>
80                                         </plugins>
81
82                                 </pluginManagement>
83
84                         </build>
85
86                 </profile>
87                 <profile>
88                         <id>staging</id>
89  
90                         <activation>
91                                 <activeByDefault>true</activeByDefault>
92                         </activation>
93                         <build>
94                                 <pluginManagement>
95                                         <plugins>
96                                                 <plugin>
97                                                         <groupId>org.sonatype.plugins</groupId>
98                                                         <artifactId>nexus-staging-maven-plugin</artifactId>
99                                                         <version>1.6.7</version>
100                                                         <extensions>true</extensions>
101                                                         <configuration>
102                                                                 <nexusUrl>https://${openecomp.nexus.host}</nexusUrl>
103                                                                 <stagingProfileId>${openecomp.nexus.staging.profile-id}</stagingProfileId>
104                                                                 <serverId>${openecomp.nexus.staging.server-id}</serverId>
105                                                         </configuration>
106                                                 </plugin>
107                                         </plugins>
108                                 </pluginManagement>
109                         </build>
110                 </profile>
111
112         </profiles>
113
114         <build>
115                 <plugins>
116                         <!-- license plugin -->
117
118                         <plugin>
119
120                                 <groupId>org.codehaus.mojo</groupId>
121
122                                 <artifactId>license-maven-plugin</artifactId>
123
124                                 <version>1.10</version>
125
126                                 <configuration>
127
128                                         <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
129
130                                         <processStartTag>============LICENSE_START=======================================================</processStartTag>
131
132                                         <processEndTag>============LICENSE_END=========================================================</processEndTag>
133
134                                         <sectionDelimiter>================================================================================</sectionDelimiter>
135
136                                         <licenseName>apache_v2</licenseName>
137
138                                         <inceptionYear>2017</inceptionYear>
139
140                                         <organizationName>AT&amp;T Intellectual Property. All rights
141                                                 reserved.</organizationName>
142
143                                         <projectName>openECOMP : SDN-C</projectName>
144
145                                         <canUpdateCopyright>true</canUpdateCopyright>
146
147                                         <canUpdateDescription>true</canUpdateDescription>
148
149                                         <canUpdateLicense>true</canUpdateLicense>
150
151                                         <emptyLineAfterHeader>true</emptyLineAfterHeader>
152
153                                 </configuration>
154
155                                 <executions>
156
157                                         <execution>
158
159                                                 <id>first</id>
160
161                                                 <goals>
162
163                                                         <goal>update-file-header</goal>
164
165                                                 </goals>
166
167                                                 <phase>process-sources</phase>
168
169                                         </execution>
170
171                                 </executions>
172
173                         </plugin>
174
175
176                         <plugin>
177                                 <groupId>org.apache.maven.plugins</groupId>
178                                 <artifactId>maven-surefire-plugin</artifactId>
179                                 <version>2.17</version>
180                                 <configuration>
181                                         <skipTests>true</skipTests>
182                                 </configuration>
183                         </plugin>
184
185                 </plugins>
186
187         </build>
188         <modules>
189                 <module>rootpom</module>
190                 <module>dblib</module>
191                 <module>filters</module>
192                 <module>sli</module>
193                 <module>sliPluginUtils</module>
194                 <module>sliapi</module>
195         </modules>
196         <organization>
197                 <name>OpenECOMP</name>
198         </organization>
199         <version>1.0.0</version>
200
201
202 </project>