blob: 2f363ef5aaf908dfccc6d550d315e9e9f8f337c4 [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>
Dan Timoneyce338372020-01-24 15:56:59 -05008 <version>1.5.2-SNAPSHOT</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
12 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040013 <artifactId>sliapi-installer</artifactId>
Dan Timoneyce338372020-01-24 15:56:59 -050014 <version>0.7.1-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 :: sliapi :: ${project.artifactId}</name>
18
Dan Timoney2a93b9d2017-07-18 19:40:01 -040019 <properties>
Dan Timoney131cb462018-02-01 16:57:00 -050020 <application.name>ccsdk-sliapi</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>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040023 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
Timoney, Dan (dt5972)7f5b3562018-09-25 16:56:10 -040025 <dependencyManagement>
26 <dependencies>
27
28 <dependency>
29 <groupId>org.onap.ccsdk.sli.core</groupId>
30 <artifactId>sli-common</artifactId>
31 <version>${project.version}</version>
32 </dependency>
33 <dependency>
34 <groupId>org.onap.ccsdk.sli.core</groupId>
35 <artifactId>sli-provider</artifactId>
36 <version>${project.version}</version>
37 </dependency>
38 <dependency>
39 <groupId>org.onap.ccsdk.sli.core</groupId>
40 <artifactId>dblib-provider</artifactId>
41 <version>${project.version}</version>
42 </dependency>
43 </dependencies>
44 </dependencyManagement>
45
Dan Timoney2a93b9d2017-07-18 19:40:01 -040046 <dependencies>
47
48 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -040049 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney131cb462018-02-01 16:57:00 -050050 <artifactId>${application.name}</artifactId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040051 <version>${project.version}</version>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040052 <type>xml</type>
Dan Timoney131cb462018-02-01 16:57:00 -050053 <classifier>features</classifier>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040054 <exclusions>
55 <exclusion>
56 <groupId>*</groupId>
57 <artifactId>*</artifactId>
58 </exclusion>
59 </exclusions>
60 </dependency>
61
62 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -040063 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040064 <artifactId>sliapi-provider</artifactId>
65 <version>${project.version}</version>
66 </dependency>
67
68
69 </dependencies>
70
71 <build>
72 <plugins>
73 <plugin>
74 <artifactId>maven-assembly-plugin</artifactId>
75 <executions>
76 <execution>
77 <id>maven-repo-zip</id>
78 <goals>
79 <goal>single</goal>
80 </goals>
81 <phase>package</phase>
82 <configuration>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040083 <attach>true</attach>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040084 <finalName>stage/${application.name}-${project.version}</finalName>
85 <descriptors>
86 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
87 </descriptors>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040088 <appendAssemblyId>true</appendAssemblyId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040089 </configuration>
90 </execution>
91 <execution>
92 <id>installer-zip</id>
93 <goals>
94 <goal>single</goal>
95 </goals>
96 <phase>package</phase>
97 <configuration>
98 <attach>true</attach>
99 <finalName>${application.name}-${project.version}-installer</finalName>
100 <descriptors>
101 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
102 </descriptors>
103 <appendAssemblyId>false</appendAssemblyId>
104 </configuration>
105 </execution>
106 </executions>
107 </plugin>
108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-dependency-plugin</artifactId>
111 <executions>
112 <execution>
113 <id>copy-dependencies</id>
114 <goals>
115 <goal>copy-dependencies</goal>
116 </goals>
117 <phase>prepare-package</phase>
118 <configuration>
119 <transitive>false</transitive>
120 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
121 <overWriteReleases>false</overWriteReleases>
122 <overWriteSnapshots>true</overWriteSnapshots>
123 <overWriteIfNewer>true</overWriteIfNewer>
124 <useRepositoryLayout>true</useRepositoryLayout>
125 <addParentPoms>false</addParentPoms>
126 <copyPom>false</copyPom>
Dan Timoneyd873c222018-02-14 14:28:47 -0500127 <includeArtifactIds>sliapi-model,sliapi-provider,ccsdk-sliapi,features-sliapi</includeArtifactIds>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400128 <scope>provided</scope>
129 </configuration>
130 </execution>
131 </executions>
132 </plugin>
133 <plugin>
134 <artifactId>maven-resources-plugin</artifactId>
135 <version>2.6</version>
136 <executions>
137 <execution>
138 <id>copy-version</id>
139 <goals>
140 <goal>copy-resources</goal>
141 </goals><!-- here the phase you need -->
142 <phase>validate</phase>
143 <configuration>
144 <outputDirectory>${basedir}/target/stage</outputDirectory>
145 <resources>
146 <resource>
147 <directory>src/main/resources/scripts</directory>
148 <includes>
149 <include>install-feature.sh</include>
150 </includes>
151 <filtering>true</filtering>
152 </resource>
153 </resources>
154 </configuration>
155 </execution>
156
157 </executions>
158 </plugin>
159
160 </plugins>
161 </build>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400162</project>