blob: 2bc3a4f76fe0e5af0083ed311bf285ddbfdf4adc [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>
Dan Timoney5de81962021-01-26 13:15:47 -05006 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Dan Timoney7c0ec3e2022-03-01 11:10:58 -05008 <version>2.3.3-SNAPSHOT</version>
Dan Timoney5de81962021-01-26 13:15:47 -05009 <relativePath/>
Dan Timoney10b6a722018-02-22 17:22:31 -060010 </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>
Dan Timoneyb9d6d8b2021-10-12 09:09:01 -040014 <version>1.4.1-SNAPSHOT</version>
Dan Timoney10b6a722018-02-22 17:22:31 -060015 <packaging>pom</packaging>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040016
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050017 <name>ccsdk-sli-northbound :: ${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>
Dan Timoney10b6a722018-02-22 17:22:31 -060030 <artifactId>dataChange-model</artifactId>
31 <version>${project.version}</version>
32 </dependency>
33
34 <dependency>
35 <groupId>org.onap.ccsdk.sli.northbound</groupId>
36 <artifactId>dataChange-provider</artifactId>
37 <version>${project.version}</version>
38 </dependency>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040039
Dan Timoney10b6a722018-02-22 17:22:31 -060040 </dependencies>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040041
Dan Timoney10b6a722018-02-22 17:22:31 -060042 <build>
43 <plugins>
44 <plugin>
45 <artifactId>maven-assembly-plugin</artifactId>
46 <version>2.6</version>
47 <executions>
48 <execution>
49 <id>maven-repo-zip</id>
50 <goals>
51 <goal>single</goal>
52 </goals>
53 <phase>package</phase>
54 <configuration>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040055 <attach>true</attach>
Dan Timoney10b6a722018-02-22 17:22:31 -060056 <finalName>stage/${application.name}-${project.version}</finalName>
57 <descriptors>
58 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
59 </descriptors>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040060 <appendAssemblyId>true</appendAssemblyId>
Dan Timoney10b6a722018-02-22 17:22:31 -060061 </configuration>
62 </execution>
63 <execution>
64 <id>installer-zip</id>
65 <goals>
66 <goal>single</goal>
67 </goals>
68 <phase>package</phase>
69 <configuration>
70 <attach>true</attach>
71 <finalName>${application.name}-${project.version}-installer</finalName>
72 <descriptors>
73 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
74 </descriptors>
75 <appendAssemblyId>false</appendAssemblyId>
76 </configuration>
77 </execution>
78 </executions>
79 </plugin>
80 <plugin>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-dependency-plugin</artifactId>
83 <executions>
84 <execution>
85 <id>copy-dependencies</id>
86 <goals>
87 <goal>copy-dependencies</goal>
88 </goals>
89 <phase>prepare-package</phase>
90 <configuration>
91 <transitive>false</transitive>
92 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
93 <overWriteReleases>false</overWriteReleases>
94 <overWriteSnapshots>true</overWriteSnapshots>
95 <overWriteIfNewer>true</overWriteIfNewer>
96 <useRepositoryLayout>true</useRepositoryLayout>
97 <addParentPoms>false</addParentPoms>
98 <copyPom>false</copyPom>
99 <includeGroupIds>org.onap.ccsdk.sli.northbound</includeGroupIds>
100 <scope>provided</scope>
101 </configuration>
102 </execution>
103 </executions>
104 </plugin>
105 <plugin>
106 <artifactId>maven-resources-plugin</artifactId>
107 <version>2.6</version>
108 <executions>
109 <execution>
110 <id>copy-version</id>
111 <goals>
112 <goal>copy-resources</goal>
113 </goals><!-- here the phase you need -->
114 <phase>validate</phase>
115 <configuration>
116 <outputDirectory>${basedir}/target/stage</outputDirectory>
117 <resources>
118 <resource>
119 <directory>src/main/resources/scripts</directory>
120 <includes>
121 <include>install-feature.sh</include>
122 </includes>
123 <filtering>true</filtering>
124 </resource>
125 </resources>
126 </configuration>
127 </execution>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400128
Dan Timoney10b6a722018-02-22 17:22:31 -0600129 </executions>
130 </plugin>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400131
Dan Timoney10b6a722018-02-22 17:22:31 -0600132 </plugins>
133 </build>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400134</project>