Author: olegk
Date: Fri Nov  7 02:42:05 2008
New Revision: 712106

URL: http://svn.apache.org/viewvc?rev=712106&view=rev
Log:
Added module pom.xml for Droids Dynamic

Added:
    incubator/droids/trunk/depot/dynamic/pom.xml
Modified:
    
incubator/droids/trunk/depot/dynamic/src/java/org/apache/droids/dynamic/DroidsConfig.java
    incubator/droids/trunk/pom.xml

Added: incubator/droids/trunk/depot/dynamic/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/droids/trunk/depot/dynamic/pom.xml?rev=712106&view=auto
==============================================================================
--- incubator/droids/trunk/depot/dynamic/pom.xml (added)
+++ incubator/droids/trunk/depot/dynamic/pom.xml Fri Nov  7 02:42:05 2008
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- 
+   ====================================================================
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.
+   ====================================================================
+
+   This software consists of voluntary contributions made by many
+   individuals on behalf of the Apache Software Foundation.  For more
+   information on the Apache Software Foundation, please see
+   <http://www.apache.org />.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <artifactId>droids</artifactId>
+    <groupId>org.apache.droids</groupId>
+    <version>0.1-incubating-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+  <artifactId>droids-dynamic</artifactId>
+  <name>Droids Dynamic</name>
+  <inceptionYear>2007</inceptionYear>
+  <description>
+   Droids Runtime
+  </description>
+  <packaging>jar</packaging>  
+
+  <scm>
+    
<connection>scm:svn:http://svn.apache.org/repos/asf/incubator/droids/trunk/depot/dymamic</connection>
+    
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/droids/trunk/depot/dymamic</developerConnection>
+    
<url>http://svn.apache.org/repos/asf/labs/incubator/trunk/depot/dymamic</url>
+  </scm>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.droids</groupId>
+      <artifactId>droids-core</artifactId>
+      <version>${pom.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-spring-configurator</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  
+  <build>
+    <sourceDirectory>src/java</sourceDirectory>
+    <resources>
+      <resource>
+        <directory>src/java</directory>
+        <filtering>false</filtering>
+        <includes>
+          <include>**/*.xml</include>
+          <include>**/*.properties</include>
+          <include>**/*.txt</include>
+        </includes>
+      </resource>
+               </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>${maven.compile.source}</source>
+          <target>${maven.compile.target}</target>
+          <optimize>${maven.compile.optimize}</optimize>
+          <showDeprecations>${maven.compile.deprecation}</showDeprecations>
+        </configuration>
+      </plugin>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>

Modified: 
incubator/droids/trunk/depot/dynamic/src/java/org/apache/droids/dynamic/DroidsConfig.java
URL: 
http://svn.apache.org/viewvc/incubator/droids/trunk/depot/dynamic/src/java/org/apache/droids/dynamic/DroidsConfig.java?rev=712106&r1=712105&r2=712106&view=diff
==============================================================================
--- 
incubator/droids/trunk/depot/dynamic/src/java/org/apache/droids/dynamic/DroidsConfig.java
 (original)
+++ 
incubator/droids/trunk/depot/dynamic/src/java/org/apache/droids/dynamic/DroidsConfig.java
 Fri Nov  7 02:42:05 2008
@@ -17,6 +17,7 @@
 package org.apache.droids.dynamic;
 
 import org.apache.droids.api.Droid;
+import org.apache.droids.exception.DroidsException;
 import org.apache.droids.helper.factories.DroidFactory;
 import org.apache.droids.helper.factories.HandlerFactory;
 import org.apache.droids.helper.factories.ParserFactory;
@@ -90,7 +91,7 @@
    * identified by the given name and then start it.
    * @param name the name of the droid we want to use
    */
-  public void start(String name){
+  public void start(String name) throws DroidsException {
     Droid droid = getDroid(name);
     
     droid.init();

Modified: incubator/droids/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/droids/trunk/pom.xml?rev=712106&r1=712105&r2=712106&view=diff
==============================================================================
--- incubator/droids/trunk/pom.xml (original)
+++ incubator/droids/trunk/pom.xml Fri Nov  7 02:42:05 2008
@@ -63,8 +63,9 @@
     <wstx-asl.version>3.2.7</wstx-asl.version>
     <httpclient.version>4.0-beta1</httpclient.version>
     <nekohtml.version>1.9.6.2</nekohtml.version>
-    <junit.version>4.5</junit.version>
     <log4j.version>1.2.14</log4j.version>
+    <spring-conf.version>2.0.0</spring-conf.version>
+    <junit.version>4.5</junit.version>
   </properties>
 
   <dependencyManagement>
@@ -117,6 +118,11 @@
         <version>${log4j.version}</version>
       </dependency>
       <dependency>
+        <groupId>org.apache.cocoon</groupId>
+        <artifactId>cocoon-spring-configurator</artifactId>
+        <version>${spring-conf.version}</version>
+      </dependency>
+      <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>${junit.version}</version>
@@ -126,6 +132,7 @@
 
   <modules>
     <module>module-core</module>
+    <module>depot/dynamic</module>
   </modules>
 
 </project>


Reply via email to