blob: 64151c6ada32115b0504be81650d8c2d2c1587ed [file] [log] [blame]
Dan Timoney7dbb6442017-07-18 20:35:53 -04001<?xml version="1.0" encoding="UTF-8"?>
Dan Timoneyad7ea122018-02-27 13:34:16 -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">
Dan Timoney7dbb6442017-07-18 20:35:53 -04003 <modelVersion>4.0.0</modelVersion>
Dan Timoneyad7ea122018-02-27 13:34:16 -05004
Dan Timoney7dbb6442017-07-18 20:35:53 -04005 <parent>
Dan Timoneyad7ea122018-02-27 13:34:16 -05006 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)054268f2018-05-30 18:12:49 -04008 <version>1.0.4-SNAPSHOT</version>
Dan Timoney7dbb6442017-07-18 20:35:53 -04009 </parent>
Dan Timoneyad7ea122018-02-27 13:34:16 -050010
11 <groupId>org.onap.ccsdk.sli.plugins</groupId>
Dan Timoney7dbb6442017-07-18 20:35:53 -040012 <artifactId>restapi-call-node-installer</artifactId>
Timoney, Dan (dt5972)054268f2018-05-30 18:12:49 -040013 <version>0.2.4-SNAPSHOT</version>
Dan Timoney7dbb6442017-07-18 20:35:53 -040014 <packaging>pom</packaging>
15
Dan Timoneyad7ea122018-02-27 13:34:16 -050016 <name>ccsdk-sli-plugins :: restapi-call-node :: ${project.artifactId}</name>
17
Dan Timoney7dbb6442017-07-18 20:35:53 -040018 <properties>
Dan Timoneyad7ea122018-02-27 13:34:16 -050019 <application.name>ccsdk-restapi-call-node</application.name>
20 <features.boot>${application.name}</features.boot>
21 <features.repositories>mvn:org.onap.ccsdk.sli.plugins/${features.boot}/${project.version}/xml/features</features.repositories>
Dan Timoney7dbb6442017-07-18 20:35:53 -040022 <include.transitive.dependencies>false</include.transitive.dependencies>
23 </properties>
24
25 <dependencies>
26
27 <dependency>
28 <groupId>org.onap.ccsdk.sli.plugins</groupId>
Dan Timoneyad7ea122018-02-27 13:34:16 -050029 <artifactId>${application.name}</artifactId>
Dan Timoney7dbb6442017-07-18 20:35:53 -040030 <version>${project.version}</version>
Dan Timoney7dbb6442017-07-18 20:35:53 -040031 <type>xml</type>
Dan Timoneyad7ea122018-02-27 13:34:16 -050032 <classifier>features</classifier>
Dan Timoney7dbb6442017-07-18 20:35:53 -040033 <exclusions>
34 <exclusion>
35 <groupId>*</groupId>
36 <artifactId>*</artifactId>
37 </exclusion>
38 </exclusions>
39 </dependency>
40
41 <dependency>
42 <groupId>org.onap.ccsdk.sli.plugins</groupId>
43 <artifactId>restapi-call-node-provider</artifactId>
44 <version>${project.version}</version>
45 </dependency>
Dan Timoneyad7ea122018-02-27 13:34:16 -050046 <dependency>
47 <groupId>org.springframework</groupId>
48 <artifactId>spring-beans</artifactId>
49 </dependency>
50 <dependency>
51 <groupId>org.springframework</groupId>
52 <artifactId>spring-context</artifactId>
53 </dependency>
Dan Timoney7dbb6442017-07-18 20:35:53 -040054 </dependencies>
55
56 <build>
57 <plugins>
58 <plugin>
59 <artifactId>maven-assembly-plugin</artifactId>
60 <version>2.6</version>
61 <executions>
62 <execution>
63 <id>maven-repo-zip</id>
64 <goals>
65 <goal>single</goal>
66 </goals>
67 <phase>package</phase>
68 <configuration>
69 <attach>false</attach>
70 <finalName>stage/${application.name}-${project.version}</finalName>
71 <descriptors>
72 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
73 </descriptors>
74 <appendAssemblyId>false</appendAssemblyId>
75 </configuration>
76 </execution>
77 <execution>
78 <id>installer-zip</id>
79 <goals>
80 <goal>single</goal>
81 </goals>
82 <phase>package</phase>
83 <configuration>
84 <attach>true</attach>
85 <finalName>${application.name}-${project.version}-installer</finalName>
86 <descriptors>
87 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
88 </descriptors>
89 <appendAssemblyId>false</appendAssemblyId>
90 </configuration>
91 </execution>
92 </executions>
93 </plugin>
94 <plugin>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-dependency-plugin</artifactId>
97 <executions>
98 <execution>
99 <id>copy-dependencies</id>
100 <goals>
101 <goal>copy-dependencies</goal>
102 </goals>
103 <phase>prepare-package</phase>
104 <configuration>
105 <transitive>false</transitive>
106 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
107 <overWriteReleases>false</overWriteReleases>
108 <overWriteSnapshots>true</overWriteSnapshots>
109 <overWriteIfNewer>true</overWriteIfNewer>
110 <useRepositoryLayout>true</useRepositoryLayout>
111 <addParentPoms>false</addParentPoms>
112 <copyPom>false</copyPom>
Dan Timoneyad7ea122018-02-27 13:34:16 -0500113 <excludeGroupIds>org.onap.ccsdk.sli.core</excludeGroupIds>
Dan Timoney7dbb6442017-07-18 20:35:53 -0400114 <scope>provided</scope>
115 </configuration>
116 </execution>
117 </executions>
118 </plugin>
119 <plugin>
120 <artifactId>maven-resources-plugin</artifactId>
121 <version>2.6</version>
122 <executions>
123 <execution>
124 <id>copy-version</id>
125 <goals>
126 <goal>copy-resources</goal>
127 </goals><!-- here the phase you need -->
128 <phase>validate</phase>
129 <configuration>
130 <outputDirectory>${basedir}/target/stage</outputDirectory>
131 <resources>
132 <resource>
133 <directory>src/main/resources/scripts</directory>
134 <includes>
135 <include>install-feature.sh</include>
136 </includes>
137 <filtering>true</filtering>
138 </resource>
139 </resources>
140 </configuration>
141 </execution>
142
143 </executions>
144 </plugin>
145
146 </plugins>
147 </build>
Dan Timoney7dbb6442017-07-18 20:35:53 -0400148</project>