blob: 83aaec0b126fb35ae2d60d8c1a682778b1323e25 [file] [log] [blame]
Dan Timoneyea5bf0a2017-07-18 20:32:15 -04001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -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 Timoney10b6a722018-02-22 17:22:31 -06003 <modelVersion>4.0.0</modelVersion>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -04004
Dan Timoney10b6a722018-02-22 17:22:31 -06005 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -05008 <version>1.2.0</version>
Dan Timoney10b6a722018-02-22 17:22:31 -06009 <relativePath/>
10 </parent>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040011
Dan Timoney10b6a722018-02-22 17:22:31 -060012 <groupId>org.onap.ccsdk.sli.northbound</groupId>
13 <artifactId>dataChange-installer</artifactId>
Timoney, Dan (dt5972)9004b362018-10-23 08:36:33 -040014 <version>0.4.0-SNAPSHOT</version>
Dan Timoney10b6a722018-02-22 17:22:31 -060015 <packaging>pom</packaging>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040016
Dan Timoney10b6a722018-02-22 17:22:31 -060017 <name>ccsdk-sli-northbound :: dataChange :: ${project.artifactId}</name>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040018
Dan Timoney10b6a722018-02-22 17:22:31 -060019 <properties>
20 <application.name>ccsdk-dataChange</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.sli.northbound/${features.boot}/${project.version}/xml/features</features.repositories>
23 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
25
26 <dependencies>
27
28 <dependency>
29 <groupId>org.onap.ccsdk.sli.northbound</groupId>
30 <artifactId>${application.name}</artifactId>
31 <version>${project.version}</version>
32 <type>xml</type>
33 <classifier>features</classifier>
34 <exclusions>
35 <exclusion>
36 <groupId>*</groupId>
37 <artifactId>*</artifactId>
38 </exclusion>
39 </exclusions>
40 </dependency>
41 <dependency>
42 <groupId>org.onap.ccsdk.sli.northbound</groupId>
43 <artifactId>dataChange-model</artifactId>
44 <version>${project.version}</version>
45 </dependency>
46
47 <dependency>
48 <groupId>org.onap.ccsdk.sli.northbound</groupId>
49 <artifactId>dataChange-provider</artifactId>
50 <version>${project.version}</version>
51 </dependency>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040052
53
Dan Timoney10b6a722018-02-22 17:22:31 -060054 </dependencies>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040055
Dan Timoney10b6a722018-02-22 17:22:31 -060056 <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>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040069 <attach>true</attach>
Dan Timoney10b6a722018-02-22 17:22:31 -060070 <finalName>stage/${application.name}-${project.version}</finalName>
71 <descriptors>
72 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
73 </descriptors>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040074 <appendAssemblyId>true</appendAssemblyId>
Dan Timoney10b6a722018-02-22 17:22:31 -060075 </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>
113 <includeGroupIds>org.onap.ccsdk.sli.northbound</includeGroupIds>
114 <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>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400142
Dan Timoney10b6a722018-02-22 17:22:31 -0600143 </executions>
144 </plugin>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400145
Dan Timoney10b6a722018-02-22 17:22:31 -0600146 </plugins>
147 </build>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400148</project>