c65d6c6ad6e308cb5adfbf087c01de483218d629
[ccsdk/sli/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" 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.5.2-SNAPSHOT</version>
9                 <relativePath/>
10         </parent>
11
12         <groupId>org.onap.ccsdk.sli.core</groupId>
13         <artifactId>ccsdk-sli-core</artifactId>
14         <version>0.7.1-SNAPSHOT</version>
15         <packaging>pom</packaging>
16
17         <name>ccsdk-sli-core</name>
18         <description>CCSDK core components contains the SLI, dblib</description>
19         <url>https://wiki.onap.org</url>
20         <organization>
21                 <name>ONAP</name>
22         </organization>
23         
24         <properties>
25                 <sitePath>content/sites/site/org/onap/ccsdk/sli/core/${project.version}/</sitePath>
26         </properties>
27
28         <modules>
29         <module>utils</module>
30                 <module>dblib</module>
31                 <module>sli</module>
32                 <module>filters</module>
33                 <module>sliPluginUtils</module>
34                 <module>sliapi</module>
35                 <module>features</module>
36                 <module>artifacts</module>
37         </modules>
38
39         <scm>
40                 <connection>scm:git:ssh://git@${onap.git.host}/sdnc-code.git</connection>
41                 <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/sdnc-core.git</developerConnection>
42                 <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/sdnc-core/browse</url>
43                 <tag>sdnc-core-1.1.0</tag>
44         </scm>
45
46
47         <profiles>
48                 <profile>
49                         <id>blackduck</id>
50                         <activation>
51                                 <property>
52                                         <name>blackduck-scan</name>
53                                 </property>
54                         </activation>
55                         <build>
56                                         <plugins>
57                                                 <plugin>
58                                                         <groupId>com.blackducksoftware.integration</groupId>
59                                                         <artifactId>hub-maven-plugin</artifactId>
60                                                         <version>1.4.0</version>
61                                                         <inherited>false</inherited>
62                                                         <configuration>
63                                                                 <hubProjectName>${project.name}</hubProjectName>
64                                                                 <outputDirectory>${project.basedir}</outputDirectory>
65                                                         </configuration>
66                                                         <executions>
67                                                                 <execution>
68                                                                         <id>create-bdio-file</id>
69                                                                         <phase>package</phase>
70                                                                         <goals>
71                                                                                 <goal>createHubOutput</goal>
72                                                                         </goals>
73                                                                 </execution>
74                                                         </executions>
75                                                 </plugin>
76                                         </plugins>
77                         </build>
78
79                 </profile>
80
81                 <profile>
82                         <id>dependency-list</id>
83                         <build>
84                                 <plugins>
85                                         <plugin>
86                                                 <groupId>com.github.ferstl</groupId>
87                                                 <artifactId>depgraph-maven-plugin</artifactId>
88                                                 <executions>
89                                                         <execution>
90                                                                 <phase>validate</phase>
91                                                                 <inherited>false</inherited>
92                                                                 <goals>
93                                                                         <goal>aggregate</goal>
94                                                                 </goals>
95                                                         </execution>
96                                                 </executions>
97                                         </plugin>
98                                         <plugin>
99                                                 <groupId>org.codehaus.mojo</groupId>
100                                                 <artifactId>build-helper-maven-plugin</artifactId>
101                                                 <executions>
102                                                         <execution>
103                                                                 <id>attach-artifacts</id>
104                                                                 <phase>package</phase>
105                                                                 <inherited>false</inherited>
106                                                                 <goals>
107                                                                         <goal>attach-artifact</goal>
108                                                                 </goals>
109                                                                 <configuration>
110                                                                         <artifacts>
111                                                                                 <artifact>
112                                                                                         <file>${dependency-list.file}</file>
113                                                                                         <type>txt</type>
114                                                                                         <classifier>dependencies</classifier>
115                                                                                 </artifact>
116                                                                         </artifacts>
117                                                                 </configuration>
118                                                         </execution>
119                                                 </executions>
120                                         </plugin>
121                                 </plugins>
122                         </build>
123                 </profile>
124
125         </profiles>
126
127         <distributionManagement>
128                 <site>
129                         <id>ecomp-site</id>
130                         <url>dav:${onap.nexus.url}/${sitePath}</url>
131                 </site>
132         </distributionManagement>
133 </project>