blob: cfcc1dfd8793abb9eefa121b907f68ebd5a60a04 [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 Timoney6fbbadb2023-08-16 14:06:36 -04008 <version>2.6.1</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 Timoneyedbdf2e2023-06-06 06:53:08 -040013 <version>1.6.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>
Dan Timoney6fbbadb2023-08-16 14:06:36 -040034 <ccsdk.sli.version>1.7.1</ccsdk.sli.version>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050035 <ccsdk.project.version>${project.version}</ccsdk.project.version>
36 <ccsdk.distribution.version>${project.version}</ccsdk.distribution.version>
Dan Timoney73be2112017-08-09 13:37:32 -040037
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -050038 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050039 <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -050040 <build.number>${maven.build.timestamp}</build.number>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050041
42 <docker.skip.push>false</docker.skip.push>
43 <docker.verbose>true</docker.verbose>
44
Timoney, Dan (dt5972)ea652692019-01-08 15:56:26 -050045 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
47 </properties>
Dan Timoney73be2112017-08-09 13:37:32 -040048
Dan Timoney1f4e9032021-01-25 14:47:00 -050049 <build>
50 <plugins>
51 <!-- Override enforcer rule to allow compile -->
52 <!-- with snapshot version of ccsdk libs -->
Singal, Kapil (ks220y)0bb081c2021-03-21 20:43:03 -040053
Dan Timoney1f4e9032021-01-25 14:47:00 -050054 <plugin>
55 <groupId>org.apache.maven.plugins</groupId>
56 <artifactId>maven-enforcer-plugin</artifactId>
57 <version>3.0.0-M2</version>
58 <executions>
59 <execution>
60 <id>enforce-no-snapshots</id>
61 <goals>
62 <goal>enforce</goal>
63 </goals>
64 <configuration>
65 <rules>
66 <requireReleaseDeps>
67 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
68 <onlyWhenRelease>true</onlyWhenRelease>
69 <excludes>
70 <exclude>org.onap.ccsdk.*:*</exclude>
71 </excludes>
72 <level>WARN</level>
73 </requireReleaseDeps>
74 </rules>
75 </configuration>
76 </execution>
77 </executions>
78 </plugin>
79 </plugins>
80 </build>
Timoney, Dan (dt5972)aeff1a02019-12-11 12:30:43 -050081 <profiles>
82 <profile>
83 <id>dependency-list</id>
84 <build>
85 <plugins>
86 <plugin>
87 <groupId>com.github.ferstl</groupId>
88 <artifactId>depgraph-maven-plugin</artifactId>
89 <executions>
90 <execution>
91 <phase>validate</phase>
92 <inherited>false</inherited>
93 <goals>
94 <goal>aggregate</goal>
95 </goals>
96 </execution>
97 </executions>
98 </plugin>
99 <plugin>
100 <groupId>org.codehaus.mojo</groupId>
101 <artifactId>build-helper-maven-plugin</artifactId>
102 <executions>
103 <execution>
104 <id>attach-artifacts</id>
105 <phase>package</phase>
106 <inherited>false</inherited>
107 <goals>
108 <goal>attach-artifact</goal>
109 </goals>
110 <configuration>
111 <artifacts>
112 <artifact>
113 <file>${dependency-list.file}</file>
114 <type>txt</type>
115 <classifier>dependencies</classifier>
116 </artifact>
117 </artifacts>
118 </configuration>
119 </execution>
120 </executions>
121 </plugin>
122 </plugins>
123 </build>
124 </profile>
125 </profiles>
Dan Timoney73be2112017-08-09 13:37:32 -0400126</project>