[211] | 1 | <!-- |
---|
| 2 | This file is part of the FLARM®-Radar Project. |
---|
| 3 | |
---|
| 4 | Copyright 2013 Netzschmiede GmbH (http://www.netzschmiede.ch) |
---|
| 5 | |
---|
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
---|
| 7 | you may not use this file except in compliance with the License. |
---|
| 8 | You may obtain a copy of the License at |
---|
| 9 | |
---|
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
---|
| 11 | |
---|
| 12 | Unless required by applicable law or agreed to in writing, software |
---|
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
---|
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
| 15 | See the License for the specific language governing permissions and |
---|
| 16 | limitations under the License. |
---|
| 17 | |
---|
| 18 | Project Website: www.flarmradar.ch |
---|
| 19 | Email: info@flarmradar.ch |
---|
| 20 | --> |
---|
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
---|
| 23 | <modelVersion>4.0.0</modelVersion> |
---|
| 24 | <parent> |
---|
| 25 | <groupId>flarmradar</groupId> |
---|
| 26 | <artifactId>ch.netzschmiede.flarmradar.all</artifactId> |
---|
| 27 | <version>1.1.1-SNAPSHOT</version> |
---|
| 28 | </parent> |
---|
| 29 | <artifactId>ch.netzschmiede.flarmradar.client</artifactId> |
---|
| 30 | <name>ch.netzschmiede.flarmradar.client</name> |
---|
| 31 | <description>The Flarm-Radar client</description> |
---|
| 32 | |
---|
| 33 | <build> |
---|
| 34 | <plugins> |
---|
| 35 | <plugin> |
---|
| 36 | <groupId>com.github.goldin</groupId> |
---|
| 37 | <artifactId>copy-maven-plugin</artifactId> |
---|
| 38 | <version>0.2.5</version> |
---|
| 39 | <executions> |
---|
| 40 | <execution> |
---|
| 41 | <id>create-archive</id> |
---|
| 42 | <phase>package</phase> |
---|
| 43 | <goals> |
---|
| 44 | <goal>copy</goal> |
---|
| 45 | </goals> |
---|
| 46 | <configuration> |
---|
| 47 | <resources> |
---|
| 48 | <!-- ~~~~~~~~~~~~~~ --> |
---|
| 49 | <!-- Copy client resources --> |
---|
| 50 | <!-- ~~~~~~~~~~~~~~ --> |
---|
| 51 | <resource> |
---|
[250] | 52 | <targetPath>${project.build.directory}/flarmclient</targetPath> |
---|
| 53 | <file>${project.basedir}/flarmclient.conf</file> |
---|
[286] | 54 | <destFileName>flarmclient.conf</destFileName> |
---|
[211] | 55 | </resource> |
---|
| 56 | <resource> |
---|
| 57 | <targetPath>${project.build.directory}/flarmclient/</targetPath> |
---|
| 58 | <directory>${project.basedir}</directory> |
---|
| 59 | <includes> |
---|
| 60 | <include>flarmclient.pl</include> |
---|
| 61 | <include>README.txt</include> |
---|
| 62 | </includes> |
---|
| 63 | </resource> |
---|
| 64 | <resource> |
---|
| 65 | <targetPath>${project.build.directory}/flarmclient/testdata</targetPath> |
---|
| 66 | <directory>${project.basedir}/data</directory> |
---|
| 67 | <includes> |
---|
| 68 | <include>*.data</include> |
---|
| 69 | </includes> |
---|
| 70 | </resource> |
---|
[224] | 71 | <resource> |
---|
| 72 | <targetPath>${project.build.directory}/flarmclient/examples</targetPath> |
---|
| 73 | <directory>${project.basedir}/examples</directory> |
---|
| 74 | <includes> |
---|
| 75 | <include>**/*</include> |
---|
| 76 | </includes> |
---|
| 77 | </resource> |
---|
[211] | 78 | |
---|
| 79 | <!-- zip it --> |
---|
| 80 | <resource> |
---|
| 81 | <targetPath>${project.build.directory}/flarmclient-${project.version}.zip</targetPath> |
---|
| 82 | <directory>${project.build.directory}/flarmclient</directory> |
---|
| 83 | <pack>true</pack> |
---|
| 84 | <attachArtifact>true</attachArtifact> |
---|
| 85 | </resource> |
---|
| 86 | </resources> |
---|
| 87 | </configuration> |
---|
| 88 | </execution> |
---|
| 89 | </executions> |
---|
| 90 | </plugin> |
---|
| 91 | </plugins> |
---|
| 92 | </build> |
---|
| 93 | </project> |
---|