Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 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" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 4 | |
| 5 | <parent> |
| 6 | <groupId>org.openecomp.appc.deployment</groupId> |
| 7 | <artifactId>platform-logic</artifactId> |
| 8 | <version>1.0.0</version> |
| 9 | </parent> |
| 10 | |
| 11 | <modelVersion>4.0.0</modelVersion> |
| 12 | <packaging>pom</packaging> |
| 13 | <groupId>org.openecomp.appc.deployment</groupId> |
| 14 | <artifactId>platform-logic-installer</artifactId> |
| 15 | <version>1.0.0</version> |
| 16 | |
| 17 | <name>Platform Logic Installer for APP-C</name> |
| 18 | <description>Contains platform-level service logic installer for APP-C</description> |
| 19 | |
| 20 | <build> |
| 21 | <plugins> |
| 22 | <plugin> |
| 23 | <artifactId>maven-resources-plugin</artifactId> |
| 24 | <version>2.6</version> |
| 25 | <executions> |
| 26 | <execution> |
| 27 | <id>copy-version</id> |
| 28 | <goals> |
| 29 | <goal>copy-resources</goal> |
| 30 | </goals><!-- here the phase you need --> |
| 31 | <phase>validate</phase> |
| 32 | <configuration> |
| 33 | <outputDirectory>target/resources</outputDirectory> |
| 34 | <resources> |
| 35 | <resource> |
| 36 | <directory>src/main/resources</directory> |
| 37 | <includes> |
| 38 | <include>*</include> |
| 39 | </includes> |
| 40 | <filtering>true</filtering> |
| 41 | </resource> |
| 42 | </resources> |
| 43 | </configuration> |
| 44 | </execution> |
| 45 | </executions> |
| 46 | </plugin> |
| 47 | <plugin> |
| 48 | <artifactId>maven-assembly-plugin</artifactId> |
| 49 | <executions> |
| 50 | <execution> |
| 51 | <id>create-zip</id> |
| 52 | <goals> |
| 53 | <goal>single</goal> |
| 54 | </goals> |
| 55 | <phase>package</phase> |
| 56 | <configuration> |
| 57 | <attach>true</attach> |
| 58 | <descriptors> |
| 59 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 60 | </descriptors> |
| 61 | </configuration> |
| 62 | </execution> |
| 63 | |
| 64 | </executions> |
| 65 | </plugin> |
| 66 | <plugin> |
| 67 | <groupId>org.apache.maven.plugins</groupId> |
| 68 | <artifactId>maven-dependency-plugin</artifactId> |
| 69 | <executions> |
| 70 | <execution> |
| 71 | <id>copy-dependencies</id> |
| 72 | <goals> |
| 73 | <goal>copy-dependencies</goal> |
| 74 | </goals> |
| 75 | <phase>prepare-package</phase> |
| 76 | <configuration> |
| 77 | <transitive>false</transitive> |
| 78 | <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| 79 | <overWriteReleases>false</overWriteReleases> |
| 80 | <overWriteSnapshots>true</overWriteSnapshots> |
| 81 | <overWriteIfNewer>true</overWriteIfNewer> |
| 82 | <useRepositoryLayout>false</useRepositoryLayout> |
| 83 | <addParentPoms>false</addParentPoms> |
| 84 | <copyPom>false</copyPom> |
| 85 | <scope>provided</scope> |
| 86 | </configuration> |
| 87 | </execution> |
| 88 | </executions> |
| 89 | </plugin> |
| 90 | </plugins> |
| 91 | |
| 92 | </build> |
| 93 | <dependencies> |
| 94 | <dependency> |
| 95 | <groupId>org.slf4j</groupId> |
| 96 | <artifactId>slf4j-api</artifactId> |
| 97 | <version>${slf4j.version}</version> |
| 98 | </dependency> |
| 99 | <dependency> |
| 100 | <groupId>org.slf4j</groupId> |
| 101 | <artifactId>slf4j-simple</artifactId> |
| 102 | <version>1.7.5</version> |
| 103 | <scope>compile</scope> |
| 104 | </dependency> |
| 105 | <dependency> |
Patrick Brady | 5f177b1 | 2017-02-13 23:22:37 -0800 | [diff] [blame^] | 106 | <groupId>org.openecomp.sdnc.core</groupId> |
Patrick Brady | 8351425 | 2017-02-13 11:57:08 -0800 | [diff] [blame] | 107 | <artifactId>sli-common</artifactId> |
| 108 | <version>${sdnctl.sli.version}</version> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>org.antlr</groupId> |
| 112 | <artifactId>antlr4</artifactId> |
| 113 | <version>${antlr.version}</version> |
| 114 | <type>jar</type> |
| 115 | <scope>compile</scope> |
| 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>mysql</groupId> |
| 119 | <artifactId>mysql-connector-java</artifactId> |
| 120 | <version>${mysql.connector.version}</version> |
| 121 | <type>jar</type> |
| 122 | <scope>compile</scope> |
| 123 | </dependency> |
| 124 | </dependencies> |
| 125 | |
| 126 | </project> |