Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame^] | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | 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] | 4 | <modelVersion>4.0.0</modelVersion> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame^] | 5 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 6 | <parent> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame^] | 7 | <groupId>org.onap.ccsdk.parent</groupId> |
| 8 | <artifactId>odlparent-lite</artifactId> |
| 9 | <version>1.0.1-SNAPSHOT</version> |
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 | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame^] | 14 | <version>0.2.1-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 | |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame^] | 17 | <name>ccsdk-sli-adaptors :: resource-assignment :: ${project.artifactId}</name> |
| 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> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame^] | 30 | <artifactId>ccsdk-resource-assignment</artifactId> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 31 | <version>${project.version}</version> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 32 | <type>xml</type> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame^] | 33 | <classifier>features</classifier> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 34 | <exclusions> |
| 35 | <exclusion> |
| 36 | <groupId>*</groupId> |
| 37 | <artifactId>*</artifactId> |
| 38 | </exclusion> |
| 39 | </exclusions> |
| 40 | </dependency> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 41 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 42 | <dependency> |
| 43 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 44 | <artifactId>resource-assignment-provider</artifactId> |
| 45 | <version>${project.version}</version> |
| 46 | </dependency> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 47 | |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame^] | 48 | <dependency> |
| 49 | <groupId>org.springframework</groupId> |
| 50 | <artifactId>spring-beans</artifactId> |
| 51 | <version>${spring.version}</version> |
| 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>org.springframework</groupId> |
| 55 | <artifactId>spring-context</artifactId> |
| 56 | <version>${spring.version}</version> |
| 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>org.springframework</groupId> |
| 60 | <artifactId>spring-jdbc</artifactId> |
| 61 | <version>${spring.version}</version> |
| 62 | </dependency> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 63 | </dependencies> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 64 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 65 | <build> |
| 66 | <plugins> |
| 67 | <plugin> |
| 68 | <artifactId>maven-assembly-plugin</artifactId> |
| 69 | <version>2.6</version> |
| 70 | <executions> |
| 71 | <execution> |
| 72 | <id>maven-repo-zip</id> |
| 73 | <goals> |
| 74 | <goal>single</goal> |
| 75 | </goals> |
| 76 | <phase>package</phase> |
| 77 | <configuration> |
| 78 | <attach>false</attach> |
| 79 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 80 | <descriptors> |
| 81 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 82 | </descriptors> |
| 83 | <appendAssemblyId>false</appendAssemblyId> |
| 84 | </configuration> |
| 85 | </execution> |
| 86 | <execution> |
| 87 | <id>installer-zip</id> |
| 88 | <goals> |
| 89 | <goal>single</goal> |
| 90 | </goals> |
| 91 | <phase>package</phase> |
| 92 | <configuration> |
| 93 | <attach>true</attach> |
| 94 | <finalName>${application.name}-${project.version}-installer</finalName> |
| 95 | <descriptors> |
| 96 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 97 | </descriptors> |
| 98 | <appendAssemblyId>false</appendAssemblyId> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | </executions> |
| 102 | </plugin> |
| 103 | <plugin> |
| 104 | <groupId>org.apache.maven.plugins</groupId> |
| 105 | <artifactId>maven-dependency-plugin</artifactId> |
| 106 | <executions> |
| 107 | <execution> |
| 108 | <id>copy-dependencies</id> |
| 109 | <goals> |
| 110 | <goal>copy-dependencies</goal> |
| 111 | </goals> |
| 112 | <phase>prepare-package</phase> |
| 113 | <configuration> |
| 114 | <transitive>false</transitive> |
| 115 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 116 | <overWriteReleases>false</overWriteReleases> |
| 117 | <overWriteSnapshots>true</overWriteSnapshots> |
| 118 | <overWriteIfNewer>true</overWriteIfNewer> |
| 119 | <useRepositoryLayout>true</useRepositoryLayout> |
| 120 | <addParentPoms>false</addParentPoms> |
| 121 | <copyPom>false</copyPom> |
| 122 | <includeGroupIds>org.onap.ccsdk</includeGroupIds> |
| 123 | <excludeArtifactIds>sli-common,sli-provider,dblib-provider</excludeArtifactIds> |
| 124 | <scope>provided</scope> |
| 125 | </configuration> |
| 126 | </execution> |
| 127 | </executions> |
| 128 | </plugin> |
| 129 | <plugin> |
| 130 | <artifactId>maven-resources-plugin</artifactId> |
| 131 | <version>2.6</version> |
| 132 | <executions> |
| 133 | <execution> |
| 134 | <id>copy-version</id> |
| 135 | <goals> |
| 136 | <goal>copy-resources</goal> |
| 137 | </goals><!-- here the phase you need --> |
| 138 | <phase>validate</phase> |
| 139 | <configuration> |
| 140 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 141 | <resources> |
| 142 | <resource> |
| 143 | <directory>src/main/resources/scripts</directory> |
| 144 | <includes> |
| 145 | <include>install-feature.sh</include> |
| 146 | </includes> |
| 147 | <filtering>true</filtering> |
| 148 | </resource> |
| 149 | </resources> |
| 150 | </configuration> |
| 151 | </execution> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 152 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 153 | </executions> |
| 154 | </plugin> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 155 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 156 | </plugins> |
| 157 | </build> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 158 | </project> |