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