ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Timoney, Dan (dt5972) | fb6f50e | 2019-04-24 16:41:21 -0400 | [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"> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | |
| 5 | <parent> |
| 6 | <groupId>org.onap.sdnc.oam</groupId> |
| 7 | <artifactId>sdnc-oam</artifactId> |
Dan Timoney | c01c0de | 2020-12-07 11:21:37 -0500 | [diff] [blame] | 8 | <version>2.1.1-SNAPSHOT</version> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 9 | </parent> |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 10 | |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 11 | <groupId>org.onap.sdnc.oam</groupId> |
| 12 | <artifactId>data-migrator</artifactId> |
Dan Timoney | c01c0de | 2020-12-07 11:21:37 -0500 | [diff] [blame] | 13 | <version>2.1.1-SNAPSHOT</version> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 14 | <packaging>jar</packaging> |
| 15 | |
| 16 | <name>sdnc-oam :: data-migrator</name> |
| 17 | <description>MDSAL Data Migrator</description> |
| 18 | |
| 19 | <properties> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 20 | <skip.SWM>true</skip.SWM> |
Dan Timoney | 1618d5c | 2021-02-05 12:44:55 -0500 | [diff] [blame] | 21 | <java.version>11</java.version> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 22 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
| 23 | <build.number>${maven.build.timestamp}</build.number> |
| 24 | <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION> |
| 25 | </properties> |
| 26 | |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 27 | <dependencies> |
| 28 | <dependency> |
| 29 | <groupId>org.slf4j</groupId> |
| 30 | <artifactId>slf4j-api</artifactId> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 31 | </dependency> |
| 32 | <dependency> |
| 33 | <groupId>org.slf4j</groupId> |
| 34 | <artifactId>slf4j-log4j12</artifactId> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 35 | <scope>compile</scope> |
| 36 | </dependency> |
| 37 | <dependency> |
| 38 | <groupId>log4j</groupId> |
| 39 | <artifactId>log4j</artifactId> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 40 | </dependency> |
| 41 | <dependency> |
| 42 | <groupId>junit</groupId> |
| 43 | <artifactId>junit</artifactId> |
| 44 | <version>${junit.version}</version> |
| 45 | <scope>test</scope> |
| 46 | </dependency> |
| 47 | <dependency> |
| 48 | <groupId>com.google.code.gson</groupId> |
| 49 | <artifactId>gson</artifactId> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>org.apache.commons</groupId> |
| 53 | <artifactId>commons-lang3</artifactId> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 54 | </dependency> |
| 55 | <dependency> |
| 56 | <groupId>org.reflections</groupId> |
| 57 | <artifactId>reflections</artifactId> |
| 58 | <version>0.9.9-RC1</version> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>com.beust</groupId> |
| 62 | <artifactId>jcommander</artifactId> |
| 63 | <version>1.48</version> |
| 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>com.github.tomakehurst</groupId> |
| 67 | <artifactId>wiremock-standalone</artifactId> |
| 68 | <version>2.18.0</version> |
| 69 | <scope>test</scope> |
| 70 | </dependency> |
| 71 | </dependencies> |
| 72 | |
| 73 | <build> |
| 74 | <plugins> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 75 | <plugin> |
| 76 | <groupId>org.apache.maven.plugins</groupId> |
Dan Timoney | 1618d5c | 2021-02-05 12:44:55 -0500 | [diff] [blame] | 77 | <artifactId>maven-compiler-plugin</artifactId> |
| 78 | <version>${maven-compiler-plugin.version}</version> |
| 79 | <configuration> |
| 80 | <release>${java.version}</release> |
| 81 | <!--explicitly remove source and target--> |
| 82 | <source combine.self="override"/> |
| 83 | <target combine.self="override"/> |
| 84 | </configuration> |
| 85 | </plugin> |
| 86 | <plugin> |
| 87 | <groupId>org.apache.maven.plugins</groupId> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 88 | <artifactId>maven-jar-plugin</artifactId> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 89 | <configuration> |
| 90 | <archive> |
| 91 | <manifest> |
| 92 | <addClasspath>true</addClasspath> |
| 93 | <mainClass>org.onap.sdnc.oam.datamigrator.DataMigration</mainClass> |
| 94 | </manifest> |
| 95 | </archive> |
| 96 | </configuration> |
| 97 | </plugin> |
| 98 | <plugin> |
| 99 | <artifactId>maven-assembly-plugin</artifactId> |
ankitbhatt | 75a5dad | 2019-03-05 16:34:18 +0530 | [diff] [blame] | 100 | <executions> |
| 101 | <execution> |
| 102 | <id>create-zip</id> |
| 103 | <goals> |
| 104 | <goal>single</goal> |
| 105 | </goals> |
| 106 | <phase>package</phase> |
| 107 | <configuration> |
| 108 | <attach>true</attach> |
| 109 | <finalName>${project.artifactId}.${project.version}</finalName> |
| 110 | <attach>true</attach> |
| 111 | <descriptors> |
| 112 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 113 | </descriptors> |
| 114 | <appendAssemblyId>false</appendAssemblyId> |
| 115 | </configuration> |
| 116 | </execution> |
| 117 | </executions> |
| 118 | </plugin> |
| 119 | |
| 120 | </plugins> |
| 121 | </build> |
| 122 | </project> |