Alexis de Talhouët | d10de42 | 2018-08-15 14:29:07 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2018 AT&T, 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) | 21ec655 | 2019-01-08 12:14:12 -0500 | [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"> |
Alexis de Talhouët | d10de42 | 2018-08-15 14:29:07 -0400 | [diff] [blame] | 18 | <modelVersion>4.0.0</modelVersion> |
| 19 | |
| 20 | <parent> |
Dan Timoney | 5de8196 | 2021-01-26 13:15:47 -0500 | [diff] [blame] | 21 | <groupId>org.onap.ccsdk.parent</groupId> |
| 22 | <artifactId>odlparent-lite</artifactId> |
Dan Timoney | ac0e0c9 | 2024-08-07 16:48:23 -0400 | [diff] [blame] | 23 | <version>2.8.0-SNAPSHOT</version> |
Dan Timoney | 5de8196 | 2021-01-26 13:15:47 -0500 | [diff] [blame] | 24 | <relativePath/> |
Alexis de Talhouët | d10de42 | 2018-08-15 14:29:07 -0400 | [diff] [blame] | 25 | </parent> |
| 26 | |
| 27 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 28 | <artifactId>netbox-client-installer</artifactId> |
Dan Timoney | ac0e0c9 | 2024-08-07 16:48:23 -0400 | [diff] [blame] | 29 | <version>1.9.0-SNAPSHOT</version> |
Alexis de Talhouët | d10de42 | 2018-08-15 14:29:07 -0400 | [diff] [blame] | 30 | <packaging>pom</packaging> |
| 31 | |
Singal, Kapil (ks220y) | 94f4b9b | 2021-03-02 20:00:49 -0500 | [diff] [blame] | 32 | <name>ccsdk-sli-adaptors :: ${project.artifactId}</name> |
Alexis de Talhouët | d10de42 | 2018-08-15 14:29:07 -0400 | [diff] [blame] | 33 | |
| 34 | <properties> |
Alexis de Talhouët | e2b2138 | 2018-08-21 11:29:49 -0400 | [diff] [blame] | 35 | <application.name>ccsdk-netbox-client</application.name> |
Alexis de Talhouët | d10de42 | 2018-08-15 14:29:07 -0400 | [diff] [blame] | 36 | <features.boot>${application.name}</features.boot> |
Alexis de Talhouët | e2b2138 | 2018-08-21 11:29:49 -0400 | [diff] [blame] | 37 | <features.repositories>mvn:org.onap.ccsdk.sli.adaptors/${features.boot}/${project.version}/xml/features</features.repositories> |
Alexis de Talhouët | d10de42 | 2018-08-15 14:29:07 -0400 | [diff] [blame] | 38 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 39 | </properties> |
| 40 | |
| 41 | <dependencies> |
| 42 | |
Alexis de Talhouët | d10de42 | 2018-08-15 14:29:07 -0400 | [diff] [blame] | 43 | <dependency> |
| 44 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 45 | <artifactId>netbox-client-provider</artifactId> |
| 46 | <version>${project.version}</version> |
| 47 | </dependency> |
Alexis de Talhouët | e2b2138 | 2018-08-21 11:29:49 -0400 | [diff] [blame] | 48 | |
Alexis de Talhouët | d10de42 | 2018-08-15 14:29:07 -0400 | [diff] [blame] | 49 | </dependencies> |
| 50 | |
| 51 | <build> |
| 52 | <plugins> |
| 53 | <plugin> |
| 54 | <artifactId>maven-assembly-plugin</artifactId> |
| 55 | <version>2.6</version> |
| 56 | <executions> |
| 57 | <execution> |
| 58 | <id>maven-repo-zip</id> |
| 59 | <goals> |
| 60 | <goal>single</goal> |
| 61 | </goals> |
| 62 | <phase>package</phase> |
| 63 | <configuration> |
Alexis de Talhouët | e2b2138 | 2018-08-21 11:29:49 -0400 | [diff] [blame] | 64 | <attach>true</attach> |
Alexis de Talhouët | d10de42 | 2018-08-15 14:29:07 -0400 | [diff] [blame] | 65 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 66 | <descriptors> |
| 67 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 68 | </descriptors> |
Alexis de Talhouët | e2b2138 | 2018-08-21 11:29:49 -0400 | [diff] [blame] | 69 | <appendAssemblyId>true</appendAssemblyId> |
Alexis de Talhouët | d10de42 | 2018-08-15 14:29:07 -0400 | [diff] [blame] | 70 | </configuration> |
| 71 | </execution> |
| 72 | <execution> |
| 73 | <id>installer-zip</id> |
| 74 | <goals> |
| 75 | <goal>single</goal> |
| 76 | </goals> |
| 77 | <phase>package</phase> |
| 78 | <configuration> |
| 79 | <attach>true</attach> |
| 80 | <finalName>${application.name}-${project.version}-installer</finalName> |
| 81 | <descriptors> |
| 82 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 83 | </descriptors> |
| 84 | <appendAssemblyId>false</appendAssemblyId> |
| 85 | </configuration> |
| 86 | </execution> |
| 87 | </executions> |
| 88 | </plugin> |
| 89 | <plugin> |
| 90 | <groupId>org.apache.maven.plugins</groupId> |
| 91 | <artifactId>maven-dependency-plugin</artifactId> |
| 92 | <executions> |
| 93 | <execution> |
| 94 | <id>copy-dependencies</id> |
| 95 | <goals> |
| 96 | <goal>copy-dependencies</goal> |
| 97 | </goals> |
| 98 | <phase>prepare-package</phase> |
| 99 | <configuration> |
| 100 | <transitive>false</transitive> |
| 101 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 102 | <overWriteReleases>false</overWriteReleases> |
| 103 | <overWriteSnapshots>true</overWriteSnapshots> |
| 104 | <overWriteIfNewer>true</overWriteIfNewer> |
| 105 | <useRepositoryLayout>true</useRepositoryLayout> |
| 106 | <addParentPoms>false</addParentPoms> |
| 107 | <copyPom>false</copyPom> |
Alexis de Talhouët | e2b2138 | 2018-08-21 11:29:49 -0400 | [diff] [blame] | 108 | <includeGroupIds>org.onap.ccsdk.sli.adaptors</includeGroupIds> |
Alexis de Talhouët | d10de42 | 2018-08-15 14:29:07 -0400 | [diff] [blame] | 109 | <scope>provided</scope> |
| 110 | </configuration> |
| 111 | </execution> |
| 112 | </executions> |
| 113 | </plugin> |
| 114 | <plugin> |
| 115 | <artifactId>maven-resources-plugin</artifactId> |
| 116 | <version>2.6</version> |
| 117 | <executions> |
| 118 | <execution> |
| 119 | <id>copy-version</id> |
| 120 | <goals> |
| 121 | <goal>copy-resources</goal> |
| 122 | </goals><!-- here the phase you need --> |
| 123 | <phase>validate</phase> |
| 124 | <configuration> |
| 125 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 126 | <resources> |
| 127 | <resource> |
| 128 | <directory>src/main/resources/scripts</directory> |
| 129 | <includes> |
| 130 | <include>install-feature.sh</include> |
| 131 | </includes> |
| 132 | <filtering>true</filtering> |
| 133 | </resource> |
| 134 | </resources> |
| 135 | </configuration> |
| 136 | </execution> |
| 137 | |
| 138 | </executions> |
| 139 | </plugin> |
| 140 | |
| 141 | </plugins> |
| 142 | </build> |
| 143 | </project> |