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