53354b1c562478109de3588e8f632456ddc3ecea
[ccsdk/parent.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     <groupId>org.onap.ccsdk.parent</groupId>
6     <artifactId>parent</artifactId>
7     <version>2.1.1-SNAPSHOT</version>
8     <packaging>pom</packaging>
9
10     <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
11
12     <modules>
13         <module>installed-odl-bom</module>
14         <module>dependencies-bom</module>
15         <module>dependencies-odl-bom</module>
16         <module>oparent</module>
17         <module>standalone</module>
18         <module>odlparent</module>
19         <module>springboot</module>
20     </modules>
21
22     <distributionManagement>
23         <repository>
24             <id>ecomp-releases</id>
25             <url>https://nexus.onap.org/content/repositories/releases</url>
26         </repository>
27         <snapshotRepository>
28             <id>ecomp-snapshots</id>
29             <url>https://nexus.onap.org/content/repositories/snapshots</url>
30         </snapshotRepository>
31     </distributionManagement>
32
33     <properties>
34         <onap.nexus.host>nexus.onap.org</onap.nexus.host>
35         <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
36         <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
37     </properties>
38
39     <build>
40         <plugins>
41             <plugin>
42                 <groupId>org.codehaus.mojo</groupId>
43                 <artifactId>versions-maven-plugin</artifactId>
44                 <version>2.5</version>
45                 <configuration>
46                     <processAllModules>true</processAllModules>
47                 </configuration>
48             </plugin>
49         </plugins>
50     </build>
51
52     <profiles>
53         <profile>
54             <id>dependency-list</id>
55             <build>
56                 <plugins>
57                     <plugin>
58                         <groupId>com.github.ferstl</groupId>
59                         <artifactId>depgraph-maven-plugin</artifactId>
60                         <version>3.3.0</version>
61                         <configuration>
62                             <graphFormat>text</graphFormat>
63                             <outputFileName>direct-dependencies.txt</outputFileName>
64                             <outputDirectory>${project.basedir}</outputDirectory>
65                             <transitiveExcludes>*</transitiveExcludes>
66                             <showVersions>true</showVersions>
67                             <showGroupIds>true</showGroupIds>
68                         </configuration>
69                         <executions>
70                             <execution>
71                                 <phase>validate</phase>
72                                 <inherited>false</inherited>
73                                 <goals>
74                                     <goal>aggregate</goal>
75                                 </goals>
76                             </execution>
77                         </executions>
78                     </plugin>
79                     <plugin>
80                         <groupId>org.codehaus.mojo</groupId>
81                         <artifactId>build-helper-maven-plugin</artifactId>
82                         <executions>
83                             <execution>
84                                 <id>attach-artifacts</id>
85                                 <phase>package</phase>
86                                 <inherited>false</inherited>
87                                 <goals>
88                                     <goal>attach-artifact</goal>
89                                 </goals>
90                                 <configuration>
91                                     <artifacts>
92                                         <artifact>
93                                             <file>${project.basedir}/direct-dependencies.txt</file>
94                                             <type>txt</type>
95                                             <classifier>dependencies</classifier>
96                                         </artifact>
97                                     </artifacts>
98                                 </configuration>
99                             </execution>
100                         </executions>
101                     </plugin>
102                 </plugins>
103             </build>
104         </profile>
105     </profiles>
106 </project>