blob: 87beeb4cb17f73ef38083014614178377669ba9a [file] [log] [blame]
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -05001<?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>
Dan Timoney73be2112017-08-09 13:37:32 -04004
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -05005 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
Dan Timoney1f4e9032021-01-25 14:47:00 -05007 <artifactId>oparent</artifactId>
Dan Timoney486bd172021-03-22 13:52:45 -04008 <version>2.2.0-SNAPSHOT</version>
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -05009 </parent>
Dan Timoney73be2112017-08-09 13:37:32 -040010
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -050011 <groupId>org.onap.ccsdk.distribution</groupId>
12 <artifactId>distribution-root</artifactId>
Dan Timoney486bd172021-03-22 13:52:45 -040013 <version>1.2.0-SNAPSHOT</version>
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -050014 <packaging>pom</packaging>
Dan Timoney73be2112017-08-09 13:37:32 -040015
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -050016 <name>ccsdk-distribution</name>
Lasse Kaihlavirta110bb112020-12-15 12:00:06 +020017 <description>Creates distribution bundles for CCSDK</description>
Dan Timoney73be2112017-08-09 13:37:32 -040018
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -050019 <modules>
20 <module>platform-logic</module>
21 <module>dependencies</module>
22 <module>alpine</module>
23 <module>ubuntu</module>
24 <module>opendaylight</module>
25 <module>odlsli</module>
26 <module>dgbuilder</module>
27 <module>dgbuilder-docker</module>
28 <module>ansible-server</module>
Ganesh Chandrasekaran8ba2cee2019-02-12 15:01:25 +090029 <module>saltstack-server</module>
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -050030 </modules>
Dan Timoney912f98b2018-02-27 14:10:22 -050031
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -050032 <properties>
33 <application.name>distribution</application.name>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050034 <ccsdk.project.version>${project.version}</ccsdk.project.version>
35 <ccsdk.distribution.version>${project.version}</ccsdk.distribution.version>
Dan Timoney73be2112017-08-09 13:37:32 -040036
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -050037 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050038 <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -050039 <build.number>${maven.build.timestamp}</build.number>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050040
41 <docker.skip.push>false</docker.skip.push>
42 <docker.verbose>true</docker.verbose>
43
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -050044 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
46 </properties>
Dan Timoney73be2112017-08-09 13:37:32 -040047
Dan Timoney1f4e9032021-01-25 14:47:00 -050048 <build>
49 <plugins>
50 <!-- Override enforcer rule to allow compile -->
51 <!-- with snapshot version of ccsdk libs -->
Singal, Kapil (ks220y)0bb081c2021-03-21 20:43:03 -040052
Dan Timoney1f4e9032021-01-25 14:47:00 -050053 <plugin>
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-enforcer-plugin</artifactId>
56 <version>3.0.0-M2</version>
57 <executions>
58 <execution>
59 <id>enforce-no-snapshots</id>
60 <goals>
61 <goal>enforce</goal>
62 </goals>
63 <configuration>
64 <rules>
65 <requireReleaseDeps>
66 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
67 <onlyWhenRelease>true</onlyWhenRelease>
68 <excludes>
69 <exclude>org.onap.ccsdk.*:*</exclude>
70 </excludes>
71 <level>WARN</level>
72 </requireReleaseDeps>
73 </rules>
74 </configuration>
75 </execution>
76 </executions>
77 </plugin>
78 </plugins>
79 </build>
Timoney, Dan (dt5972)aeff1a02019-12-11 12:30:43 -050080 <profiles>
81 <profile>
82 <id>dependency-list</id>
83 <build>
84 <plugins>
85 <plugin>
86 <groupId>com.github.ferstl</groupId>
87 <artifactId>depgraph-maven-plugin</artifactId>
88 <executions>
89 <execution>
90 <phase>validate</phase>
91 <inherited>false</inherited>
92 <goals>
93 <goal>aggregate</goal>
94 </goals>
95 </execution>
96 </executions>
97 </plugin>
98 <plugin>
99 <groupId>org.codehaus.mojo</groupId>
100 <artifactId>build-helper-maven-plugin</artifactId>
101 <executions>
102 <execution>
103 <id>attach-artifacts</id>
104 <phase>package</phase>
105 <inherited>false</inherited>
106 <goals>
107 <goal>attach-artifact</goal>
108 </goals>
109 <configuration>
110 <artifacts>
111 <artifact>
112 <file>${dependency-list.file}</file>
113 <type>txt</type>
114 <classifier>dependencies</classifier>
115 </artifact>
116 </artifacts>
117 </configuration>
118 </execution>
119 </executions>
120 </plugin>
121 </plugins>
122 </build>
123 </profile>
124 </profiles>
Dan Timoney73be2112017-08-09 13:37:32 -0400125</project>