mystic-apps~mystic-apps

view mysticpaste/pom.xml @ 90:bffc68c8b114

fix usage of a database by uncommenting @Transactional
author kinabalu@andrew-lombardis-macbook-pro-76.local
date Wed, 11 Nov 2009 08:22:28 -0800
parents f545504b12ce
children
line source
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>com.mysticcoders</groupId>
5 <artifactId>mysticpaste</artifactId>
6 <packaging>war</packaging>
7 <version>1.0-SNAPSHOT</version>
8 <name>MysticPaste</name>
9 <description>Mystic Apps - MysticPaste is a pastebin application written in Wicket</description>
10 <inceptionYear>2009</inceptionYear>
12 <parent>
13 <groupId>com.mysticcoders</groupId>
14 <artifactId>mysticpaste-parent</artifactId>
15 <version>1.0-SNAPSHOT</version>
16 </parent>
18 <organization>
19 <name>Mystic Coders, LLC</name>
20 <url>http://www.mysticcoders.com/</url>
21 </organization>
23 <developers>
24 <developer>
25 <name>Craig Tataryn</name>
26 <email>ctataryn@mysticcoders.com</email>
27 </developer>
28 <developer>
29 <name>Guillermo Castro</name>
30 <email>gcastro@mysticcoders.com</email>
31 <timezone>-6</timezone>
32 </developer>
33 <developer>
34 <name>Johan Edstrom</name>
35 <email>jedstrom@mysticcoders.com</email>
36 </developer>
37 <developer>
38 <name>Steve Forsyth</name>
39 <email>sforsyth@mysticcoders.com</email>
40 </developer>
41 <developer>
42 <name>Andrew Lombardi</name>
43 <email>andrew@mysticcoders.com</email>
44 <timezone>-8</timezone>
45 </developer>
46 </developers>
48 <scm>
49 <connection>scm:hg:https://kenai.com/hg/mystic-apps~mystic-apps</connection>
50 <developerConnection>scm:hg:https://kenai.com/hg/mystic-apps~mystic-apps</developerConnection>
51 <url>http://kenai.com/projects/mystic-apps/sources/mystic-apps/show</url>
52 </scm>
54 <issueManagement>
55 <system>JIRA</system>
56 <url>http://kenai.com/jira/browse/MYSTIC_APPS</url>
57 </issueManagement>
59 <licenses>
60 <license>
61 <name>The Apache Software License, Version 2.0</name>
62 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
63 <distribution>repo</distribution>
64 </license>
65 </licenses>
67 <pluginRepositories>
68 <pluginRepository>
69 <id>Codehaus repository</id>
70 <url>http://repository.codehaus.org/</url>
71 <releases>
72 <enabled>true</enabled>
73 </releases>
74 </pluginRepository>
75 </pluginRepositories>
77 <repositories>
78 <repository>
79 <id>jboss</id>
80 <url>http://repository.jboss.org/maven2</url>
81 </repository>
82 <repository>
83 <id>mystic</id>
84 <url>http://maven.mysticcoders.com/repository</url>
85 </repository>
86 </repositories>
88 <dependencies>
89 <!-- WICKET DEPENDENCIES -->
90 <dependency>
91 <groupId>org.apache.wicket</groupId>
92 <artifactId>wicket</artifactId>
93 <version>${wicket.version}</version>
94 </dependency>
95 <dependency>
96 <groupId>org.apache.wicket</groupId>
97 <artifactId>wicket-extensions</artifactId>
98 <version>${wicket.version}</version>
99 </dependency>
100 <dependency>
101 <groupId>org.apache.wicket</groupId>
102 <artifactId>wicket-ioc</artifactId>
103 <version>${wicket.version}</version>
104 </dependency>
105 <dependency>
106 <groupId>org.apache.wicket</groupId>
107 <artifactId>wicket-spring</artifactId>
108 <version>${wicket.version}</version>
109 </dependency>
110 <!-- HIBERNATE DEPENDNECIES -->
111 <dependency>
112 <groupId>org.hibernate</groupId>
113 <artifactId>hibernate-annotations</artifactId>
114 <version>${hibernate.version}</version>
115 </dependency>
116 <dependency>
117 <groupId>c3p0</groupId>
118 <artifactId>c3p0</artifactId>
119 <version>${c3p0.version}</version>
120 </dependency>
121 <dependency>
122 <groupId>postgresql</groupId>
123 <artifactId>postgresql</artifactId>
124 <version>${postgres.version}</version>
125 </dependency>
126 <dependency>
127 <groupId>javax.transaction</groupId>
128 <artifactId>jta</artifactId>
129 <version>${jta.version}</version>
130 </dependency>
131 <dependency>
132 <groupId>commons-dbcp</groupId>
133 <artifactId>commons-dbcp</artifactId>
134 <version>${dbcp.version}</version>
135 </dependency>
136 <!-- SPRING DEPENDENCIES -->
137 <dependency>
138 <groupId>org.springframework</groupId>
139 <artifactId>spring</artifactId>
140 <version>${spring.version}</version>
141 </dependency>
142 <dependency>
143 <groupId>org.springframework</groupId>
144 <artifactId>spring-test</artifactId>
145 <version>${spring.version}</version>
146 </dependency>
147 <dependency>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring-tx</artifactId>
150 <version>${spring.version}</version>
151 <exclusions>
152 <exclusion>
153 <groupId>org.springframework</groupId>
154 <artifactId>spring-core</artifactId>
155 </exclusion>
156 <exclusion>
157 <groupId>org.springframework</groupId>
158 <artifactId>spring-context</artifactId>
159 </exclusion>
160 <exclusion>
161 <groupId>org.springframework</groupId>
162 <artifactId>spring-beans</artifactId>
163 </exclusion>
164 </exclusions>
165 </dependency>
167 <!-- Hazelcast Dependencies -->
168 <dependency>
169 <groupId>com.hazelcast</groupId>
170 <artifactId>hazelcast</artifactId>
171 <version>${hazelcast.version}</version>
172 </dependency>
174 <!-- TWITTER4J DEPENDENCIES -->
175 <dependency>
176 <groupId>net.homeip.yusuke</groupId>
177 <artifactId>twitter4j</artifactId>
178 <version>2.0.8</version>
179 <exclusions>
180 <exclusion>
181 <groupId>org.slf4j</groupId>
182 <artifactId>nlog4j</artifactId>
183 </exclusion>
184 </exclusions>
185 </dependency>
187 <!-- LOGGING DEPENDENCIES - LOG4J -->
188 <dependency>
189 <groupId>org.slf4j</groupId>
190 <artifactId>slf4j-api</artifactId>
191 <version>${slf4j.version}</version>
192 </dependency>
193 <dependency>
194 <groupId>org.slf4j</groupId>
195 <artifactId>slf4j-log4j12</artifactId>
196 <version>${slf4j.version}</version>
197 </dependency>
198 <!--
199 <dependency>
200 <groupId>log4j</groupId>
201 <artifactId>log4j</artifactId>
202 <version>${log4j.version}</version>
203 </dependency>
204 -->
206 <!-- JUNIT DEPENDENCY FOR TESTING -->
207 <dependency>
208 <groupId>junit</groupId>
209 <artifactId>junit</artifactId>
210 <version>${junit.version}</version>
211 <scope>test</scope>
212 </dependency>
214 <!-- EasyMock for test cases -->
216 <dependency>
217 <groupId>org.easymock</groupId>
218 <artifactId>easymock</artifactId>
219 <version>2.4</version>
220 </dependency>
222 <dependency>
223 <groupId>org.easymock</groupId>
224 <artifactId>easymockclassextension</artifactId>
225 <version>2.4</version>
226 </dependency>
228 <dependency>
229 <groupId>org.dbunit</groupId>
230 <artifactId>dbunit</artifactId>
231 <version>2.2</version>
232 <scope>test</scope>
233 </dependency>
234 <dependency>
235 <groupId>org.unitils</groupId>
236 <artifactId>unitils</artifactId>
237 <version>1.0</version>
238 </dependency>
240 <dependency>
241 <groupId>hsqldb</groupId>
242 <artifactId>hsqldb</artifactId>
243 <version>1.8.0.7</version>
244 </dependency>
246 <!-- JETTY DEPENDENCIES FOR TESTING -->
247 <dependency>
248 <groupId>org.mortbay.jetty</groupId>
249 <artifactId>jetty</artifactId>
250 <version>${jetty.version}</version>
251 <scope>provided</scope>
252 </dependency>
253 <dependency>
254 <groupId>org.mortbay.jetty</groupId>
255 <artifactId>jetty-util</artifactId>
256 <version>${jetty.version}</version>
257 <scope>provided</scope>
258 </dependency>
259 <dependency>
260 <groupId>org.mortbay.jetty</groupId>
261 <artifactId>jetty-management</artifactId>
262 <version>${jetty.version}</version>
263 <scope>provided</scope>
264 </dependency>
266 <!-- RESTEASY DEPENDENCIES -->
267 <dependency>
268 <groupId>org.jboss.resteasy</groupId>
269 <artifactId>resteasy-jaxrs</artifactId>
270 <version>${resteasy.version}</version>
271 </dependency>
273 </dependencies>
275 <build>
276 <finalName>mysticpaste</finalName>
277 <filters>
278 <filter>src/main/filters/filters-${env}.properties</filter>
279 </filters>
280 <resources>
281 <resource>
282 <filtering>true</filtering>
283 <directory>src/main/resources</directory>
284 </resource>
285 <resource>
286 <filtering>false</filtering>
287 <directory>src/main/java</directory>
288 <includes>
289 <include>**</include>
290 </includes>
291 <excludes>
292 <exclude>**/*.java</exclude>
293 </excludes>
294 </resource>
295 </resources>
296 <testResources>
297 <testResource>
298 <filtering>true</filtering>
299 <directory>src/test/resources</directory>
300 <includes>
301 <include>**</include>
302 </includes>
303 <excludes>
304 <exclude>**/*.java</exclude>
305 </excludes>
306 </testResource>
307 </testResources>
308 <plugins>
309 <plugin>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-compiler-plugin</artifactId>
312 <configuration>
313 <source>1.5</source>
314 <target>1.5</target>
315 </configuration>
316 </plugin>
317 <plugin>
318 <groupId>org.mortbay.jetty</groupId>
319 <artifactId>maven-jetty-plugin</artifactId>
320 </plugin>
321 <plugin>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-eclipse-plugin</artifactId>
324 <configuration>
325 <downloadSources>true</downloadSources>
326 </configuration>
327 </plugin>
328 <!-- Hibernate 3.x maven plugin -->
329 <plugin>
330 <groupId>org.codehaus.mojo</groupId>
331 <artifactId>hibernate3-maven-plugin</artifactId>
332 <version>2.2</version>
333 <!--
334 <executions>
335 <execution>
336 <phase>process-classes</phase>
337 <goals>
338 <goal>hbm2ddl</goal>
339 </goals>
340 </execution>
341 </executions>
342 -->
343 <configuration>
344 <components>
345 <component>
346 <name>hbm2ddl</name>
347 <implementation>annotationconfiguration</implementation>
348 </component>
349 </components>
350 <componentProperties>
351 <implementation>annotationconfiguration</implementation>
352 <outputfilename>schema.ddl</outputfilename>
353 <drop>false</drop>
354 <create>true</create>
355 <export>false</export>
356 <format>true</format>
357 </componentProperties>
358 </configuration>
359 </plugin>
360 </plugins>
361 </build>
363 <properties>
364 <wicket.version>1.4.0</wicket.version>
365 <jetty.version>6.1.4</jetty.version>
366 <spring.version>2.5.5</spring.version>
367 <hibernate.version>3.4.0.GA</hibernate.version>
368 <c3p0.version>0.9.1.2</c3p0.version>
369 <junit.version>4.5</junit.version>
370 <postgres.version>8.3-603.jdbc4</postgres.version>
371 <commons-lang.version>2.4</commons-lang.version>
372 <javamail.version>1.4.1</javamail.version>
373 <commons-fileupload.version>1.2.1</commons-fileupload.version>
374 <jta.version>1.0.1B</jta.version>
375 <dbcp.version>1.2.2</dbcp.version>
376 <slf4j.version>1.4.2</slf4j.version>
377 <log4j.version>1.2.14</log4j.version>
378 <easymock.version>2.4</easymock.version>
379 <resteasy.version>1.0.2.GA</resteasy.version>
380 <hazelcast.version>1.7.1</hazelcast.version>
381 </properties>
383 <profiles>
384 <profile>
385 <id>LOCAL</id>
386 <activation>
387 <activeByDefault>true</activeByDefault>
388 </activation>
389 <properties>
390 <env>LOCAL</env>
391 </properties>
392 </profile>
393 <profile>
394 <id>DEV</id>
395 <properties>
396 <env>DEV</env>
397 </properties>
398 </profile>
399 <profile>
400 <id>QA</id>
401 <properties>
402 <env>QA</env>
403 </properties>
404 </profile>
405 <profile>
406 <id>PROD</id>
407 <properties>
408 <env>PROD</env>
409 </properties>
410 </profile>
411 </profiles>
412 </project>