blob: 0e4fb8d566cf7c451a548aa2a32edf619492b6cb [file] [log] [blame]
Haddox, Anthony50bd4a02019-01-16 08:08:35 -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 Timoney8a620f72020-03-05 15:09:19 -05004
Haddox, Anthony50bd4a02019-01-16 08:08:35 -08005 <parent>
Dan Timoney5de81962021-01-26 13:15:47 -05006 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Dan Timoneye93adc22021-02-22 14:11:46 -05008 <version>2.1.1</version>
Dan Timoney5de81962021-01-26 13:15:47 -05009 <relativePath/>
Haddox, Anthony50bd4a02019-01-16 08:08:35 -080010 </parent>
11
Haddox, Anthony50bd4a02019-01-16 08:08:35 -080012 <groupId>org.onap.ccsdk.sli.northbound</groupId>
13 <artifactId>daexim-offsite-backup-installer</artifactId>
Dan Timoney3f3e6892021-02-23 11:37:18 -050014 <version>1.2.1-SNAPSHOT</version>
Haddox, Anthony50bd4a02019-01-16 08:08:35 -080015 <packaging>pom</packaging>
Dan Timoney8a620f72020-03-05 15:09:19 -050016
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050017 <name>ccsdk-sli-northbound :: ${project.artifactId}</name>
Dan Timoney8a620f72020-03-05 15:09:19 -050018
Haddox, Anthony50bd4a02019-01-16 08:08:35 -080019 <properties>
20 <application.name>ccsdk-daexim-offsite-backup</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>
Dan Timoney8a620f72020-03-05 15:09:19 -050025
Haddox, Anthony50bd4a02019-01-16 08:08:35 -080026 <dependencies>
27 <dependency>
28 <groupId>org.onap.ccsdk.sli.northbound</groupId>
Haddox, Anthony50bd4a02019-01-16 08:08:35 -080029 <artifactId>daexim-offsite-backup-provider</artifactId>
30 <version>${project.version}</version>
31 </dependency>
32 <dependency>
33 <groupId>org.onap.ccsdk.sli.northbound</groupId>
34 <artifactId>daexim-offsite-backup-model</artifactId>
35 <version>${project.version}</version>
36 </dependency>
37 </dependencies>
Dan Timoney8a620f72020-03-05 15:09:19 -050038
Haddox, Anthony50bd4a02019-01-16 08:08:35 -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.northbound</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>