Nitrogen port : sli/plugins
[ccsdk/sli/plugins.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.0.1-SNAPSHOT</version>
9     </parent>
10
11     <groupId>org.onap.ccsdk.sli.plugins</groupId>
12     <artifactId>ccsdk-sli-plugins</artifactId>
13     <version>0.2.1-SNAPSHOT</version>
14     <packaging>pom</packaging>
15
16     <name>ccsdk-sli-plugins</name>
17     <description>CCSDK Java Plugins</description>
18     <url>https://wiki.onap.org</url>
19     <organization>
20         <name>ONAP</name>
21     </organization>
22
23     <modules>
24         <module>properties-node</module>
25         <module>restapi-call-node</module>
26     </modules>
27
28     <scm>
29         <connection>scm:git:ssh://git@${onap.git.host}/ccsdk/sli/plugins.git</connection>
30         <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/ccsdk/sli/plugins.git</developerConnection>
31         <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/ccsdk/sli/plugins/browse</url>
32         <tag>HEAD</tag>
33     </scm>
34     <issueManagement>
35         <system>JIRA</system>
36         <url>https://jira.onap.org/</url>
37     </issueManagement>
38     <ciManagement>
39         <system>Jenkins</system>
40         <url>https://jenkins.onap.org</url>
41     </ciManagement>
42     <distributionManagement>
43         <site>
44             <id>sdnc-javadoc</id>
45             <url>dav:https://${onap.nexus.host}/content/sites/site/org/onap/sdnc/plugins/${project.artifactId}/${project.version}</url>
46         </site>
47     </distributionManagement>
48
49     <build>
50         <plugins>
51             <plugin>
52                 <groupId>org.apache.maven.plugins</groupId>
53                 <artifactId>maven-surefire-plugin</artifactId>
54                 <version>2.17</version>
55                 <configuration>
56                     <skipTests>false</skipTests>
57                 </configuration>
58             </plugin>
59             <plugin>
60                 <groupId>org.sonatype.plugins</groupId>
61                 <artifactId>nexus-staging-maven-plugin</artifactId>
62                 <version>1.6.7</version>
63                 <extensions>true</extensions>
64                 <configuration>
65                     <nexusUrl>https://${onap.nexus.host}</nexusUrl>
66                     <stagingProfileId>${onap.nexus.staging.profile-id}</stagingProfileId>
67                     <serverId>${onap.nexus.staging.server-id}</serverId>
68                 </configuration>
69             </plugin>
70         </plugins>
71     </build>
72
73     <profiles>
74         <profile>
75             <id>blackduck</id>
76             <activation>
77                 <property>
78                     <name>blackduck-scan</name>
79                 </property>
80             </activation>
81             <build>
82                 <plugins>
83                     <plugin>
84                         <groupId>com.blackducksoftware.integration</groupId>
85                         <artifactId>hub-maven-plugin</artifactId>
86                         <version>1.4.0</version>
87                         <inherited>false</inherited>
88                         <configuration>
89                             <hubProjectName>${project.name}</hubProjectName>
90                             <outputDirectory>${project.basedir}</outputDirectory>
91                         </configuration>
92                         <executions>
93                             <execution>
94                                 <id>create-bdio-file</id>
95                                 <phase>package</phase>
96                                 <goals>
97                                     <goal>createHubOutput</goal>
98                                 </goals>
99                             </execution>
100                         </executions>
101                     </plugin>
102                 </plugins>
103
104
105             </build>
106
107         </profile>
108
109     </profiles>
110 </project>