Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Timoney, Dan (dt5972) | 21ec655 | 2019-01-08 12:14:12 -0500 | [diff] [blame] | 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"> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame] | 4 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [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 | b5a1f49 | 2022-11-07 13:38:17 -0500 | [diff] [blame^] | 8 | <version>2.5.0</version> |
Dan Timoney | 5de8196 | 2021-01-26 13:15:47 -0500 | [diff] [blame] | 9 | <relativePath/> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 10 | </parent> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame] | 11 | |
| 12 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 13 | <artifactId>mdsal-resource-installer</artifactId> |
Dan Timoney | 5383edf | 2022-10-20 15:29:33 -0400 | [diff] [blame] | 14 | <version>1.6.0-SNAPSHOT</version> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 15 | <packaging>pom</packaging> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 16 | |
Singal, Kapil (ks220y) | 94f4b9b | 2021-03-02 20:00:49 -0500 | [diff] [blame] | 17 | <name>ccsdk-sli-adaptors :: ${project.artifactId}</name> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame] | 18 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 19 | <properties> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame] | 20 | <application.name>ccsdk-mdsal-resource</application.name> |
| 21 | <features.boot>${application.name}</features.boot> |
| 22 | <features.repositories>mvn:org.onap.ccsdk.sli.adaptors/${features.boot}/${project.version}/xml/features</features.repositories> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 23 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 24 | </properties> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 25 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 26 | <dependencies> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 27 | <dependency> |
| 28 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 29 | <artifactId>mdsal-resource-provider</artifactId> |
| 30 | <version>${project.version}</version> |
| 31 | </dependency> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 32 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 33 | </dependencies> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 34 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 35 | <build> |
| 36 | <plugins> |
| 37 | <plugin> |
| 38 | <artifactId>maven-assembly-plugin</artifactId> |
| 39 | <version>2.6</version> |
| 40 | <executions> |
| 41 | <execution> |
| 42 | <id>maven-repo-zip</id> |
| 43 | <goals> |
| 44 | <goal>single</goal> |
| 45 | </goals> |
| 46 | <phase>package</phase> |
| 47 | <configuration> |
Timoney, Dan (dt5972) | 153b6c2 | 2018-06-22 15:50:29 -0400 | [diff] [blame] | 48 | <attach>true</attach> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 49 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 50 | <descriptors> |
| 51 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 52 | </descriptors> |
Timoney, Dan (dt5972) | 153b6c2 | 2018-06-22 15:50:29 -0400 | [diff] [blame] | 53 | <appendAssemblyId>true</appendAssemblyId> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 54 | </configuration> |
| 55 | </execution> |
| 56 | <execution> |
| 57 | <id>installer-zip</id> |
| 58 | <goals> |
| 59 | <goal>single</goal> |
| 60 | </goals> |
| 61 | <phase>package</phase> |
| 62 | <configuration> |
| 63 | <attach>true</attach> |
| 64 | <finalName>${application.name}-${project.version}-installer</finalName> |
| 65 | <descriptors> |
| 66 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 67 | </descriptors> |
| 68 | <appendAssemblyId>false</appendAssemblyId> |
| 69 | </configuration> |
| 70 | </execution> |
| 71 | </executions> |
| 72 | </plugin> |
| 73 | <plugin> |
| 74 | <groupId>org.apache.maven.plugins</groupId> |
| 75 | <artifactId>maven-dependency-plugin</artifactId> |
| 76 | <executions> |
| 77 | <execution> |
| 78 | <id>copy-dependencies</id> |
| 79 | <goals> |
| 80 | <goal>copy-dependencies</goal> |
| 81 | </goals> |
| 82 | <phase>prepare-package</phase> |
| 83 | <configuration> |
| 84 | <transitive>false</transitive> |
| 85 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 86 | <overWriteReleases>false</overWriteReleases> |
| 87 | <overWriteSnapshots>true</overWriteSnapshots> |
| 88 | <overWriteIfNewer>true</overWriteIfNewer> |
| 89 | <useRepositoryLayout>true</useRepositoryLayout> |
| 90 | <addParentPoms>false</addParentPoms> |
| 91 | <copyPom>false</copyPom> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame] | 92 | <includeGroupIds>org.onap.ccsdk.sli.adaptors</includeGroupIds> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 93 | <scope>provided</scope> |
| 94 | </configuration> |
| 95 | </execution> |
| 96 | </executions> |
| 97 | </plugin> |
| 98 | <plugin> |
| 99 | <artifactId>maven-resources-plugin</artifactId> |
| 100 | <version>2.6</version> |
| 101 | <executions> |
| 102 | <execution> |
| 103 | <id>copy-version</id> |
| 104 | <goals> |
| 105 | <goal>copy-resources</goal> |
| 106 | </goals><!-- here the phase you need --> |
| 107 | <phase>validate</phase> |
| 108 | <configuration> |
| 109 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 110 | <resources> |
| 111 | <resource> |
| 112 | <directory>src/main/resources/scripts</directory> |
| 113 | <includes> |
| 114 | <include>install-feature.sh</include> |
| 115 | </includes> |
| 116 | <filtering>true</filtering> |
| 117 | </resource> |
| 118 | </resources> |
| 119 | </configuration> |
| 120 | </execution> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 121 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 122 | </executions> |
| 123 | </plugin> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 124 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 125 | </plugins> |
| 126 | </build> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 127 | </project> |