1 | <!-- |
---|
2 | This file is part of the FLARM®-Radar Project. |
---|
3 | |
---|
4 | Copyright by the Authors |
---|
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 | Authors: |
---|
21 | 2012-2015 Simon Moser |
---|
22 | 2013-2015 Dominic Spreitz |
---|
23 | 2014-2015 Giorgio Tresoldi |
---|
24 | --> |
---|
25 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
26 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
---|
27 | <modelVersion>4.0.0</modelVersion> |
---|
28 | <parent> |
---|
29 | <groupId>flarmradar</groupId> |
---|
30 | <artifactId>ch.netzschmiede.flarmradar.all</artifactId> |
---|
31 | <version>1.3.1-SNAPSHOT</version> |
---|
32 | <relativePath>..</relativePath> |
---|
33 | </parent> |
---|
34 | <artifactId>ch.netzschmiede.flarmradar.client</artifactId> |
---|
35 | <name>ch.netzschmiede.flarmradar.client</name> |
---|
36 | <description>The Flarm-Radar client</description> |
---|
37 | |
---|
38 | <build> |
---|
39 | <plugins> |
---|
40 | <plugin> |
---|
41 | <groupId>com.github.goldin</groupId> |
---|
42 | <artifactId>copy-maven-plugin</artifactId> |
---|
43 | <version>0.2.5</version> |
---|
44 | <executions> |
---|
45 | <execution> |
---|
46 | <id>create-archive</id> |
---|
47 | <phase>package</phase> |
---|
48 | <goals> |
---|
49 | <goal>copy</goal> |
---|
50 | </goals> |
---|
51 | <configuration> |
---|
52 | <resources> |
---|
53 | <!-- ~~~~~~~~~~~~~~ --> |
---|
54 | <!-- Copy client resources --> |
---|
55 | <!-- ~~~~~~~~~~~~~~ --> |
---|
56 | <resource> |
---|
57 | <targetPath>${project.build.directory}/flarmclient</targetPath> |
---|
58 | <file>${project.basedir}/flarmclient.conf</file> |
---|
59 | <destFileName>flarmclient.conf</destFileName> |
---|
60 | </resource> |
---|
61 | <resource> |
---|
62 | <targetPath>${project.build.directory}/flarmclient/</targetPath> |
---|
63 | <directory>${project.basedir}</directory> |
---|
64 | <includes> |
---|
65 | <include>flarmclient.pl</include> |
---|
66 | <include>README.txt</include> |
---|
67 | </includes> |
---|
68 | </resource> |
---|
69 | <resource> |
---|
70 | <targetPath>${project.build.directory}/flarmclient/testdata</targetPath> |
---|
71 | <directory>${project.basedir}/data</directory> |
---|
72 | <includes> |
---|
73 | <include>*.data</include> |
---|
74 | </includes> |
---|
75 | </resource> |
---|
76 | <resource> |
---|
77 | <targetPath>${project.build.directory}/flarmclient/examples</targetPath> |
---|
78 | <directory>${project.basedir}/examples</directory> |
---|
79 | <includes> |
---|
80 | <include>**/*</include> |
---|
81 | </includes> |
---|
82 | </resource> |
---|
83 | |
---|
84 | <!-- zip it --> |
---|
85 | <resource> |
---|
86 | <targetPath>${project.build.directory}/flarmclient-${project.version}.zip</targetPath> |
---|
87 | <directory>${project.build.directory}/flarmclient</directory> |
---|
88 | <pack>true</pack> |
---|
89 | <attachArtifact>true</attachArtifact> |
---|
90 | </resource> |
---|
91 | </resources> |
---|
92 | </configuration> |
---|
93 | </execution> |
---|
94 | </executions> |
---|
95 | </plugin> |
---|
96 | </plugins> |
---|
97 | </build> |
---|
98 | </project> |
---|