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