Roll master to Guilin
[ccsdk/features.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : ccsdk features
5   ~ ================================================================================
6   ~ Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
7   ~ ================================================================================
8   ~ Licensed under the Apache License, Version 2.0 (the "License");
9   ~ you may not use this file except in compliance with the License.
10   ~ You may obtain a copy of the License at
11   ~
12   ~     http://www.apache.org/licenses/LICENSE-2.0
13   ~
14   ~ Unless required by applicable law or agreed to in writing, software
15   ~ distributed under the License is distributed on an "AS IS" BASIS,
16   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   ~ See the License for the specific language governing permissions and
18   ~ limitations under the License.
19   ~ ============LICENSE_END=======================================================
20   ~
21   -->
22
23 <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">
24     <modelVersion>4.0.0</modelVersion>
25
26     <parent>
27         <groupId>org.onap.ccsdk.parent</groupId>
28         <artifactId>odlparent-lite</artifactId>
29         <version>2.0.0-SNAPSHOT</version>
30         <relativePath/>
31     </parent>
32
33     <groupId>org.onap.ccsdk.features</groupId>
34     <artifactId>ccsdk-features</artifactId>
35     <version>1.0.0-SNAPSHOT</version>
36     <packaging>pom</packaging>
37
38     <name>ccsdk-features</name>
39     <description>CCSDK applications</description>
40     <url>https://wiki.onap.org</url>
41     <organization>
42         <name>ONAP</name>
43     </organization>
44
45     <modules>
46         <module>features</module>
47         <module>sdnr/wt</module>
48         <module>sdnr/northbound</module>
49         <module>aafshiro</module>
50     </modules>
51
52     <scm>
53         <connection>scm:git:ssh://git@${onap.git.host}/features.git</connection>
54         <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/features.git</developerConnection>
55         <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/features/browse</url>
56     </scm>
57
58     <profiles>
59         <profile>
60             <id>blackduck</id>
61             <activation>
62                 <property>
63                     <name>blackduck-scan</name>
64                 </property>
65             </activation>
66             <build>
67                 <plugins>
68                     <plugin>
69                         <groupId>com.blackducksoftware.integration</groupId>
70                         <artifactId>hub-maven-plugin</artifactId>
71                         <version>1.4.0</version>
72                         <inherited>false</inherited>
73                         <configuration>
74                             <hubProjectName>${project.name}</hubProjectName>
75                             <outputDirectory>${project.basedir}</outputDirectory>
76                         </configuration>
77                         <executions>
78                             <execution>
79                                 <id>create-bdio-file</id>
80                                 <phase>package</phase>
81                                 <goals>
82                                     <goal>createHubOutput</goal>
83                                 </goals>
84                             </execution>
85                         </executions>
86                     </plugin>
87                 </plugins>
88             </build>
89         </profile>
90         <profile>
91             <id>dependency-list</id>
92             <build>
93                 <plugins>
94                     <plugin>
95                         <groupId>com.github.ferstl</groupId>
96                         <artifactId>depgraph-maven-plugin</artifactId>
97                         <executions>
98                             <execution>
99                                 <phase>validate</phase>
100                                 <inherited>false</inherited>
101                                 <goals>
102                                     <goal>aggregate</goal>
103                                 </goals>
104                             </execution>
105                         </executions>
106                     </plugin>
107                     <plugin>
108                         <groupId>org.codehaus.mojo</groupId>
109                         <artifactId>build-helper-maven-plugin</artifactId>
110                         <executions>
111                             <execution>
112                                 <id>attach-artifacts</id>
113                                 <phase>package</phase>
114                                 <inherited>false</inherited>
115                                 <goals>
116                                     <goal>attach-artifact</goal>
117                                 </goals>
118                                 <configuration>
119                                     <artifacts>
120                                         <artifact>
121                                             <file>${dependency-list.file}</file>
122                                             <type>txt</type>
123                                             <classifier>dependencies</classifier>
124                                         </artifact>
125                                     </artifacts>
126                                 </configuration>
127                             </execution>
128                         </executions>
129                     </plugin>
130                 </plugins>
131             </build>
132         </profile>
133     </profiles>
134 </project>