blob: 6d2d4c9a6d83e8c0a0de7ec76e093f90cc8608ca [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>
4 <parent>
5 <groupId>org.onap.ccsdk.parent</groupId>
6 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)e530f302019-03-19 17:11:28 -04007 <version>1.2.2-SNAPSHOT</version>
Haddox, Anthony50bd4a02019-01-16 08:08:35 -08008 <relativePath/>
9 </parent>
10
11 <name>ccsdk-sli-northbound :: daexim-offsite-backup :: ${project.artifactId}</name>
12 <groupId>org.onap.ccsdk.sli.northbound</groupId>
13 <artifactId>daexim-offsite-backup-installer</artifactId>
Timoney, Dan (dt5972)e530f302019-03-19 17:11:28 -040014 <version>0.4.2-SNAPSHOT</version>
Haddox, Anthony50bd4a02019-01-16 08:08:35 -080015 <packaging>pom</packaging>
16 <properties>
17 <application.name>ccsdk-daexim-offsite-backup</application.name>
18 <features.boot>${application.name}</features.boot>
19 <features.repositories>mvn:org.onap.ccsdk.sli.northbound/${features.boot}/${project.version}/xml/features</features.repositories>
20 <include.transitive.dependencies>false</include.transitive.dependencies>
21 </properties>
22 <dependencies>
23 <dependency>
24 <groupId>org.onap.ccsdk.sli.northbound</groupId>
25 <artifactId>${application.name}</artifactId>
26 <version>${project.version}</version>
27 <type>xml</type>
28 <classifier>features</classifier>
29 <exclusions>
30 <exclusion>
31 <groupId>*</groupId>
32 <artifactId>*</artifactId>
33 </exclusion>
34 </exclusions>
35 </dependency>
36 <dependency>
37 <groupId>org.onap.ccsdk.sli.northbound</groupId>
38 <artifactId>daexim-offsite-backup-provider</artifactId>
39 <version>${project.version}</version>
40 </dependency>
41 <dependency>
42 <groupId>org.onap.ccsdk.sli.northbound</groupId>
43 <artifactId>daexim-offsite-backup-model</artifactId>
44 <version>${project.version}</version>
45 </dependency>
46 </dependencies>
47 <build>
48 <plugins>
49 <plugin>
50 <artifactId>maven-assembly-plugin</artifactId>
51 <version>2.6</version>
52 <executions>
53 <execution>
54 <id>maven-repo-zip</id>
55 <goals>
56 <goal>single</goal>
57 </goals>
58 <phase>package</phase>
59 <configuration>
60 <attach>true</attach>
61 <finalName>stage/${application.name}-${project.version}</finalName>
62 <descriptors>
63 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
64 </descriptors>
65 <appendAssemblyId>true</appendAssemblyId>
66 </configuration>
67 </execution>
68 <execution>
69 <id>installer-zip</id>
70 <goals>
71 <goal>single</goal>
72 </goals>
73 <phase>package</phase>
74 <configuration>
75 <attach>true</attach>
76 <finalName>${application.name}-${project.version}-installer</finalName>
77 <descriptors>
78 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
79 </descriptors>
80 <appendAssemblyId>false</appendAssemblyId>
81 </configuration>
82 </execution>
83 </executions>
84 </plugin>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-dependency-plugin</artifactId>
88 <executions>
89 <execution>
90 <id>copy-dependencies</id>
91 <goals>
92 <goal>copy-dependencies</goal>
93 </goals>
94 <phase>prepare-package</phase>
95 <configuration>
96 <transitive>false</transitive>
97 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
98 <overWriteReleases>false</overWriteReleases>
99 <overWriteSnapshots>true</overWriteSnapshots>
100 <overWriteIfNewer>true</overWriteIfNewer>
101 <useRepositoryLayout>true</useRepositoryLayout>
102 <addParentPoms>false</addParentPoms>
103 <copyPom>false</copyPom>
104 <includeGroupIds>org.onap.ccsdk.sli.northbound</includeGroupIds>
105 <scope>provided</scope>
106 </configuration>
107 </execution>
108 </executions>
109 </plugin>
110 <plugin>
111 <artifactId>maven-resources-plugin</artifactId>
112 <version>2.6</version>
113 <executions>
114 <execution>
115 <id>copy-version</id>
116 <goals>
117 <goal>copy-resources</goal>
118 </goals>
119 <phase>validate</phase>
120 <configuration>
121 <outputDirectory>${basedir}/target/stage</outputDirectory>
122 <resources>
123 <resource>
124 <directory>src/main/resources/scripts</directory>
125 <includes>
126 <include>install-feature.sh</include>
127 </includes>
128 <filtering>true</filtering>
129 </resource>
130 </resources>
131 </configuration>
132 </execution>
133 </executions>
134 </plugin>
135 </plugins>
136 </build>
137</project>