|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <groupId>com.github.tomaskir</groupId> |
| 8 | + <artifactId>netxms-csv-importer</artifactId> |
| 9 | + <version>1.0.0</version> |
| 10 | + <packaging>jar</packaging> |
| 11 | + |
| 12 | + <properties> |
| 13 | + <source.encoding>utf-8</source.encoding> |
| 14 | + <java.version>1.7</java.version> |
| 15 | + <lombok.version>1.16.8</lombok.version> |
| 16 | + <netxms-client.version>2.1-SNAPSHOT</netxms-client.version> |
| 17 | + <simple-xml.version>2.7.1</simple-xml.version> <!--remove this when NetXMS maven repo updates--> |
| 18 | + </properties> |
| 19 | + |
| 20 | + <dependencies> |
| 21 | + <dependency> |
| 22 | + <groupId>org.projectlombok</groupId> |
| 23 | + <artifactId>lombok</artifactId> |
| 24 | + <version>${lombok.version}</version> |
| 25 | + </dependency> |
| 26 | + |
| 27 | + <dependency> |
| 28 | + <groupId>org.netxms</groupId> |
| 29 | + <artifactId>netxms-client</artifactId> |
| 30 | + <version>${netxms-client.version}</version> |
| 31 | + </dependency> |
| 32 | + |
| 33 | + <!--remove this when NetXMS maven repo updates--> |
| 34 | + <dependency> |
| 35 | + <groupId>org.netxms</groupId> |
| 36 | + <artifactId>netxms-base</artifactId> |
| 37 | + <version>${netxms-client.version}</version> |
| 38 | + </dependency> |
| 39 | + |
| 40 | + <!--remove this when NetXMS maven repo updates--> |
| 41 | + <dependency> |
| 42 | + <groupId>org.simpleframework</groupId> |
| 43 | + <artifactId>simple-xml</artifactId> |
| 44 | + <version>${simple-xml.version}</version> |
| 45 | + </dependency> |
| 46 | + </dependencies> |
| 47 | + |
| 48 | + <repositories> |
| 49 | + <repository> |
| 50 | + <id>data-local</id> |
| 51 | + <name>data</name> |
| 52 | + <url>file://${project.basedir}/libs</url> |
| 53 | + </repository> |
| 54 | + </repositories> |
| 55 | + |
| 56 | + <build> |
| 57 | + <plugins> |
| 58 | + <plugin> |
| 59 | + <groupId>org.apache.maven.plugins</groupId> |
| 60 | + <artifactId>maven-compiler-plugin</artifactId> |
| 61 | + <version>3.5</version> |
| 62 | + <configuration> |
| 63 | + <encoding>${source.encoding}</encoding> |
| 64 | + <source>${java.version}</source> |
| 65 | + <target>${java.version}</target> |
| 66 | + </configuration> |
| 67 | + </plugin> |
| 68 | + |
| 69 | + <plugin> |
| 70 | + <artifactId>maven-assembly-plugin</artifactId> |
| 71 | + <version>2.6</version> |
| 72 | + <configuration> |
| 73 | + <descriptorRefs> |
| 74 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 75 | + </descriptorRefs> |
| 76 | + <archive> |
| 77 | + <manifest> |
| 78 | + <mainClass>com.github.tomaskir.netxms.csvimporter.Application</mainClass> |
| 79 | + </manifest> |
| 80 | + </archive> |
| 81 | + </configuration> |
| 82 | + <executions> |
| 83 | + <execution> |
| 84 | + <id>make-assembly</id> |
| 85 | + <phase>package</phase> |
| 86 | + <goals> |
| 87 | + <goal>single</goal> |
| 88 | + </goals> |
| 89 | + </execution> |
| 90 | + </executions> |
| 91 | + </plugin> |
| 92 | + </plugins> |
| 93 | + </build> |
| 94 | +</project> |
0 commit comments