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