Dan Timoney | 24a1a1b | 2017-08-21 10:27:47 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Dan Timoney | 912f98b | 2018-02-27 14:10:22 -0500 | [diff] [blame] | 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> |
Dan Timoney | 24a1a1b | 2017-08-21 10:27:47 -0400 | [diff] [blame] | 4 | |
| 5 | <parent> |
| 6 | <groupId>org.onap.ccsdk.distribution</groupId> |
| 7 | <artifactId>distribution-platform-logic</artifactId> |
Timoney, Dan (dt5972) | 53cb687 | 2019-07-30 12:13:33 -0400 | [diff] [blame^] | 8 | <version>0.6.0-SNAPSHOT</version> |
Dan Timoney | 24a1a1b | 2017-08-21 10:27:47 -0400 | [diff] [blame] | 9 | </parent> |
| 10 | |
Dan Timoney | 24a1a1b | 2017-08-21 10:27:47 -0400 | [diff] [blame] | 11 | <artifactId>platform-logic-installer</artifactId> |
Timoney, Dan (dt5972) | 53cb687 | 2019-07-30 12:13:33 -0400 | [diff] [blame^] | 12 | <version>0.6.0-SNAPSHOT</version> |
Dan Timoney | 912f98b | 2018-02-27 14:10:22 -0500 | [diff] [blame] | 13 | <packaging>pom</packaging> |
Dan Timoney | 24a1a1b | 2017-08-21 10:27:47 -0400 | [diff] [blame] | 14 | |
Dan Timoney | 912f98b | 2018-02-27 14:10:22 -0500 | [diff] [blame] | 15 | <name>ccsdk-distribution :: platform-logic :: ${project.artifactId}</name> |
Dan Timoney | 24a1a1b | 2017-08-21 10:27:47 -0400 | [diff] [blame] | 16 | <description>Contains platform-level service logic installer</description> |
Timoney, Dan (dt5972) | e7cfae5 | 2019-01-03 15:14:58 -0500 | [diff] [blame] | 17 | <dependencyManagement> |
| 18 | <dependencies> |
| 19 | <dependency> |
| 20 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 21 | <artifactId>sli-core-artifacts</artifactId> |
| 22 | <version>${ccsdk.sli.core.version}</version> |
| 23 | <type>pom</type> |
| 24 | <scope>import</scope> |
| 25 | </dependency> |
| 26 | </dependencies> |
| 27 | </dependencyManagement> |
Dan Timoney | 912f98b | 2018-02-27 14:10:22 -0500 | [diff] [blame] | 28 | <dependencies> |
| 29 | <dependency> |
| 30 | <groupId>org.slf4j</groupId> |
| 31 | <artifactId>slf4j-api</artifactId> |
| 32 | <version>${slf4j.version}</version> |
| 33 | </dependency> |
| 34 | <dependency> |
| 35 | <groupId>org.slf4j</groupId> |
| 36 | <artifactId>slf4j-simple</artifactId> |
| 37 | <version>${slf4j.version}</version> |
| 38 | </dependency> |
| 39 | <dependency> |
| 40 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 41 | <artifactId>sli-common</artifactId> |
| 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>org.antlr</groupId> |
| 45 | <artifactId>antlr4</artifactId> |
| 46 | <version>${antlr.version}</version> |
| 47 | </dependency> |
| 48 | <dependency> |
| 49 | <groupId>org.mariadb.jdbc</groupId> |
| 50 | <artifactId>mariadb-java-client</artifactId> |
| 51 | <version>${mariadb.connector.version}</version> |
| 52 | </dependency> |
| 53 | </dependencies> |
Dan Timoney | 24a1a1b | 2017-08-21 10:27:47 -0400 | [diff] [blame] | 54 | |
| 55 | <build> |
| 56 | <plugins> |
| 57 | <plugin> |
| 58 | <artifactId>maven-resources-plugin</artifactId> |
| 59 | <version>2.6</version> |
| 60 | <executions> |
| 61 | <execution> |
| 62 | <id>copy-version</id> |
| 63 | <goals> |
| 64 | <goal>copy-resources</goal> |
| 65 | </goals><!-- here the phase you need --> |
| 66 | <phase>validate</phase> |
| 67 | <configuration> |
| 68 | <outputDirectory>target/resources</outputDirectory> |
| 69 | <resources> |
| 70 | <resource> |
| 71 | <directory>src/main/resources</directory> |
| 72 | <includes> |
| 73 | <include>*</include> |
| 74 | </includes> |
| 75 | <filtering>true</filtering> |
| 76 | </resource> |
| 77 | </resources> |
| 78 | </configuration> |
| 79 | </execution> |
| 80 | </executions> |
| 81 | </plugin> |
| 82 | <plugin> |
| 83 | <artifactId>maven-assembly-plugin</artifactId> |
| 84 | <version>2.6</version> |
| 85 | <executions> |
| 86 | <execution> |
| 87 | <id>create-zip</id> |
| 88 | <goals> |
| 89 | <goal>single</goal> |
| 90 | </goals> |
| 91 | <phase>package</phase> |
| 92 | <configuration> |
| 93 | <attach>true</attach> |
| 94 | <descriptors> |
| 95 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 96 | </descriptors> |
| 97 | <appendAssemblyId>false</appendAssemblyId> |
| 98 | </configuration> |
| 99 | </execution> |
| 100 | |
| 101 | </executions> |
| 102 | </plugin> |
| 103 | <plugin> |
| 104 | <groupId>org.apache.maven.plugins</groupId> |
| 105 | <artifactId>maven-dependency-plugin</artifactId> |
| 106 | <executions> |
| 107 | <execution> |
| 108 | <id>copy-dependencies</id> |
| 109 | <goals> |
| 110 | <goal>copy-dependencies</goal> |
| 111 | </goals> |
| 112 | <phase>prepare-package</phase> |
| 113 | <configuration> |
| 114 | <transitive>false</transitive> |
| 115 | <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| 116 | <overWriteReleases>false</overWriteReleases> |
| 117 | <overWriteSnapshots>true</overWriteSnapshots> |
| 118 | <overWriteIfNewer>true</overWriteIfNewer> |
| 119 | <useRepositoryLayout>false</useRepositoryLayout> |
| 120 | <addParentPoms>false</addParentPoms> |
| 121 | <copyPom>false</copyPom> |
| 122 | <scope>provided</scope> |
| 123 | </configuration> |
| 124 | </execution> |
| 125 | </executions> |
| 126 | </plugin> |
| 127 | </plugins> |
Dan Timoney | 24a1a1b | 2017-08-21 10:27:47 -0400 | [diff] [blame] | 128 | </build> |
Dan Timoney | 24a1a1b | 2017-08-21 10:27:47 -0400 | [diff] [blame] | 129 | </project> |