blob: 5bdd81b26acfbcc90ebeb155adafa81ed547221c [file] [log] [blame]
Timoney, Dan (dt5972)c9b19bb2018-07-17 11:23:42 -04001<?xml version="1.0" encoding="UTF-8"?>
2<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>
5
6 <parent>
7 <groupId>org.onap.ccsdk.parent</groupId>
8 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)521aefc2018-10-02 12:49:28 -04009 <version>1.1.1-SNAPSHOT</version>
Timoney, Dan (dt5972)c9b19bb2018-07-17 11:23:42 -040010 <relativePath />
11 </parent>
12
13 <groupId>org.onap.sdnc.northbound</groupId>
14 <artifactId>sdnc-northbound-features-installer</artifactId>
Timoney, Dan (dt5972)521aefc2018-10-02 12:49:28 -040015 <version>1.4.1-SNAPSHOT</version>
Timoney, Dan (dt5972)c9b19bb2018-07-17 11:23:42 -040016 <packaging>pom</packaging>
17
18 <name>sdnc-northbound :: features :: ${project.artifactId}</name>
19
20 <properties>
21 <application.name>sdnc-northbound-all</application.name>
22 <features.boot>${application.name}</features.boot>
23 <features.repositories>mvn:org.onap.sdnc.northbound/${features.boot}/${project.version}/xml/features</features.repositories>
24 <include.transitive.dependencies>false</include.transitive.dependencies>
25 </properties>
26
27 <dependencies>
28
29 <dependency>
30 <groupId>org.onap.sdnc.northbound</groupId>
31 <artifactId>${application.name}</artifactId>
32 <version>${project.version}</version>
33 <type>xml</type>
34 <classifier>features</classifier>
35 <exclusions>
36 <exclusion>
37 <groupId>*</groupId>
38 <artifactId>*</artifactId>
39 </exclusion>
40 </exclusions>
41 </dependency>
42
43
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>true</attach>
59 <finalName>stage/${application.name}-${project.version}</finalName>
60 <descriptors>
61 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
62 </descriptors>
63 <appendAssemblyId>true</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 <includeGroupIds>org.onap.sdnc.northbound</includeGroupIds>
103 <scope>provided</scope>
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
132 </executions>
133 </plugin>
134
135 </plugins>
136 </build>
137</project>