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> |
Timoney, Dan (dt5972) | 4caeb14 | 2018-03-02 13:10:30 -0500 | [diff] [blame^] | 10 | <relativePath /> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 11 | </parent> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame] | 12 | |
| 13 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 14 | <artifactId>resource-assignment-installer</artifactId> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame] | 15 | <version>0.2.1-SNAPSHOT</version> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 16 | <packaging>pom</packaging> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 17 | |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame] | 18 | <name>ccsdk-sli-adaptors :: resource-assignment :: ${project.artifactId}</name> |
| 19 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 20 | <properties> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame] | 21 | <application.name>ccsdk-resource-assignment</application.name> |
| 22 | <features.boot>${application.name}</features.boot> |
| 23 | <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] | 24 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 25 | </properties> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 26 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 27 | <dependencies> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 28 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 29 | <dependency> |
| 30 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame] | 31 | <artifactId>ccsdk-resource-assignment</artifactId> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 32 | <version>${project.version}</version> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 33 | <type>xml</type> |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame] | 34 | <classifier>features</classifier> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 35 | <exclusions> |
| 36 | <exclusion> |
| 37 | <groupId>*</groupId> |
| 38 | <artifactId>*</artifactId> |
| 39 | </exclusion> |
| 40 | </exclusions> |
| 41 | </dependency> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 42 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 43 | <dependency> |
| 44 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 45 | <artifactId>resource-assignment-provider</artifactId> |
| 46 | <version>${project.version}</version> |
| 47 | </dependency> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 48 | |
Dan Timoney | 8a3f1ea | 2018-02-16 17:12:41 -0500 | [diff] [blame] | 49 | <dependency> |
| 50 | <groupId>org.springframework</groupId> |
| 51 | <artifactId>spring-beans</artifactId> |
| 52 | <version>${spring.version}</version> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.springframework</groupId> |
| 56 | <artifactId>spring-context</artifactId> |
| 57 | <version>${spring.version}</version> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.springframework</groupId> |
| 61 | <artifactId>spring-jdbc</artifactId> |
| 62 | <version>${spring.version}</version> |
| 63 | </dependency> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 64 | </dependencies> |
Dan Timoney | 5363b27 | 2017-07-18 20:23:07 -0400 | [diff] [blame] | 65 | |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 66 | <build> |
| 67 | <plugins> |
| 68 | <plugin> |
| 69 | <artifactId>maven-assembly-plugin</artifactId> |
| 70 | <version>2.6</version> |
| 71 | <executions> |
| 72 | <execution> |
| 73 | <id>maven-repo-zip</id> |
| 74 | <goals> |
| 75 | <goal>single</goal> |
| 76 | </goals> |
| 77 | <phase>package</phase> |
| 78 | <configuration> |
| 79 | <attach>false</attach> |
| 80 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 81 | <descriptors> |
| 82 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 83 | </descriptors> |
| 84 | <appendAssemblyId>false</appendAssemblyId> |
| 85 | </configuration> |
| 86 | </execution> |
| 87 | <execution> |
| 88 | <id>installer-zip</id> |
| 89 | <goals> |
| 90 | <goal>single</goal> |
| 91 | </goals> |
| 92 | <phase>package</phase> |
| 93 | <configuration> |
| 94 | <attach>true</attach> |
| 95 | <finalName>${application.name}-${project.version}-installer</finalName> |
| 96 | <descriptors> |
| 97 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 98 | </descriptors> |
| 99 | <appendAssemblyId>false</appendAssemblyId> |
| 100 | </configuration> |
| 101 | </execution> |
| 102 | </executions> |
| 103 | </plugin> |
| 104 | <plugin> |
| 105 | <groupId>org.apache.maven.plugins</groupId> |
| 106 | <artifactId>maven-dependency-plugin</artifactId> |
| 107 | <executions> |
| 108 | <execution> |
| 109 | <id>copy-dependencies</id> |
| 110 | <goals> |
| 111 | <goal>copy-dependencies</goal> |
| 112 | </goals> |
| 113 | <phase>prepare-package</phase> |
| 114 | <configuration> |
| 115 | <transitive>false</transitive> |
| 116 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 117 | <overWriteReleases>false</overWriteReleases> |
| 118 | <overWriteSnapshots>true</overWriteSnapshots> |
| 119 | <overWriteIfNewer>true</overWriteIfNewer> |
| 120 | <useRepositoryLayout>true</useRepositoryLayout> |
| 121 | <addParentPoms>false</addParentPoms> |
| 122 | <copyPom>false</copyPom> |
Dan Timoney | f8b4267 | 2018-02-27 13:35:58 -0500 | [diff] [blame] | 123 | <includeGroupIds>org.onap.ccsdk.sli.adaptors</includeGroupIds> |
Marcus G K Williams | 806052b | 2017-08-02 15:09:24 -0700 | [diff] [blame] | 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> |