minor fixes in consistency with datawarehouse export
[cdmlib.git] / cdm-server / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
4 <!--
5 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
6 http://maven.apache.org/maven-v4_0_0.xsd"
7 -->
8 <parent>
9 <groupId>eu.etaxonomy</groupId>
10 <artifactId>cdmlib-parent</artifactId>
11 <version>2.4</version>
12 </parent>
13
14 <modelVersion>4.0.0</modelVersion>
15 <artifactId>cdm-server</artifactId>
16 <version>2.4</version>
17 <packaging>jar</packaging>
18 <name>CDM Community Standalone Server</name>
19
20 <properties>
21 <jetty-version>7.0.1.v20091125</jetty-version>
22 </properties>
23
24 <dependencies>
25 <dependency>
26 <groupId>eu.etaxonomy</groupId>
27 <artifactId>cdmlib-remote</artifactId>
28 <version>${project.version}</version>
29 <type>war</type>
30 </dependency>
31
32 <!-- JETTY 7 -->
33 <dependency>
34 <groupId>org.eclipse.jetty</groupId>
35 <artifactId>jetty-webapp</artifactId>
36 <version>${jetty-version}</version>
37 </dependency>
38 <dependency>
39 <groupId>org.eclipse.jetty</groupId>
40 <artifactId>jetty-plus</artifactId>
41 <version>${jetty-version}</version>
42 </dependency>
43 <dependency>
44 <groupId>org.eclipse.jetty</groupId>
45 <artifactId>jetty-webapp</artifactId>
46 <version>${jetty-version}</version>
47 </dependency>
48 <dependency>
49 <groupId>org.eclipse.jetty</groupId>
50 <artifactId>jetty-jmx</artifactId>
51 <version>${jetty-version}</version>
52 </dependency>
53 <dependency>
54 <groupId>org.mortbay.jetty</groupId>
55 <artifactId>jsp-2.1-glassfish</artifactId>
56 <version>9.1.1.B60.25.p2</version>
57 </dependency>
58 <dependency>
59 <groupId>javax.transaction</groupId>
60 <artifactId>jta</artifactId>
61 <version>1.1</version>
62 </dependency>
63
64 <dependency>
65 <groupId>commons-cli</groupId>
66 <artifactId>commons-cli</artifactId>
67 <version>1.2</version>
68 </dependency>
69 <dependency>
70 <groupId>commons-io</groupId>
71 <artifactId>commons-io</artifactId>
72 </dependency>
73 <dependency>
74 <groupId>net.sf.jopt-simple</groupId>
75 <artifactId>jopt-simple</artifactId>
76 <version>3.2</version>
77 </dependency>
78 <dependency>
79 <groupId>c3p0</groupId>
80 <artifactId>c3p0</artifactId>
81 <version>0.9.1</version>
82 </dependency>
83 <!-- DATABASE DRIVER -->
84 <dependency>
85 <groupId>mysql</groupId>
86 <artifactId>mysql-connector-java</artifactId>
87 <version>5.0.5</version>
88 </dependency>
89 </dependencies>
90
91
92 <build>
93 <plugins>
94 <!-- INSTALL -->
95 <plugin>
96 <artifactId>maven-assembly-plugin</artifactId>
97 <configuration>
98 <appendAssemblyId>false</appendAssemblyId>
99 <descriptors>
100 <descriptor>src/main/assembly/assembly.xml</descriptor>
101 </descriptors>
102 <archive>
103 <manifest>
104 <mainClass>eu.etaxonomy.cdm.server.Bootloader</mainClass>
105 </manifest>
106 </archive>
107 </configuration>
108 <executions>
109 <execution>
110 <id>make-assembly</id>
111 <phase>install</phase>
112 <goals>
113 <goal>attached</goal>
114 </goals>
115 </execution>
116 </executions>
117 </plugin>
118 <!-- package the default webapp -->
119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-war-plugin</artifactId>
122 <version>2.1-beta-1</version>
123 <configuration>
124 <warName>default-webapp</warName>
125 <overlays>
126 <overlay>
127 <groupId>eu.etaxonomy</groupId>
128 <artifactId>cdmlib-remote</artifactId>
129 <skip>true</skip><!-- Do Not overlay -->
130 </overlay>
131 </overlays>
132 </configuration>
133 <executions>
134 <execution>
135 <phase>package</phase>
136 <goals>
137 <goal>war</goal>
138 </goals>
139 </execution>
140 </executions>
141 </plugin>
142 <!-- DEPLOY -->
143 <plugin>
144 <artifactId>maven-antrun-plugin</artifactId>
145 <version>1.3</version>
146 <executions>
147 <execution>
148 <phase>install</phase>
149 <!--
150 must run after winstone-maven-plugin
151 -->
152 <configuration>
153 <tasks>
154 <!--
155 ${project.patchversion} is explicitely set in this pom
156
157 ${buildNumber} is set by the buildnumber-maven-plugin
158 Cannot create the build number if you have local modifications,
159 to allow creating a buildnumber anyway you can ommit
160 -->
161 <!-- FIXME
162 <property name="project.fullversionstring" value="${project.version}.${project.patchversion}.r${buildNumber}"/>
163 <property name="project.fullversionstring" value="${project.version}.0.r0000"/>
164 -->
165 <property name="project.fullversionstring" value="${project.version}.0.${maven.build.timestamp}"/>
166 <ant antfile="${project.basedir}/src/main/installer/linux/build-deb.xml" dir="${project.basedir}" />
167
168
169 </tasks>
170 </configuration>
171 <goals>
172 <goal>run</goal>
173 </goals>
174 </execution>
175 </executions>
176 </plugin>
177
178 </plugins>
179 </build>
180 </project>