source: core/trunk/server/pom.xml

Last change on this file was 411, checked in by smoser, 8 years ago

move to 1.3.2-SNAPSHOT

  • Property svn:mime-type set to text/plain
File size: 5.0 KB
RevLine 
[380]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>
[411]31                <version>1.3.2-SNAPSHOT</version>
[380]32                <relativePath>..</relativePath>
33        </parent>
34        <artifactId>ch.netzschmiede.flarmradar.server</artifactId>
35        <name>ch.netzschmiede.flarmradar.server</name>
36        <description>The Flarm-Radar server</description>
[385]37       
38        <dependencies>
39        <dependency>
40                <groupId>flarmradar</groupId>
41                <artifactId>ch.netzschmiede.flarmradar.application</artifactId>
42                <type>ear</type>
43        </dependency>
44        </dependencies>
[388]45       
46        <properties>
47                <h2.web.port>8082</h2.web.port>
48                <h2.tcp.port>9092</h2.tcp.port>
49        </properties>
[380]50
51        <build>
52                <plugins>
53                        <plugin>
54                                <groupId>com.github.goldin</groupId>
55                                <artifactId>copy-maven-plugin</artifactId>
56                                <version>0.2.5</version>
57                                <executions>
58                                        <execution>
59                                                <id>create-archive</id>
60                                                <phase>package</phase>
61                                                <goals>
62                                                        <goal>copy</goal>
63                                                </goals>
64                                                <configuration>
65                                                        <resources>
66                                                                <!-- ~~~~~~~~~~~~~~ -->
67                                                                <!-- Copy server resources -->
68                                                                <!-- ~~~~~~~~~~~~~~ -->
69                                                                <resource>
70                                                                        <targetPath>${project.build.directory}/flarmradar</targetPath>
71                                                                        <file>${project.basedir}/jboss-as-7.1.1.Final.tar.gz</file>
72                                                                        <unpack>true</unpack>
73                                                                </resource>
74                                                                <resource>
75                                                                        <targetPath>${project.build.directory}/flarmradar/server</targetPath>
76                                                                        <directory>${project.build.directory}/flarmradar/jboss-as-7.1.1.Final</directory>
77                                                                        <move>true</move>
78                                                                        <preservePath>true</preservePath>
79                                                                </resource>
80                                                                <resource>
81                                                                        <directory>${project.build.directory}/flarmradar/jboss-as-7.1.1.Final</directory>
82                                                                        <includes>
83                                                                                <include>**/*</include>
84                                                                        </includes>
85                                                                        <failIfNotFound>false</failIfNotFound>
86                                                                        <clean>true</clean>
87                                                                        <cleanEmptyDirectories>true</cleanEmptyDirectories>
88                                                                </resource>
89                                                               
90                                                                <resource>
91                                                                        <targetPath>${project.build.directory}/flarmradar/server/standalone/deployments</targetPath>
92                                                                        <file>${project.basedir}/../assembly/target/flarmradar.ear</file>
93                                                                </resource>
94                                                                <resource>
95                                                                        <targetPath>${project.build.directory}/flarmradar</targetPath>
96                                                                        <directory>${project.basedir}</directory>
97                                                                        <includes>
98                                                                                <include>flarmradar.sh</include>
99                                                                        </includes>
[388]100                                                                        <filtering>true</filtering>
[380]101                                                                </resource>
102                                                                <resource>
[388]103                                                                        <targetPath>${project.build.directory}/flarmradar</targetPath>
104                                                                        <file>${project.basedir}/h2.server.properties</file>
105                                                                        <destFileName>.h2.server.properties</destFileName>
106                                                                        <filtering>true</filtering>
107                                                                </resource>
108                                                                <resource>
[380]109                                                                        <targetPath>${project.build.directory}/flarmradar/server/standalone/configuration</targetPath>
110                                                                        <file>${project.basedir}/jboss_standalone.xml</file>
111                                                                        <destFileName>standalone.xml</destFileName>
[388]112                                                                        <filtering>true</filtering>
[380]113                                                                </resource>
114                                                                <resource>
[408]115                                                                        <targetPath>${project.build.directory}/flarmradar/server/standalone/configuration</targetPath>
[409]116                                                                        <file>${project.basedir}/logging.properties</file>
[408]117                                                                        <destFileName>logging.properties</destFileName>
118                                                                        <filtering>true</filtering>
119                                                                </resource>
120                                                                <resource>
[380]121                                                                        <targetPath>${project.build.directory}/flarmradar/data</targetPath>
122                                                                        <mkdir>true</mkdir>
123                                                                </resource>
124                                                                <resource>
125                                                                        <targetPath>${project.build.directory}/flarmradar/server/standalone/log</targetPath>
126                                                                        <mkdir>true</mkdir>
127                                                                </resource>
128                                                               
129                                                                <!-- zip it     -->
130                                                                <resource>
131                                                                        <targetPath>${project.build.directory}/flarmradar-${project.version}.zip</targetPath>
132                                                                        <directory>${project.build.directory}/flarmradar</directory>
133                                                                        <pack>true</pack>
134                                                                        <attachArtifact>true</attachArtifact>
135                                                                </resource>
136                                                        </resources>
137                                                </configuration>
138                                        </execution>
139                                </executions>
140                        </plugin>
141                </plugins>
142        </build>
143</project>
Note: See TracBrowser for help on using the repository browser.