abade01367cec7e380d7797b179015471fa6cf88
[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 <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">
23     <modelVersion>4.0.0</modelVersion>
24
25     <parent>
26         <groupId>org.onap.ccsdk.parent</groupId>
27         <artifactId>odlparent-lite</artifactId>
28         <version>2.3.3</version>
29         <relativePath/>
30     </parent>
31
32     <groupId>org.onap.ccsdk.features</groupId>
33     <artifactId>ccsdk-features</artifactId>
34     <version>1.3.1-SNAPSHOT</version>
35     <packaging>pom</packaging>
36
37     <name>ccsdk-features</name>
38     <description>CCSDK applications</description>
39     <url>https://wiki.onap.org</url>
40     <organization>
41         <name>ONAP</name>
42     </organization>
43
44     <modules>
45         <module>features</module>
46         <module>sdnr/wt</module>
47         <module>sdnr/northbound</module>
48         <module>aafshiro</module>
49         <module>lib/rlock</module>
50         <module>lib/doorman</module>
51         <module>lib/network-prioritization</module>
52     </modules>
53
54     <scm>
55         <connection>scm:git:ssh://git@${onap.git.host}/features.git</connection>
56         <developerConnection>scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/features.git</developerConnection>
57         <url>${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/features/browse</url>
58     </scm>
59
60     <build>
61         <pluginManagement>
62             <plugins>
63                 <plugin>
64                     <groupId>org.apache.maven.plugins</groupId>
65                     <artifactId>maven-compiler-plugin</artifactId>
66                     <version>${maven-compiler-plugin.version}</version>
67                     <configuration>
68                         <release>${java.version}</release>
69                         <!--explicitly remove source and target-->
70                         <source combine.self="override"/>
71                         <target combine.self="override"/>
72                     </configuration>
73                 </plugin>
74             </plugins>
75         </pluginManagement>
76     </build>
77
78     <profiles>
79         <profile>
80             <id>blackduck</id>
81             <activation>
82                 <property>
83                     <name>blackduck-scan</name>
84                 </property>
85             </activation>
86             <build>
87                 <plugins>
88                     <plugin>
89                         <groupId>com.blackducksoftware.integration</groupId>
90                         <artifactId>hub-maven-plugin</artifactId>
91                         <version>1.4.0</version>
92                         <inherited>false</inherited>
93                         <configuration>
94                             <hubProjectName>${project.name}</hubProjectName>
95                             <outputDirectory>${project.basedir}</outputDirectory>
96                         </configuration>
97                         <executions>
98                             <execution>
99                                 <id>create-bdio-file</id>
100                                 <phase>package</phase>
101                                 <goals>
102                                     <goal>createHubOutput</goal>
103                                 </goals>
104                             </execution>
105                         </executions>
106                     </plugin>
107                 </plugins>
108             </build>
109         </profile>
110         <profile>
111             <id>dependency-list</id>
112             <build>
113                 <plugins>
114                     <plugin>
115                         <groupId>com.github.ferstl</groupId>
116                         <artifactId>depgraph-maven-plugin</artifactId>
117                         <executions>
118                             <execution>
119                                 <phase>validate</phase>
120                                 <inherited>false</inherited>
121                                 <goals>
122                                     <goal>aggregate</goal>
123                                 </goals>
124                             </execution>
125                         </executions>
126                     </plugin>
127                     <plugin>
128                         <groupId>org.codehaus.mojo</groupId>
129                         <artifactId>build-helper-maven-plugin</artifactId>
130                         <executions>
131                             <execution>
132                                 <id>attach-artifacts</id>
133                                 <phase>package</phase>
134                                 <inherited>false</inherited>
135                                 <goals>
136                                     <goal>attach-artifact</goal>
137                                 </goals>
138                                 <configuration>
139                                     <artifacts>
140                                         <artifact>
141                                             <file>${dependency-list.file}</file>
142                                             <type>txt</type>
143                                             <classifier>dependencies</classifier>
144                                         </artifact>
145                                     </artifacts>
146                                 </configuration>
147                             </execution>
148                         </executions>
149                     </plugin>
150                 </plugins>
151             </build>
152         </profile>
153     </profiles>
154 </project>