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> |
| 27 | <parent> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 28 | <groupId>org.onap.appc</groupId> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 29 | <artifactId>appc-sequence-generator</artifactId> |
Patrick Brady | 84d0a25 | 2018-05-22 10:42:55 -0700 | [diff] [blame] | 30 | <version>1.4.0-SNAPSHOT</version> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 31 | </parent> |
| 32 | <artifactId>appc-sequence-generator-installer</artifactId> |
| 33 | <name>Appc Sequence Generator : Karaf Installer</name> |
| 34 | <packaging>pom</packaging> |
| 35 | |
| 36 | <properties> |
| 37 | <application.name>appc-sequence-generator</application.name> |
| 38 | <features.boot>appc-sequence-generator</features.boot> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 39 | <features.repositories>mvn:org.onap.appc/appc-sequence-generator-features/${project.version}/xml/features</features.repositories> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 40 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 41 | </properties> |
| 42 | |
| 43 | <dependencies> |
| 44 | |
| 45 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 46 | <groupId>org.onap.appc</groupId> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 47 | <artifactId>appc-sequence-generator-features</artifactId> |
| 48 | <version>${project.version}</version> |
| 49 | <classifier>features</classifier> |
| 50 | <type>xml</type> |
| 51 | <exclusions> |
| 52 | <exclusion> |
| 53 | <groupId>*</groupId> |
| 54 | <artifactId>*</artifactId> |
| 55 | </exclusion> |
| 56 | </exclusions> |
| 57 | </dependency> |
| 58 | |
| 59 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 60 | <groupId>org.onap.appc</groupId> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 61 | <artifactId>appc-sequence-generator-bundle</artifactId> |
| 62 | <version>${project.version}</version> |
| 63 | </dependency> |
| 64 | |
| 65 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 66 | <groupId>org.onap.appc</groupId> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 67 | <artifactId>appc-sequence-generator-bundle</artifactId> |
| 68 | <classifier>config</classifier> |
| 69 | <version>${project.version}</version> |
| 70 | <type>xml</type> |
| 71 | </dependency> |
| 72 | |
| 73 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 74 | <groupId>org.onap.appc</groupId> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 75 | <artifactId>appc-sequence-generator-model</artifactId> |
| 76 | <version>${project.version}</version> |
| 77 | <!--<type>properties</type>--> |
| 78 | </dependency> |
| 79 | |
| 80 | </dependencies> |
| 81 | |
| 82 | <build> |
| 83 | <plugins> |
| 84 | <plugin> |
| 85 | <artifactId>maven-assembly-plugin</artifactId> |
| 86 | <executions> |
| 87 | <execution> |
| 88 | <id>maven-repo-zip</id> |
| 89 | <goals> |
| 90 | <goal>single</goal> |
| 91 | </goals> |
| 92 | <phase>package</phase> |
| 93 | <configuration> |
| 94 | <appendAssemblyId>false</appendAssemblyId> |
| 95 | <attach>false</attach> |
| 96 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 97 | <descriptors> |
| 98 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 99 | </descriptors> |
| 100 | </configuration> |
| 101 | </execution> |
| 102 | <execution> |
| 103 | <id>installer-zip</id> |
| 104 | <goals> |
| 105 | <goal>single</goal> |
| 106 | </goals> |
| 107 | <phase>package</phase> |
| 108 | <configuration> |
| 109 | <appendAssemblyId>false</appendAssemblyId> |
| 110 | <attach>true</attach> |
| 111 | <finalName>${application.name}-${project.version}</finalName> |
| 112 | <descriptors> |
| 113 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 114 | </descriptors> |
| 115 | </configuration> |
| 116 | </execution> |
| 117 | </executions> |
| 118 | </plugin> |
| 119 | <plugin> |
| 120 | <groupId>org.apache.maven.plugins</groupId> |
| 121 | <artifactId>maven-dependency-plugin</artifactId> |
| 122 | <executions> |
| 123 | <execution> |
| 124 | <id>copy-dependencies</id> |
| 125 | <goals> |
| 126 | <goal>copy-dependencies</goal> |
| 127 | </goals> |
| 128 | <phase>prepare-package</phase> |
| 129 | <configuration> |
| 130 | <transitive>false</transitive> |
| 131 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 132 | <overWriteReleases>false</overWriteReleases> |
| 133 | <overWriteSnapshots>true</overWriteSnapshots> |
| 134 | <overWriteIfNewer>true</overWriteIfNewer> |
| 135 | <useRepositoryLayout>true</useRepositoryLayout> |
| 136 | <addParentPoms>false</addParentPoms> |
| 137 | <copyPom>false</copyPom> |
| 138 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 139 | <scope>provided</scope> |
| 140 | </configuration> |
| 141 | </execution> |
| 142 | </executions> |
| 143 | </plugin> |
| 144 | <plugin> |
| 145 | <artifactId>maven-resources-plugin</artifactId> |
| 146 | <executions> |
| 147 | <execution> |
| 148 | <id>copy-version</id> |
| 149 | <goals> |
| 150 | <goal>copy-resources</goal> |
| 151 | </goals> |
| 152 | <!-- here the phase you need --> |
| 153 | <phase>validate</phase> |
| 154 | <configuration> |
| 155 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 156 | <resources> |
| 157 | <resource> |
| 158 | <directory>src/main/resources/scripts</directory> |
| 159 | <includes> |
| 160 | <include>install-feature.sh</include> |
| 161 | </includes> |
| 162 | <filtering>true</filtering> |
| 163 | </resource> |
| 164 | </resources> |
| 165 | </configuration> |
| 166 | </execution> |
| 167 | </executions> |
| 168 | </plugin> |
| 169 | </plugins> |
| 170 | </build> |
Kalpesh Chaniyara | a51cfa5 | 2017-08-29 04:38:52 -0400 | [diff] [blame] | 171 | </project> |