blob: 4ca4cc98904dcf3ce8e42824b491cc14de721825 [file] [log] [blame]
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -04001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)3beadc22019-01-08 10:55:33 -05002<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">
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -05003 <modelVersion>4.0.0</modelVersion>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -04004
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -05005 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)e38215f2019-04-30 09:57:41 -04008 <version>1.3.0-SNAPSHOT</version>
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -05009 <relativePath/>
10 </parent>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040011
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -050012 <groupId>org.onap.ccsdk.sli.core</groupId>
13 <artifactId>slicore-features-installer</artifactId>
Timoney, Dan (dt5972)e38215f2019-04-30 09:57:41 -040014 <version>0.5.0-SNAPSHOT</version>
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -050015 <packaging>pom</packaging>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040016
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -050017 <name>ccsdk-sli-core :: features :: ${project.artifactId}</name>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040018
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -050019 <properties>
20 <application.name>ccsdk-sli-core-all</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.sli.core/${features.boot}/${project.version}/xml/features</features.repositories>
23 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040025
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -050026 <dependencies>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040027
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -050028 <dependency>
29 <groupId>org.onap.ccsdk.sli.core</groupId>
30 <artifactId>${application.name}</artifactId>
31 <version>${project.version}</version>
32 <type>xml</type>
33 <classifier>features</classifier>
34 <exclusions>
35 <exclusion>
36 <groupId>*</groupId>
37 <artifactId>*</artifactId>
38 </exclusion>
39 </exclusions>
40 </dependency>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040041
42
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -050043 </dependencies>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040044
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -050045 <build>
46 <plugins>
47 <plugin>
48 <artifactId>maven-assembly-plugin</artifactId>
49 <executions>
50 <execution>
51 <id>maven-repo-zip</id>
52 <goals>
53 <goal>single</goal>
54 </goals>
55 <phase>package</phase>
56 <configuration>
57 <attach>true</attach>
58 <finalName>stage/${application.name}-${project.version}</finalName>
59 <descriptors>
60 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
61 </descriptors>
62 <appendAssemblyId>true</appendAssemblyId>
63 </configuration>
64 </execution>
65 <execution>
66 <id>installer-zip</id>
67 <goals>
68 <goal>single</goal>
69 </goals>
70 <phase>package</phase>
71 <configuration>
72 <attach>true</attach>
73 <finalName>${application.name}-${project.version}-installer</finalName>
74 <descriptors>
75 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
76 </descriptors>
77 <appendAssemblyId>false</appendAssemblyId>
78 </configuration>
79 </execution>
80 </executions>
81 </plugin>
82 <plugin>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-dependency-plugin</artifactId>
85 <executions>
86 <execution>
87 <id>copy-dependencies</id>
88 <goals>
89 <goal>copy-dependencies</goal>
90 </goals>
91 <phase>prepare-package</phase>
92 <configuration>
93 <transitive>false</transitive>
94 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
95 <overWriteReleases>false</overWriteReleases>
96 <overWriteSnapshots>true</overWriteSnapshots>
97 <overWriteIfNewer>true</overWriteIfNewer>
98 <useRepositoryLayout>true</useRepositoryLayout>
99 <addParentPoms>false</addParentPoms>
100 <copyPom>false</copyPom>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -0400101 <includeGroupIds>org.onap.ccsdk.sli.core,org.apache.tomcat,org.slf4j</includeGroupIds>
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -0500102 <excludeArtifactIds>utils-provider,slf4j-api</excludeArtifactIds>
103 <scope>provided</scope>
104 </configuration>
105 </execution>
106 </executions>
107 </plugin>
108 <plugin>
109 <artifactId>maven-resources-plugin</artifactId>
110 <version>2.6</version>
111 <executions>
112 <execution>
113 <id>copy-version</id>
114 <goals>
115 <goal>copy-resources</goal>
116 </goals><!-- here the phase you need -->
117 <phase>validate</phase>
118 <configuration>
119 <outputDirectory>${basedir}/target/stage</outputDirectory>
120 <resources>
121 <resource>
122 <directory>src/main/resources/scripts</directory>
123 <includes>
124 <include>install-feature.sh</include>
125 </includes>
126 <filtering>true</filtering>
127 </resource>
128 </resources>
129 </configuration>
130 </execution>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -0400131
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -0500132 </executions>
133 </plugin>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -0400134
Timoney, Dan (dt5972)1efd16d2018-12-20 13:44:40 -0500135 </plugins>
136 </build>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -0400137</project>