blob: ef0045e04bb8a152d458fe0312efda664f44564d [file] [log] [blame]
Haddox, Anthony4fc631c2019-01-23 06:10:06 -08001<?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 Timoney71fb6352020-03-05 11:53:23 -05004
Haddox, Anthony4fc631c2019-01-23 06:10:06 -08005 <parent>
Dan Timoney5de81962021-01-26 13:15:47 -05006 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Dan Timoneyde21a382022-08-10 10:18:35 -04008 <version>2.4.1</version>
Dan Timoney5de81962021-01-26 13:15:47 -05009 <relativePath/>
Haddox, Anthony4fc631c2019-01-23 06:10:06 -080010 </parent>
11
Haddox, Anthony4fc631c2019-01-23 06:10:06 -080012 <groupId>org.onap.ccsdk.sli.plugins</groupId>
13 <artifactId>gr-toolkit-installer</artifactId>
Dan Timoneyf02d6272022-04-01 09:07:00 -040014 <version>1.5.0-SNAPSHOT</version>
Haddox, Anthony4fc631c2019-01-23 06:10:06 -080015 <packaging>pom</packaging>
Dan Timoney71fb6352020-03-05 11:53:23 -050016
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050017 <name>ccsdk-sli-plugins :: ${project.artifactId}</name>
Dan Timoney71fb6352020-03-05 11:53:23 -050018
Haddox, Anthony4fc631c2019-01-23 06:10:06 -080019 <properties>
20 <application.name>ccsdk-gr-toolkit</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.sli.plugins/${features.boot}/${project.version}/xml/features</features.repositories>
23 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
Dan Timoney71fb6352020-03-05 11:53:23 -050025
Haddox, Anthony4fc631c2019-01-23 06:10:06 -080026 <dependencies>
27 <dependency>
28 <groupId>org.onap.ccsdk.sli.plugins</groupId>
Haddox, Anthony4fc631c2019-01-23 06:10:06 -080029 <artifactId>gr-toolkit-provider</artifactId>
30 <version>${project.version}</version>
31 </dependency>
32 <dependency>
33 <groupId>org.onap.ccsdk.sli.plugins</groupId>
34 <artifactId>gr-toolkit-model</artifactId>
35 <version>${project.version}</version>
36 </dependency>
37 </dependencies>
Dan Timoney71fb6352020-03-05 11:53:23 -050038
Haddox, Anthony4fc631c2019-01-23 06:10:06 -080039 <build>
40 <plugins>
41 <plugin>
42 <artifactId>maven-assembly-plugin</artifactId>
43 <version>2.6</version>
44 <executions>
45 <execution>
46 <id>maven-repo-zip</id>
47 <goals>
48 <goal>single</goal>
49 </goals>
50 <phase>package</phase>
51 <configuration>
52 <attach>true</attach>
53 <finalName>stage/${application.name}-${project.version}</finalName>
54 <descriptors>
55 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
56 </descriptors>
57 <appendAssemblyId>true</appendAssemblyId>
58 </configuration>
59 </execution>
60 <execution>
61 <id>installer-zip</id>
62 <goals>
63 <goal>single</goal>
64 </goals>
65 <phase>package</phase>
66 <configuration>
67 <attach>true</attach>
68 <finalName>${application.name}-${project.version}-installer</finalName>
69 <descriptors>
70 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
71 </descriptors>
72 <appendAssemblyId>false</appendAssemblyId>
73 </configuration>
74 </execution>
75 </executions>
76 </plugin>
77 <plugin>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-dependency-plugin</artifactId>
80 <executions>
81 <execution>
82 <id>copy-dependencies</id>
83 <goals>
84 <goal>copy-dependencies</goal>
85 </goals>
86 <phase>prepare-package</phase>
87 <configuration>
88 <transitive>false</transitive>
89 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
90 <overWriteReleases>false</overWriteReleases>
91 <overWriteSnapshots>true</overWriteSnapshots>
92 <overWriteIfNewer>true</overWriteIfNewer>
93 <useRepositoryLayout>true</useRepositoryLayout>
94 <addParentPoms>false</addParentPoms>
95 <copyPom>false</copyPom>
96 <includeGroupIds>org.onap.ccsdk.sli.plugins</includeGroupIds>
97 <scope>provided</scope>
98 </configuration>
99 </execution>
100 </executions>
101 </plugin>
102 <plugin>
103 <artifactId>maven-resources-plugin</artifactId>
104 <version>2.6</version>
105 <executions>
106 <execution>
107 <id>copy-version</id>
108 <goals>
109 <goal>copy-resources</goal>
110 </goals>
111 <phase>validate</phase>
112 <configuration>
113 <outputDirectory>${basedir}/target/stage</outputDirectory>
114 <resources>
115 <resource>
116 <directory>src/main/resources/scripts</directory>
117 <includes>
118 <include>install-feature.sh</include>
119 </includes>
120 <filtering>true</filtering>
121 </resource>
122 </resources>
123 </configuration>
124 </execution>
125 </executions>
126 </plugin>
127 </plugins>
128 </build>
129</project>