diff artifact-database/pom.xml @ 10:e8626caac353

* Made Artifact life cycle symmetric: setup/endOfLife. * Implement defaults for Artifact and ArtifactFactory. * Added connection pooling from apache commons dbcp * Made sql schema of artifact database more compatible. * Improve example config. * Made artifactdb start with 'mvn exec:exec' * minor fixes. artifacts/trunk@25 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 06 Sep 2009 12:00:56 +0000
parents 8f2de197bce2
children 5a6b6a3debc7
line wrap: on
line diff
--- a/artifact-database/pom.xml	Fri Sep 04 16:06:44 2009 +0000
+++ b/artifact-database/pom.xml	Sun Sep 06 12:00:56 2009 +0000
@@ -1,4 +1,5 @@
-<?xml version="1.0"?><project>
+<?xml version="1.0"?>
+<project>
   <parent>
     <artifactId>artifact-system</artifactId>
     <groupId>de.intevation.bsh</groupId>
@@ -12,35 +13,53 @@
   <url>http://maven.apache.org</url>
   <build>
     <plugins>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-jar-plugin</artifactId>
-          <version>2.2</version>
-          <configuration>
-            <archive>
-                <manifest>
-                    <mainClass>de.intevation.artifactdatabase.App</mainClass>
-                </manifest>
-            </archive>
-          </configuration>
-        </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.2</version>
+        <configuration>
+          <archive>
+            <manifest>
+              <mainClass>de.intevation.artifactdatabase.App</mainClass>
+            </manifest>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <version>1.1</version>
+        <configuration>
+          <executable>java</executable>
+          <arguments>
+            <argument>-classpath</argument>
+            <classpath/>
+            <argument>de.intevation.artifactdatabase.App</argument>
+          </arguments>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
   <dependencies>
     <dependency>
-        <groupId>de.intevation.bsh.artifacts</groupId>
-        <artifactId>artifacts</artifactId>
-        <version>1.0-SNAPSHOT</version>
+      <groupId>de.intevation.bsh.artifacts</groupId>
+      <artifactId>artifacts</artifactId>
+      <version>1.0-SNAPSHOT</version>
     </dependency>
-    <dependency>  
-      <groupId>org.restlet</groupId>  
-      <artifactId>org.restlet</artifactId>  
-      <version>2.0-M3</version>  
-    </dependency> 
     <dependency>
-        <groupId>com.h2database</groupId>
-        <artifactId>h2</artifactId>
-        <version>1.1.117</version>
+      <groupId>org.restlet</groupId>
+      <artifactId>org.restlet</artifactId>
+      <version>2.0-M3</version>
+    </dependency>
+    <dependency>
+      <groupId>com.h2database</groupId>
+      <artifactId>h2</artifactId>
+      <version>1.1.117</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-dbcp</groupId>
+      <artifactId>commons-dbcp</artifactId>
+      <version>1.2.2</version>
     </dependency>
   </dependencies>
 </project>

http://dive4elements.wald.intevation.org