Haddox, Anthony | 50bd4a0 | 2019-01-16 08:08:35 -0800 | [diff] [blame] | 1 | <?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 Timoney | 8a620f7 | 2020-03-05 15:09:19 -0500 | [diff] [blame] | 4 | |
Haddox, Anthony | 50bd4a0 | 2019-01-16 08:08:35 -0800 | [diff] [blame] | 5 | <parent> |
Dan Timoney | 5de8196 | 2021-01-26 13:15:47 -0500 | [diff] [blame] | 6 | <groupId>org.onap.ccsdk.parent</groupId> |
| 7 | <artifactId>odlparent-lite</artifactId> |
Dan Timoney | e93adc2 | 2021-02-22 14:11:46 -0500 | [diff] [blame] | 8 | <version>2.1.1</version> |
Dan Timoney | 5de8196 | 2021-01-26 13:15:47 -0500 | [diff] [blame] | 9 | <relativePath/> |
Haddox, Anthony | 50bd4a0 | 2019-01-16 08:08:35 -0800 | [diff] [blame] | 10 | </parent> |
| 11 | |
Haddox, Anthony | 50bd4a0 | 2019-01-16 08:08:35 -0800 | [diff] [blame] | 12 | <groupId>org.onap.ccsdk.sli.northbound</groupId> |
| 13 | <artifactId>daexim-offsite-backup-installer</artifactId> |
Dan Timoney | 3f3e689 | 2021-02-23 11:37:18 -0500 | [diff] [blame] | 14 | <version>1.2.1-SNAPSHOT</version> |
Haddox, Anthony | 50bd4a0 | 2019-01-16 08:08:35 -0800 | [diff] [blame] | 15 | <packaging>pom</packaging> |
Dan Timoney | 8a620f7 | 2020-03-05 15:09:19 -0500 | [diff] [blame] | 16 | |
Singal, Kapil (ks220y) | 94f4b9b | 2021-03-02 20:00:49 -0500 | [diff] [blame^] | 17 | <name>ccsdk-sli-northbound :: ${project.artifactId}</name> |
Dan Timoney | 8a620f7 | 2020-03-05 15:09:19 -0500 | [diff] [blame] | 18 | |
Haddox, Anthony | 50bd4a0 | 2019-01-16 08:08:35 -0800 | [diff] [blame] | 19 | <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 Timoney | 8a620f7 | 2020-03-05 15:09:19 -0500 | [diff] [blame] | 25 | |
Haddox, Anthony | 50bd4a0 | 2019-01-16 08:08:35 -0800 | [diff] [blame] | 26 | <dependencies> |
| 27 | <dependency> |
| 28 | <groupId>org.onap.ccsdk.sli.northbound</groupId> |
Haddox, Anthony | 50bd4a0 | 2019-01-16 08:08:35 -0800 | [diff] [blame] | 29 | <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 Timoney | 8a620f7 | 2020-03-05 15:09:19 -0500 | [diff] [blame] | 38 | |
Haddox, Anthony | 50bd4a0 | 2019-01-16 08:08:35 -0800 | [diff] [blame] | 39 | <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> |