Release ccsdk/parent
[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.2.0</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             <plugin>
50                 <groupId>org.apache.maven.plugins</groupId>
51                 <artifactId>maven-deploy-plugin</artifactId>
52                 <!-- This version supports the "deployAtEnd" parameter -->
53                 <version>2.8</version>
54                 <configuration>
55                     <skip/>
56                     <deployAtEnd>true</deployAtEnd>
57                 </configuration>
58             </plugin>
59         </plugins>
60     </build>
61
62     <profiles>
63         <profile>
64             <id>dependency-list</id>
65             <build>
66                 <plugins>
67                     <plugin>
68                         <groupId>com.github.ferstl</groupId>
69                         <artifactId>depgraph-maven-plugin</artifactId>
70                         <version>3.3.0</version>
71                         <configuration>
72                             <graphFormat>text</graphFormat>
73                             <outputFileName>direct-dependencies.txt</outputFileName>
74                             <outputDirectory>${project.basedir}</outputDirectory>
75                             <transitiveExcludes>*</transitiveExcludes>
76                             <showVersions>true</showVersions>
77                             <showGroupIds>true</showGroupIds>
78                         </configuration>
79                         <executions>
80                             <execution>
81                                 <phase>validate</phase>
82                                 <inherited>false</inherited>
83                                 <goals>
84                                     <goal>aggregate</goal>
85                                 </goals>
86                             </execution>
87                         </executions>
88                     </plugin>
89                     <plugin>
90                         <groupId>org.codehaus.mojo</groupId>
91                         <artifactId>build-helper-maven-plugin</artifactId>
92                         <executions>
93                             <execution>
94                                 <id>attach-artifacts</id>
95                                 <phase>package</phase>
96                                 <inherited>false</inherited>
97                                 <goals>
98                                     <goal>attach-artifact</goal>
99                                 </goals>
100                                 <configuration>
101                                     <artifacts>
102                                         <artifact>
103                                             <file>${project.basedir}/direct-dependencies.txt</file>
104                                             <type>txt</type>
105                                             <classifier>dependencies</classifier>
106                                         </artifact>
107                                     </artifacts>
108                                 </configuration>
109                             </execution>
110                         </executions>
111                     </plugin>
112                 </plugins>
113             </build>
114         </profile>
115     </profiles>
116 </project>