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