blob: 89ad6c890204df3d97def363e2cbd85bbaecb293 [file] [log] [blame]
Dan Timoney2a93b9d2017-07-18 19:40:01 -04001<?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 Timoney131cb462018-02-01 16:57:00 -05004
Dan Timoney2a93b9d2017-07-18 19:40:01 -04005 <parent>
Dan Timoney131cb462018-02-01 16:57:00 -05006 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)7f5b3562018-09-25 16:56:10 -04008 <version>1.1.0</version>
Dan Timoney131cb462018-02-01 16:57:00 -05009 <relativePath/>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040010 </parent>
Dan Timoney131cb462018-02-01 16:57:00 -050011
Dan Timoneyd873c222018-02-14 14:28:47 -050012 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040013 <artifactId>sliPluginUtils-installer</artifactId>
Timoney, Dan (dt5972)1a717792018-06-06 13:44:30 -040014 <version>0.3.0-SNAPSHOT</version>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040015 <packaging>pom</packaging>
16
Dan Timoney131cb462018-02-01 16:57:00 -050017 <name>ccsdk-sli-core :: sliPluginUtils :: ${project.artifactId}</name>
18
Dan Timoney2a93b9d2017-07-18 19:40:01 -040019 <properties>
Dan Timoney131cb462018-02-01 16:57:00 -050020 <application.name>ccsdk-sliPluginUtils</application.name>
21 <features.boot>${application.name}</features.boot>
Dan Timoneyd873c222018-02-14 14:28:47 -050022 <features.repositories>mvn:org.onap.ccsdk.sli.core/${features.boot}/${project.version}/xml/features</features.repositories>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040023 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
25
Timoney, Dan (dt5972)7f5b3562018-09-25 16:56:10 -040026 <dependencyManagement>
27 <dependencies>
28
29 <dependency>
30 <groupId>org.onap.ccsdk.sli.core</groupId>
31 <artifactId>sli-common</artifactId>
32 <version>${project.version}</version>
33 </dependency>
34 <dependency>
35 <groupId>org.onap.ccsdk.sli.core</groupId>
36 <artifactId>sli-provider</artifactId>
37 <version>${project.version}</version>
38 </dependency>
39 <dependency>
40 <groupId>org.onap.ccsdk.sli.core</groupId>
41 <artifactId>dblib-provider</artifactId>
42 <version>${project.version}</version>
43 </dependency>
44 </dependencies>
45 </dependencyManagement>
46
Dan Timoney2a93b9d2017-07-18 19:40:01 -040047 <dependencies>
48
49 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -040050 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney131cb462018-02-01 16:57:00 -050051 <artifactId>${application.name}</artifactId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040052 <version>${project.version}</version>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040053 <type>xml</type>
Dan Timoney131cb462018-02-01 16:57:00 -050054 <classifier>features</classifier>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040055 <exclusions>
56 <exclusion>
57 <groupId>*</groupId>
58 <artifactId>*</artifactId>
59 </exclusion>
60 </exclusions>
61 </dependency>
62
63 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -040064 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040065 <artifactId>sliPluginUtils-provider</artifactId>
66 <version>${project.version}</version>
67 </dependency>
68
Dan Timoneyd873c222018-02-14 14:28:47 -050069 <dependency>
70 <groupId>org.apache.commons</groupId>
71 <artifactId>commons-text</artifactId>
72 <version>1.1</version>
73 </dependency>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040074 </dependencies>
75
76 <build>
77 <plugins>
78 <plugin>
79 <artifactId>maven-assembly-plugin</artifactId>
80 <executions>
81 <execution>
82 <id>maven-repo-zip</id>
83 <goals>
84 <goal>single</goal>
85 </goals>
86 <phase>package</phase>
87 <configuration>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040088 <attach>true</attach>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040089 <finalName>stage/${application.name}-${project.version}</finalName>
90 <descriptors>
91 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
92 </descriptors>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040093 <appendAssemblyId>true</appendAssemblyId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040094 </configuration>
95 </execution>
96 <execution>
97 <id>installer-zip</id>
98 <goals>
99 <goal>single</goal>
100 </goals>
101 <phase>package</phase>
102 <configuration>
103 <attach>true</attach>
104 <finalName>${application.name}-${project.version}-installer</finalName>
105 <descriptors>
106 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
107 </descriptors>
108 <appendAssemblyId>false</appendAssemblyId>
109 </configuration>
110 </execution>
111 </executions>
112 </plugin>
113 <plugin>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-dependency-plugin</artifactId>
116 <executions>
117 <execution>
118 <id>copy-dependencies</id>
119 <goals>
120 <goal>copy-dependencies</goal>
121 </goals>
122 <phase>prepare-package</phase>
123 <configuration>
124 <transitive>false</transitive>
125 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
126 <overWriteReleases>false</overWriteReleases>
127 <overWriteSnapshots>true</overWriteSnapshots>
128 <overWriteIfNewer>true</overWriteIfNewer>
129 <useRepositoryLayout>true</useRepositoryLayout>
130 <addParentPoms>false</addParentPoms>
131 <copyPom>false</copyPom>
Dan Timoneyd873c222018-02-14 14:28:47 -0500132 <includeArtifactIds>sliPluginUtils-provider,ccsdk-sliPluginUtils,features-sliPluginUtils,commons-text</includeArtifactIds>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400133 <scope>provided</scope>
134 </configuration>
135 </execution>
136 </executions>
137 </plugin>
138 <plugin>
139 <artifactId>maven-resources-plugin</artifactId>
140 <version>2.6</version>
141 <executions>
142 <execution>
143 <id>copy-version</id>
144 <goals>
145 <goal>copy-resources</goal>
146 </goals><!-- here the phase you need -->
147 <phase>validate</phase>
148 <configuration>
149 <outputDirectory>${basedir}/target/stage</outputDirectory>
150 <resources>
151 <resource>
152 <directory>src/main/resources/scripts</directory>
153 <includes>
154 <include>install-feature.sh</include>
155 </includes>
156 <filtering>true</filtering>
157 </resource>
158 </resources>
159 </configuration>
160 </execution>
161
162 </executions>
163 </plugin>
164
165 </plugins>
166 </build>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400167</project>