Roll to initial Dublin snapshot
[ccsdk/distribution.git] / platform-logic / 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.distribution</groupId>
7         <artifactId>distribution-platform-logic</artifactId>
8         <version>0.4.0-SNAPSHOT</version>
9     </parent>
10
11     <artifactId>platform-logic-installer</artifactId>
12     <version>0.4.0-SNAPSHOT</version>
13     <packaging>pom</packaging>
14
15     <name>ccsdk-distribution :: platform-logic :: ${project.artifactId}</name>
16     <description>Contains platform-level service logic installer</description>
17
18     <dependencies>
19         <dependency>
20             <groupId>org.slf4j</groupId>
21             <artifactId>slf4j-api</artifactId>
22             <version>${slf4j.version}</version>
23         </dependency>
24         <dependency>
25             <groupId>org.slf4j</groupId>
26             <artifactId>slf4j-simple</artifactId>
27             <version>${slf4j.version}</version>
28         </dependency>
29         <dependency>
30             <groupId>org.onap.ccsdk.sli.core</groupId>
31             <artifactId>sli-common</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.antlr</groupId>
35             <artifactId>antlr4</artifactId>
36             <version>${antlr.version}</version>
37         </dependency>
38         <dependency>
39             <groupId>org.mariadb.jdbc</groupId>
40             <artifactId>mariadb-java-client</artifactId>
41             <version>${mariadb.connector.version}</version>
42         </dependency>
43     </dependencies>
44
45     <build>
46         <plugins>
47             <plugin>
48                 <artifactId>maven-resources-plugin</artifactId>
49                 <version>2.6</version>
50                 <executions>
51                     <execution>
52                         <id>copy-version</id>
53                         <goals>
54                             <goal>copy-resources</goal>
55                         </goals><!-- here the phase you need -->
56                         <phase>validate</phase>
57                         <configuration>
58                             <outputDirectory>target/resources</outputDirectory>
59                             <resources>
60                                 <resource>
61                                     <directory>src/main/resources</directory>
62                                     <includes>
63                                         <include>*</include>
64                                     </includes>
65                                     <filtering>true</filtering>
66                                 </resource>
67                             </resources>
68                         </configuration>
69                     </execution>
70                 </executions>
71             </plugin>
72             <plugin>
73                 <artifactId>maven-assembly-plugin</artifactId>
74                 <version>2.6</version>
75                 <executions>
76                     <execution>
77                         <id>create-zip</id>
78                         <goals>
79                             <goal>single</goal>
80                         </goals>
81                         <phase>package</phase>
82                         <configuration>
83                             <attach>true</attach>
84                             <descriptors>
85                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
86                             </descriptors>
87                             <appendAssemblyId>false</appendAssemblyId>
88                         </configuration>
89                     </execution>
90
91                 </executions>
92             </plugin>
93             <plugin>
94                 <groupId>org.apache.maven.plugins</groupId>
95                 <artifactId>maven-dependency-plugin</artifactId>
96                 <executions>
97                     <execution>
98                         <id>copy-dependencies</id>
99                         <goals>
100                             <goal>copy-dependencies</goal>
101                         </goals>
102                         <phase>prepare-package</phase>
103                         <configuration>
104                             <transitive>false</transitive>
105                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
106                             <overWriteReleases>false</overWriteReleases>
107                             <overWriteSnapshots>true</overWriteSnapshots>
108                             <overWriteIfNewer>true</overWriteIfNewer>
109                             <useRepositoryLayout>false</useRepositoryLayout>
110                             <addParentPoms>false</addParentPoms>
111                             <copyPom>false</copyPom>
112                             <scope>provided</scope>
113                         </configuration>
114                     </execution>
115                 </executions>
116             </plugin>
117         </plugins>
118     </build>
119 </project>