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