1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Copyright (c) 2016 Sebastian Stenzel
- This file is licensed under the terms of the MIT license.
- -->
- <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">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.cryptomator</groupId>
- <artifactId>main</artifactId>
- <version>1.1.0-SNAPSHOT</version>
- </parent>
- <artifactId>ant-kit</artifactId>
- <packaging>pom</packaging>
- <name>Cryptomator Ant Build Kit</name>
- <description>Builds a package that can be built with Ant locally</description>
- <dependencies>
- <dependency>
- <groupId>org.cryptomator</groupId>
- <artifactId>ui</artifactId>
- </dependency>
- </dependencies>
- <build>
- <defaultGoal>clean assembly:assembly</defaultGoal>
-
- <plugins>
- <!-- copy libraries to target/libs/: -->
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-libs</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/libs</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- copy resources to target/: -->
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.7</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}</outputDirectory>
- <escapeString>\</escapeString>
- <encoding>UTF-8</encoding>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- create cryptomator_1.2.3-4.tar.gz: -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptor>assembly.xml</descriptor>
- <finalName>cryptomator_${project.version}</finalName>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|