Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <!--
|
| 3 | Copyright © 2017-2018 AT&T Intellectual Property.
|
| 4 | Modifications Copyright © 2018 IBM.
|
| 5 |
|
| 6 | Licensed under the Apache License, Version 2.0 (the "License");
|
| 7 | you may not use this file except in compliance with the License.
|
| 8 | You may obtain a copy of the License at
|
| 9 |
|
| 10 | http://www.apache.org/licenses/LICENSE-2.0
|
| 11 |
|
| 12 | Unless required by applicable law or agreed to in writing, software
|
| 13 | distributed under the License is distributed on an "AS IS" BASIS,
|
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 15 | See the License for the specific language governing permissions and
|
| 16 | limitations under the License.
|
| 17 | -->
|
| 18 |
|
| 19 | <project xmlns="http://maven.apache.org/POM/4.0.0"
|
| 20 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
| 21 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
| 22 | <modelVersion>4.0.0</modelVersion>
|
| 23 | <parent>
|
Alexis de Talhouët | ea45fbf | 2018-09-11 11:13:56 -0400 | [diff] [blame] | 24 | <groupId>org.onap.ccsdk.parent</groupId>
|
| 25 | <artifactId>odlparent-lite</artifactId>
|
Timoney, Dan (dt5972) | f5da531 | 2018-10-23 09:21:16 -0400 | [diff] [blame] | 26 | <version>1.2.0-SNAPSHOT</version>
|
Alexis de Talhouët | ea45fbf | 2018-09-11 11:13:56 -0400 | [diff] [blame] | 27 | <relativePath />
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 28 | </parent>
|
| 29 |
|
Timoney, Dan (dt5972) | b1dd3be | 2018-09-12 13:46:01 -0400 | [diff] [blame] | 30 | <groupId>org.onap.ccsdk.features</groupId>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 31 | <artifactId>blueprints-processor-installer</artifactId>
|
Timoney, Dan (dt5972) | f5da531 | 2018-10-23 09:21:16 -0400 | [diff] [blame] | 32 | <version>0.4.0-SNAPSHOT</version>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 33 | <packaging>pom</packaging>
|
| 34 | <name>Blueprints Processor :: ${project.artifactId}</name>
|
| 35 |
|
| 36 | <properties>
|
| 37 | <application.name>blueprints-processor</application.name>
|
| 38 | <features.boot>blueprints-processor-features</features.boot>
|
Singal, Kapil (ks220y) | 1f06d61 | 2018-09-07 10:06:06 -0400 | [diff] [blame] | 39 | <features.repositories>mvn:org.onap.ccsdk.features/ccsdk-features/blueprints-processor-features/${project.version}/xml/features</features.repositories>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 40 | <include.transitive.dependencies>false</include.transitive.dependencies>
|
| 41 | </properties>
|
| 42 |
|
| 43 | <dependencies>
|
| 44 | <dependency>
|
Timoney, Dan (dt5972) | b1dd3be | 2018-09-12 13:46:01 -0400 | [diff] [blame] | 45 | <groupId>org.onap.ccsdk.features</groupId>
|
Alexis de Talhouët | 78fc81b | 2018-09-11 14:38:13 -0400 | [diff] [blame] | 46 | <artifactId>ccsdk-blueprints-processor</artifactId>
|
Alexis de Talhouët | ea45fbf | 2018-09-11 11:13:56 -0400 | [diff] [blame] | 47 | <version>${project.version}</version>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 48 | <classifier>features</classifier>
|
| 49 | <type>xml</type>
|
| 50 | <exclusions>
|
| 51 | <exclusion>
|
| 52 | <groupId>*</groupId>
|
| 53 | <artifactId>*</artifactId>
|
| 54 | </exclusion>
|
| 55 | </exclusions>
|
| 56 | </dependency>
|
| 57 | <dependency>
|
Timoney, Dan (dt5972) | b1dd3be | 2018-09-12 13:46:01 -0400 | [diff] [blame] | 58 | <groupId>org.onap.ccsdk.features</groupId>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 59 | <artifactId>blueprints-data-adaptor-provider</artifactId>
|
Alexis de Talhouët | ea45fbf | 2018-09-11 11:13:56 -0400 | [diff] [blame] | 60 | <version>${project.version}</version>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 61 | </dependency>
|
| 62 | <dependency>
|
Timoney, Dan (dt5972) | b1dd3be | 2018-09-12 13:46:01 -0400 | [diff] [blame] | 63 | <groupId>org.onap.ccsdk.features</groupId>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 64 | <artifactId>blueprints-rest-adaptor-provider</artifactId>
|
Alexis de Talhouët | ea45fbf | 2018-09-11 11:13:56 -0400 | [diff] [blame] | 65 | <version>${project.version}</version>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 66 | </dependency>
|
| 67 | <dependency>
|
Timoney, Dan (dt5972) | b1dd3be | 2018-09-12 13:46:01 -0400 | [diff] [blame] | 68 | <groupId>org.onap.ccsdk.features</groupId>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 69 | <artifactId>blueprints-assignment-provider</artifactId>
|
Alexis de Talhouët | ea45fbf | 2018-09-11 11:13:56 -0400 | [diff] [blame] | 70 | <version>${project.version}</version>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 71 | </dependency>
|
| 72 | <dependency>
|
Timoney, Dan (dt5972) | b1dd3be | 2018-09-12 13:46:01 -0400 | [diff] [blame] | 73 | <groupId>org.onap.ccsdk.features</groupId>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 74 | <artifactId>blueprints-generator-provider</artifactId>
|
Alexis de Talhouët | ea45fbf | 2018-09-11 11:13:56 -0400 | [diff] [blame] | 75 | <version>${project.version}</version>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 76 | </dependency>
|
| 77 | <dependency>
|
Timoney, Dan (dt5972) | b1dd3be | 2018-09-12 13:46:01 -0400 | [diff] [blame] | 78 | <groupId>org.onap.ccsdk.features</groupId>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 79 | <artifactId>blueprints-model-provider</artifactId>
|
Alexis de Talhouët | ea45fbf | 2018-09-11 11:13:56 -0400 | [diff] [blame] | 80 | <version>${project.version}</version>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 81 | </dependency>
|
| 82 | </dependencies>
|
| 83 |
|
| 84 | <build>
|
| 85 | <plugins>
|
| 86 | <plugin>
|
| 87 | <artifactId>maven-assembly-plugin</artifactId>
|
| 88 | <executions>
|
| 89 | <execution>
|
| 90 | <id>maven-repo-zip</id>
|
| 91 | <goals>
|
| 92 | <goal>single</goal>
|
| 93 | </goals>
|
| 94 | <phase>package</phase>
|
| 95 | <configuration>
|
Alexis de Talhouët | ea45fbf | 2018-09-11 11:13:56 -0400 | [diff] [blame] | 96 | <attach>true</attach>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 97 | <finalName>stage/${application.name}-${project.version}</finalName>
|
| 98 | <descriptors>
|
| 99 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
|
| 100 | </descriptors>
|
Alexis de Talhouët | ea45fbf | 2018-09-11 11:13:56 -0400 | [diff] [blame] | 101 | <appendAssemblyId>true</appendAssemblyId>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 102 | </configuration>
|
| 103 | </execution>
|
| 104 | <execution>
|
| 105 | <id>installer-zip</id>
|
| 106 | <goals>
|
| 107 | <goal>single</goal>
|
| 108 | </goals>
|
| 109 | <phase>package</phase>
|
| 110 | <configuration>
|
| 111 | <attach>true</attach>
|
| 112 | <finalName>${application.name}-${project.version}-installer</finalName>
|
| 113 | <descriptors>
|
| 114 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
|
| 115 | </descriptors>
|
| 116 | <appendAssemblyId>false</appendAssemblyId>
|
| 117 | </configuration>
|
| 118 | </execution>
|
| 119 | </executions>
|
| 120 | </plugin>
|
| 121 | <plugin>
|
| 122 | <groupId>org.apache.maven.plugins</groupId>
|
| 123 | <artifactId>maven-dependency-plugin</artifactId>
|
| 124 | <executions>
|
| 125 | <execution>
|
| 126 | <id>copy-dependencies</id>
|
| 127 | <goals>
|
| 128 | <goal>copy-dependencies</goal>
|
| 129 | </goals>
|
| 130 | <phase>prepare-package</phase>
|
| 131 | <configuration>
|
| 132 | <transitive>false</transitive>
|
| 133 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
|
| 134 | <overWriteReleases>false</overWriteReleases>
|
| 135 | <overWriteSnapshots>true</overWriteSnapshots>
|
| 136 | <overWriteIfNewer>true</overWriteIfNewer>
|
| 137 | <useRepositoryLayout>true</useRepositoryLayout>
|
| 138 | <addParentPoms>false</addParentPoms>
|
| 139 | <copyPom>false</copyPom>
|
Timoney, Dan (dt5972) | b1dd3be | 2018-09-12 13:46:01 -0400 | [diff] [blame] | 140 | <includeGroupIds>org.onap.ccsdk.features</includeGroupIds>
|
Singal, Kapil (ks220y) | f086bce | 2018-09-04 23:41:26 -0400 | [diff] [blame] | 141 | <scope>provided</scope>
|
| 142 | </configuration>
|
| 143 | </execution>
|
| 144 | </executions>
|
| 145 | </plugin>
|
| 146 | <plugin>
|
| 147 | <artifactId>maven-resources-plugin</artifactId>
|
| 148 | <version>2.6</version>
|
| 149 | <executions>
|
| 150 | <execution>
|
| 151 | <id>copy-version</id>
|
| 152 | <goals>
|
| 153 | <goal>copy-resources</goal>
|
| 154 | </goals><!-- here the phase you need -->
|
| 155 | <phase>validate</phase>
|
| 156 | <configuration>
|
| 157 | <outputDirectory>${basedir}/target/stage</outputDirectory>
|
| 158 | <resources>
|
| 159 | <resource>
|
| 160 | <directory>src/main/resources/scripts</directory>
|
| 161 | <includes>
|
| 162 | <include>install-feature.sh</include>
|
| 163 | </includes>
|
| 164 | <filtering>true</filtering>
|
| 165 | </resource>
|
| 166 | </resources>
|
| 167 | </configuration>
|
| 168 | </execution>
|
| 169 | </executions>
|
| 170 | </plugin>
|
| 171 | </plugins>
|
| 172 | </build>
|
| 173 | </project>
|