Release version 1.1.0 of sli/plugins
[ccsdk/sli/plugins.git] / grToolkit / installer / pom.xml
1 <?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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4
5     <parent>
6         <groupId>org.onap.ccsdk.parent</groupId>
7         <artifactId>odlparent-lite</artifactId>
8         <version>2.1.0</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.ccsdk.sli.plugins</groupId>
13     <artifactId>gr-toolkit-installer</artifactId>
14     <version>1.1.1-SNAPSHOT</version>
15     <packaging>pom</packaging>
16
17     <name>ccsdk-sli-plugins :: gr-toolkit :: ${project.artifactId}</name>
18
19     <properties>
20         <application.name>ccsdk-gr-toolkit</application.name>
21         <features.boot>${application.name}</features.boot>
22         <features.repositories>mvn:org.onap.ccsdk.sli.plugins/${features.boot}/${project.version}/xml/features</features.repositories>
23         <include.transitive.dependencies>false</include.transitive.dependencies>
24     </properties>
25
26     <dependencies>
27         <dependency>
28             <groupId>org.onap.ccsdk.sli.plugins</groupId>
29             <artifactId>gr-toolkit-provider</artifactId>
30             <version>${project.version}</version>
31         </dependency>
32         <dependency>
33             <groupId>org.onap.ccsdk.sli.plugins</groupId>
34             <artifactId>gr-toolkit-model</artifactId>
35             <version>${project.version}</version>
36         </dependency>
37     </dependencies>
38
39     <build>
40         <plugins>
41             <plugin>
42                 <artifactId>maven-assembly-plugin</artifactId>
43                 <version>2.6</version>
44                 <executions>
45                     <execution>
46                         <id>maven-repo-zip</id>
47                         <goals>
48                             <goal>single</goal>
49                         </goals>
50                         <phase>package</phase>
51                         <configuration>
52                             <attach>true</attach>
53                             <finalName>stage/${application.name}-${project.version}</finalName>
54                             <descriptors>
55                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
56                             </descriptors>
57                             <appendAssemblyId>true</appendAssemblyId>
58                         </configuration>
59                     </execution>
60                     <execution>
61                         <id>installer-zip</id>
62                         <goals>
63                             <goal>single</goal>
64                         </goals>
65                         <phase>package</phase>
66                         <configuration>
67                             <attach>true</attach>
68                             <finalName>${application.name}-${project.version}-installer</finalName>
69                             <descriptors>
70                                 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
71                             </descriptors>
72                             <appendAssemblyId>false</appendAssemblyId>
73                         </configuration>
74                     </execution>
75                 </executions>
76             </plugin>
77             <plugin>
78                 <groupId>org.apache.maven.plugins</groupId>
79                 <artifactId>maven-dependency-plugin</artifactId>
80                 <executions>
81                     <execution>
82                         <id>copy-dependencies</id>
83                         <goals>
84                             <goal>copy-dependencies</goal>
85                         </goals>
86                         <phase>prepare-package</phase>
87                         <configuration>
88                             <transitive>false</transitive>
89                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
90                             <overWriteReleases>false</overWriteReleases>
91                             <overWriteSnapshots>true</overWriteSnapshots>
92                             <overWriteIfNewer>true</overWriteIfNewer>
93                             <useRepositoryLayout>true</useRepositoryLayout>
94                             <addParentPoms>false</addParentPoms>
95                             <copyPom>false</copyPom>
96                             <includeGroupIds>org.onap.ccsdk.sli.plugins</includeGroupIds>
97                             <scope>provided</scope>
98                         </configuration>
99                     </execution>
100                 </executions>
101             </plugin>
102             <plugin>
103                 <artifactId>maven-resources-plugin</artifactId>
104                 <version>2.6</version>
105                 <executions>
106                     <execution>
107                         <id>copy-version</id>
108                         <goals>
109                             <goal>copy-resources</goal>
110                         </goals>
111                         <phase>validate</phase>
112                         <configuration>
113                             <outputDirectory>${basedir}/target/stage</outputDirectory>
114                             <resources>
115                                 <resource>
116                                     <directory>src/main/resources/scripts</directory>
117                                     <includes>
118                                         <include>install-feature.sh</include>
119                                     </includes>
120                                     <filtering>true</filtering>
121                                 </resource>
122                             </resources>
123                         </configuration>
124                     </execution>
125                 </executions>
126             </plugin>
127         </plugins>
128     </build>
129 </project>