blob: 718642c80ce742ab073a53c2a3bec75abf84665a [file] [log] [blame]
CLAPP, GEORGE H (gc731h)10cd6192018-07-06 20:12:26 +00001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)4a46ddd2019-01-08 14:20:28 -05002<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">
CLAPP, GEORGE H (gc731h)026500f2018-07-19 20:14:51 +00003 <modelVersion>4.0.0</modelVersion>
CLAPP, GEORGE H (gc731h)10cd6192018-07-06 20:12:26 +00004
CLAPP, GEORGE H (gc731h)026500f2018-07-19 20:14:51 +00005 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)528f6392019-03-19 18:29:32 -04008 <version>1.2.2-SNAPSHOT</version>
Timoney, Dan (dt5972)4a46ddd2019-01-08 14:20:28 -05009 <relativePath/>
CLAPP, GEORGE H (gc731h)026500f2018-07-19 20:14:51 +000010 </parent>
CLAPP, GEORGE H (gc731h)10cd6192018-07-06 20:12:26 +000011
CLAPP, GEORGE H (gc731h)026500f2018-07-19 20:14:51 +000012 <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
13 <artifactId>energysavings-installer</artifactId>
14 <version>0.2.4-SNAPSHOT</version>
15 <packaging>pom</packaging>
CLAPP, GEORGE H (gc731h)10cd6192018-07-06 20:12:26 +000016
CLAPP, GEORGE H (gc731h)026500f2018-07-19 20:14:51 +000017 <name>ccsdk-features-sdnr-northbound :: energysavings :: ${project.artifactId}</name>
CLAPP, GEORGE H (gc731h)10cd6192018-07-06 20:12:26 +000018
CLAPP, GEORGE H (gc731h)026500f2018-07-19 20:14:51 +000019 <properties>
20 <application.name>ccsdk-energysavings</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.features.sdnr.northbound/${features.boot}/${project.version}/xml/features</features.repositories>
23 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
CLAPP, GEORGE H (gc731h)10cd6192018-07-06 20:12:26 +000025
CLAPP, GEORGE H (gc731h)026500f2018-07-19 20:14:51 +000026 <dependencies>
27 <dependency>
28 <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
29 <artifactId>energysavings-model</artifactId>
30 <version>${project.version}</version>
31 </dependency>
32 <dependency>
33 <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
34 <artifactId>energysavings-provider</artifactId>
35 <version>${project.version}</version>
36 </dependency>
37 <dependency>
38 <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
39 <artifactId>energysavings-features</artifactId>
40 <version>${project.version}</version>
41 <type>xml</type>
42 <classifier>features</classifier>
43 </dependency>
44 </dependencies>
45
46 <build>
47 <plugins>
48 <plugin>
49 <artifactId>maven-assembly-plugin</artifactId>
50 <executions>
51 <execution>
52 <id>maven-repo-zip</id>
53 <goals>
54 <goal>single</goal>
55 </goals>
56 <phase>package</phase>
57 <configuration>
58 <attach>false</attach>
59 <finalName>stage/${application.name}-${project.version}</finalName>
60 <descriptors>
61 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
62 </descriptors>
63 <appendAssemblyId>false</appendAssemblyId>
64 </configuration>
65 </execution>
66 <execution>
67 <id>installer-zip</id>
68 <goals>
69 <goal>single</goal>
70 </goals>
71 <phase>package</phase>
72 <configuration>
73 <attach>true</attach>
74 <finalName>${application.name}-${project.version}-installer</finalName>
75 <descriptors>
76 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
77 </descriptors>
78 <appendAssemblyId>false</appendAssemblyId>
79 </configuration>
80 </execution>
81 </executions>
82 </plugin>
83 <plugin>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-dependency-plugin</artifactId>
86 <executions>
87 <execution>
88 <id>copy-dependencies</id>
89 <goals>
90 <goal>copy-dependencies</goal>
91 </goals>
92 <phase>prepare-package</phase>
93 <configuration>
94 <transitive>false</transitive>
95 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
96 <overWriteReleases>false</overWriteReleases>
97 <overWriteSnapshots>true</overWriteSnapshots>
98 <overWriteIfNewer>true</overWriteIfNewer>
99 <useRepositoryLayout>true</useRepositoryLayout>
100 <addParentPoms>false</addParentPoms>
101 <copyPom>false</copyPom>
102 <includeArtifactIds>energysavings-model,energysavings-provider,energysavings-features</includeArtifactIds>
103 </configuration>
104 </execution>
105 </executions>
106 </plugin>
107 <plugin>
108 <artifactId>maven-resources-plugin</artifactId>
109 <version>2.6</version>
110 <executions>
111 <execution>
112 <id>copy-version</id>
113 <goals>
114 <goal>copy-resources</goal>
115 </goals><!-- here the phase you need -->
116 <phase>validate</phase>
117 <configuration>
118 <outputDirectory>${basedir}/target/stage</outputDirectory>
119 <resources>
120 <resource>
121 <directory>src/main/resources/scripts</directory>
122 <includes>
123 <include>install-feature.sh</include>
124 </includes>
125 <filtering>true</filtering>
126 </resource>
127 </resources>
128 </configuration>
129 </execution>
130 </executions>
131 </plugin>
132 </plugins>
133 </build>
CLAPP, GEORGE H (gc731h)10cd6192018-07-06 20:12:26 +0000134</project>