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