blob: 473c4a571d64c68f97469d69cdbcbc128eba4eda [file] [log] [blame]
Dan Timoney37d64682017-09-21 16:07:02 -04001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -04002<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
Dan Timoney131cb462018-02-01 16:57:00 -05006
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -04007 <parent>
8 <groupId>org.onap.ccsdk.parent</groupId>
9 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)7f5b3562018-09-25 16:56:10 -040010 <version>1.1.0</version>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040011 <relativePath />
12 </parent>
Dan Timoney131cb462018-02-01 16:57:00 -050013
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040014 <groupId>org.onap.ccsdk.sli.core</groupId>
15 <artifactId>utils-installer</artifactId>
Timoney, Dan (dt5972)5b83cd32018-09-25 19:09:31 -040016 <version>0.3.1-SNAPSHOT</version>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040017 <packaging>pom</packaging>
Dan Timoney37d64682017-09-21 16:07:02 -040018
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040019 <name>ccsdk-sli-core :: utils :: ${project.artifactId}</name>
Dan Timoney131cb462018-02-01 16:57:00 -050020
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040021 <properties>
22 <application.name>ccsdk-slicore-utils</application.name>
23 <features.boot>${application.name}</features.boot>
24 <features.repositories>mvn:org.onap.ccsdk.sli.core/${features.boot}/${project.version}/xml/features</features.repositories>
25 <include.transitive.dependencies>false</include.transitive.dependencies>
26 </properties>
Dan Timoney37d64682017-09-21 16:07:02 -040027
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040028 <dependencies>
Dan Timoney37d64682017-09-21 16:07:02 -040029
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040030 <dependency>
31 <groupId>org.onap.ccsdk.sli.core</groupId>
32 <artifactId>${application.name}</artifactId>
33 <version>${project.version}</version>
34 <type>xml</type>
35 <classifier>features</classifier>
36 <exclusions>
37 <exclusion>
38 <groupId>*</groupId>
39 <artifactId>*</artifactId>
40 </exclusion>
41 </exclusions>
42 </dependency>
Dan Timoney37d64682017-09-21 16:07:02 -040043
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040044 <dependency>
45 <groupId>org.onap.ccsdk.sli.core</groupId>
46 <artifactId>utils-provider</artifactId>
47 <version>${project.version}</version>
48 </dependency>
Dan Timoney37d64682017-09-21 16:07:02 -040049
50
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040051 </dependencies>
Dan Timoney37d64682017-09-21 16:07:02 -040052
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040053 <build>
54 <plugins>
55 <plugin>
56 <artifactId>maven-assembly-plugin</artifactId>
57 <executions>
58 <execution>
59 <id>maven-repo-zip</id>
60 <goals>
61 <goal>single</goal>
62 </goals>
63 <phase>package</phase>
64 <configuration>
65 <attach>true</attach>
66 <finalName>stage/${application.name}-${project.version}</finalName>
67 <descriptors>
68 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
69 </descriptors>
70 <appendAssemblyId>true</appendAssemblyId>
71 </configuration>
72 </execution>
73 <execution>
74 <id>installer-zip</id>
75 <goals>
76 <goal>single</goal>
77 </goals>
78 <phase>package</phase>
79 <configuration>
80 <attach>true</attach>
81 <finalName>${application.name}-${project.version}-installer</finalName>
82 <descriptors>
83 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
84 </descriptors>
85 <appendAssemblyId>false</appendAssemblyId>
86 </configuration>
87 </execution>
88 </executions>
89 </plugin>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-dependency-plugin</artifactId>
93 <executions>
94 <execution>
95 <id>copy-dependencies</id>
96 <goals>
97 <goal>copy-dependencies</goal>
98 </goals>
99 <phase>prepare-package</phase>
100 <configuration>
101 <transitive>false</transitive>
102 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
103 <overWriteReleases>false</overWriteReleases>
104 <overWriteSnapshots>true</overWriteSnapshots>
105 <overWriteIfNewer>true</overWriteIfNewer>
106 <useRepositoryLayout>true</useRepositoryLayout>
107 <addParentPoms>false</addParentPoms>
108 <copyPom>false</copyPom>
109 <includeGroupIds>org.onap.ccsdk.sli,org.apache.tomcat</includeGroupIds>
110 <excludeArtifactIds>sli-common,sli-provider</excludeArtifactIds>
111 <scope>provided</scope>
112 </configuration>
113 </execution>
114 </executions>
115 </plugin>
116 <plugin>
117 <artifactId>maven-resources-plugin</artifactId>
118 <version>2.6</version>
119 <executions>
120 <execution>
121 <id>copy-version</id>
122 <goals>
123 <goal>copy-resources</goal>
124 </goals><!-- here the phase you need -->
125 <phase>validate</phase>
126 <configuration>
127 <outputDirectory>${basedir}/target/stage</outputDirectory>
128 <resources>
129 <resource>
130 <directory>src/main/resources/scripts</directory>
131 <includes>
132 <include>install-feature.sh</include>
133 </includes>
134 <filtering>true</filtering>
135 </resource>
136 </resources>
137 </configuration>
138 </execution>
Dan Timoney37d64682017-09-21 16:07:02 -0400139
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -0400140 </executions>
141 </plugin>
Dan Timoney37d64682017-09-21 16:07:02 -0400142
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -0400143 </plugins>
144 </build>
Dan Timoney37d64682017-09-21 16:07:02 -0400145</project>