blob: 34d171cb069c6a05b66ba5410b7636277dfbff41 [file] [log] [blame]
Dan Timoney2a93b9d2017-07-18 19:40:01 -04001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)3beadc22019-01-08 10:55:33 -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">
Dan Timoney131cb462018-02-01 16:57:00 -05003 <modelVersion>4.0.0</modelVersion>
Dan Timoney2a93b9d2017-07-18 19:40:01 -04004
Dan Timoney131cb462018-02-01 16:57:00 -05005 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)e38215f2019-04-30 09:57:41 -04008 <version>1.3.0-SNAPSHOT</version>
Timoney, Dan (dt5972)3beadc22019-01-08 10:55:33 -05009 <relativePath/>
Dan Timoney131cb462018-02-01 16:57:00 -050010 </parent>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040011
Dan Timoney131cb462018-02-01 16:57:00 -050012 <groupId>org.onap.ccsdk.sli.core</groupId>
13 <artifactId>dblib-installer</artifactId>
Timoney, Dan (dt5972)e38215f2019-04-30 09:57:41 -040014 <version>0.5.0-SNAPSHOT</version>
Dan Timoney131cb462018-02-01 16:57:00 -050015 <packaging>pom</packaging>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040016
Dan Timoney131cb462018-02-01 16:57:00 -050017 <name>ccsdk-sli-core :: dblib :: ${project.artifactId}</name>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040018
Dan Timoney131cb462018-02-01 16:57:00 -050019 <properties>
20 <application.name>ccsdk-dblib</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.sli.core/${features.boot}/${project.version}/xml/features</features.repositories>
23 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
25
26 <dependencies>
27
28 <dependency>
29 <groupId>org.onap.ccsdk.sli.core</groupId>
30 <artifactId>${application.name}</artifactId>
31 <version>${project.version}</version>
32 <type>xml</type>
33 <classifier>features</classifier>
34 <exclusions>
35 <exclusion>
36 <groupId>*</groupId>
37 <artifactId>*</artifactId>
38 </exclusion>
39 </exclusions>
40 </dependency>
41
42 <dependency>
43 <groupId>org.onap.ccsdk.sli.core</groupId>
44 <artifactId>dblib-provider</artifactId>
45 <version>${project.version}</version>
46 </dependency>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040047
Dan Timoneyd873c222018-02-14 14:28:47 -050048 <dependency>
49 <groupId>org.slf4j</groupId>
50 <artifactId>jcl-over-slf4j</artifactId>
Dan Timoneyd873c222018-02-14 14:28:47 -050051 </dependency>
Dan Timoney131cb462018-02-01 16:57:00 -050052 <dependency>
53 <groupId>org.apache.tomcat</groupId>
54 <artifactId>tomcat-jdbc</artifactId>
Dan Timoney131cb462018-02-01 16:57:00 -050055 </dependency>
56 </dependencies>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040057
Dan Timoney131cb462018-02-01 16:57:00 -050058 <build>
59 <plugins>
60 <plugin>
61 <artifactId>maven-assembly-plugin</artifactId>
62 <executions>
63 <execution>
64 <id>maven-repo-zip</id>
65 <goals>
66 <goal>single</goal>
67 </goals>
68 <phase>package</phase>
69 <configuration>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040070 <attach>true</attach>
Dan Timoney131cb462018-02-01 16:57:00 -050071 <finalName>stage/${application.name}-${project.version}</finalName>
72 <descriptors>
73 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
74 </descriptors>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040075 <appendAssemblyId>true</appendAssemblyId>
Dan Timoney131cb462018-02-01 16:57:00 -050076 </configuration>
77 </execution>
78 <execution>
79 <id>installer-zip</id>
80 <goals>
81 <goal>single</goal>
82 </goals>
83 <phase>package</phase>
84 <configuration>
85 <attach>true</attach>
86 <finalName>${application.name}-${project.version}-installer</finalName>
87 <descriptors>
88 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
89 </descriptors>
90 <appendAssemblyId>false</appendAssemblyId>
91 </configuration>
92 </execution>
93 </executions>
94 </plugin>
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-dependency-plugin</artifactId>
98 <executions>
99 <execution>
100 <id>copy-dependencies</id>
101 <goals>
102 <goal>copy-dependencies</goal>
103 </goals>
104 <phase>prepare-package</phase>
105 <configuration>
106 <transitive>false</transitive>
107 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
108 <overWriteReleases>false</overWriteReleases>
109 <overWriteSnapshots>true</overWriteSnapshots>
110 <overWriteIfNewer>true</overWriteIfNewer>
111 <useRepositoryLayout>true</useRepositoryLayout>
112 <addParentPoms>false</addParentPoms>
113 <copyPom>false</copyPom>
Dan Timoneyd873c222018-02-14 14:28:47 -0500114 <includeGroupIds>org.onap.ccsdk.sli.core,org.apache.tomcat,org.slf4j</includeGroupIds>
115 <excludeArtifactIds>utils-provider,slf4j-api</excludeArtifactIds>
Dan Timoney131cb462018-02-01 16:57:00 -0500116 <scope>provided</scope>
117 </configuration>
118 </execution>
119 </executions>
120 </plugin>
121 <plugin>
122 <artifactId>maven-resources-plugin</artifactId>
123 <version>2.6</version>
124 <executions>
125 <execution>
126 <id>copy-version</id>
127 <goals>
128 <goal>copy-resources</goal>
129 </goals><!-- here the phase you need -->
130 <phase>validate</phase>
131 <configuration>
132 <outputDirectory>${basedir}/target/stage</outputDirectory>
133 <resources>
134 <resource>
135 <directory>src/main/resources/scripts</directory>
136 <includes>
137 <include>install-feature.sh</include>
138 </includes>
139 <filtering>true</filtering>
140 </resource>
141 </resources>
142 </configuration>
143 </execution>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400144
Dan Timoney131cb462018-02-01 16:57:00 -0500145 </executions>
146 </plugin>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400147
Dan Timoney131cb462018-02-01 16:57:00 -0500148 </plugins>
149 </build>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400150</project>