root / pom.xml @ 51

View | Annotate | Download

1
<!--
2
  ~ Copyright 2009 Andrey Khalzov, and individual contributors as indicated by the @author tag.
3
  ~
4
  ~ Licensed under the Apache License, Version 2.0 (the "License");
5
  ~ you may not use this file except in compliance with the License.
6
  ~ You may obtain a copy of the License at
7
  ~
8
  ~      http://www.apache.org/licenses/LICENSE-2.0
9
  ~
10
  ~ Unless required by applicable law or agreed to in writing,
11
  ~ software distributed under the License is distributed on an "AS IS" BASIS,
12
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
  ~ See the License for the specific language governing permissions and limitations under the License.
14
  -->
15
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
16
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
17
    <modelVersion>4.0.0</modelVersion>
18
    <groupId>org.wannatrak</groupId>
19
    <artifactId>wannatrak</artifactId>
20
    <version>${projectVersion}</version>
21
    <url>http://www.wannatrak.org</url>
22
23
    <name>Wannatrak</name>
24
    <description>Open Source GPS Tracking System</description>
25
26
    <packaging>pom</packaging>
27
28
    <licenses>
29
        <license>
30
            <name>Apache License, Version 2.0</name>
31
            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
32
            <distribution>repo</distribution>
33
        </license>
34
    </licenses>
35
36
    <distributionManagement>
37
        <repository>
38
            <id>internal</id>
39
            <url>http://archiva.wannatrak.org/repository/internal/</url>
40
        </repository>
41
        <snapshotRepository>
42
            <id>snapshots</id>
43
            <url>http://archiva.wannatrak.org/repository/snapshots/</url>
44
        </snapshotRepository>
45
    </distributionManagement>
46
47
    <developers>
48
        <developer>
49
            <id>halls</id>
50
            <name>Andrey Khalzov</name>
51
            <email>andrey.khalzov@wannatrak.org</email>
52
            <timezone>+4</timezone>
53
            <roles>
54
                <role>Lead</role>
55
                <role>Developer</role>
56
            </roles>
57
        </developer>
58
        <developer>
59
            <id>sergey</id>
60
            <name>Sergey Grachev</name>
61
            <email>sergey.grachev@wannatrak.org</email>
62
            <timezone>+4</timezone>
63
            <roles>
64
                <role>Developer</role>
65
            </roles>
66
        </developer>
67
        <developer>
68
            <id>anton</id>
69
            <name>Anton Sinyagovsky</name>
70
            <email>anton.sinyagovsky@wannatrak.org</email>
71
            <timezone>+4</timezone>
72
            <roles>
73
                <role>Developer</role>
74
            </roles>
75
        </developer>
76
    </developers>
77
78
    <inceptionYear>2009</inceptionYear>
79
80
    <issueManagement>
81
        <system>Redmine</system>
82
        <url>http://www.wannatrak.org/projects/wannatrak/issues/</url>
83
    </issueManagement>
84
85
    <scm>
86
        <url>http://www.wannatrak.org/repositories/show/wannatrak</url>
87
        <connection>scm:bazaar:http://bzr.wannatrak.org/main</connection>
88
        <developerConnection>scm:bazaar:sftp://username:password@wannatrak.org/~/wannatrak</developerConnection>
89
        <tag>HEAD</tag>
90
    </scm>
91
92
    <properties>
93
        <projectVersion>0.92-SNAPSHOT</projectVersion>
94
95
        <maven.compiler.source>1.6</maven.compiler.source>
96
        <maven.compiler.target>1.6</maven.compiler.target>
97
98
        <jbossConfig>default</jbossConfig>
99
        <jboss.config.path>${env.WT_JBOSS_HOME}/server/${jbossConfig}</jboss.config.path>
100
    </properties>
101
102
    <modules>
103
        <module>middleware</module>
104
        <module>device</module>
105
    </modules>
106
107
    <dependencyManagement>
108
        <dependencies>
109
            <dependency>
110
                <groupId>org.wannatrak</groupId>
111
                <artifactId>wannatrak-client</artifactId>
112
                <version>${project.version}</version>
113
            </dependency>
114
            <dependency>
115
                <groupId>org.wannatrak</groupId>
116
                <artifactId>wannatrak-device</artifactId>
117
                <version>${project.version}</version>
118
            </dependency>
119
            <dependency>
120
                <groupId>org.wannatrak</groupId>
121
                <artifactId>wannatrak-middleware</artifactId>
122
                <version>${project.version}</version>
123
            </dependency>
124
        </dependencies>
125
    </dependencyManagement>
126
127
    <repositories>
128
        <repository>
129
            <id>jboss</id>
130
            <name>JBoss repository</name>
131
            <url>http://repository.jboss.org/maven2</url>
132
        </repository>
133
134
        <repository>
135
            <id>ibiblio</id>
136
            <name>Ibiblio repository</name>
137
            <url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url>
138
        </repository>
139
    </repositories>
140
141
    <profiles>
142
        <profile>
143
            <id>WithClient</id>
144
            <activation>
145
                <activeByDefault>true</activeByDefault>
146
            </activation>
147
            <modules>
148
                <module>client</module>
149
            </modules>
150
        </profile>
151
        <profile>
152
            <id>WithClientAndJ2ME</id>
153
            <modules>
154
                <module>mobile</module>
155
                <module>client</module>
156
            </modules>
157
        </profile>
158
        <profile>
159
            <id>Deploy2JBoss</id>
160
        </profile>
161
        <profile>
162
            <id>UpdateJ2MEInClient</id>
163
        </profile>
164
        <profile>
165
            <id>InitDB</id>
166
            <modules>
167
                <module>config</module>
168
            </modules>
169
        </profile>
170
        <profile>
171
            <id>InitJBoss</id>
172
            <modules>
173
                <module>config</module>
174
            </modules>
175
        </profile>
176
        <profile>
177
            <id>LoadDemo</id>
178
            <modules>
179
                <module>config</module>
180
            </modules>
181
        </profile>
182
    </profiles>
183
184
    <build>
185
        <plugins>
186
            <plugin>
187
                <artifactId>maven-resources-plugin</artifactId>
188
                <executions>
189
                    <execution>
190
                        <id>copy-resources</id>
191
                        <phase>package</phase>
192
                        <goals>
193
                            <goal>copy-resources</goal>
194
                        </goals>
195
                        <configuration>
196
                            <outputDirectory>${basedir}/../out</outputDirectory>
197
                            <resources>
198
                                <resource>
199
                                    <directory>${basedir}/target</directory>
200
                                    <includes>
201
                                        <include>*.war</include>
202
                                        <include>*.jar</include>
203
                                    </includes>
204
                                </resource>
205
                            </resources>
206
                        </configuration>
207
                    </execution>
208
                </executions>
209
            </plugin>
210
        </plugins>
211
    </build>
212
</project>