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