Hi Thomas,

thanks, I got it: A webapp using Turbine-4.0-M1, based on the mentioned maven archetype project.

Some, for me necessary: missing dependencies for pom.xml:
* org.apache.fulcrum:fulcrum-cache
* org.apache.fulcrum:fulcrum-upload

and some modifies in TurbineResource.properties:
* services.RunDataService.default.parameter.parser=org.apache.fulcrum.parser.DefaultParameterParser * services.RunDataService.default.cookie.parser=org.apache.fulcrum.parser.DefaultCookieParser * services.AvalonComponentService.containerConfiguration=${applicationRoot}/WEB-INF/conf/containerConfiguration.xml

see attached patch file accordingly.

cheers,
Johannes


Am 05.05.2012 16:04, schrieb Thomas Vandahl:
Hi Johannes,

Am 03.05.2012 09:44, schrieb [email protected]:
Is there any special support for maven from turbine 4.0, e.g. a project
template?

Just a quick reply that there are drafts of maven-archetypes available
that you could try. The web applications created from them are tested.
See http://www.mail-archive.com/[email protected]/msg00429.html

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Index: src/main/resources/archetype-resources/pom.xml
===================================================================
--- src/main/resources/archetype-resources/pom.xml      (revision 1341769)
+++ src/main/resources/archetype-resources/pom.xml      (working copy)
@@ -213,6 +213,16 @@
             <artifactId>fulcrum-yaafi</artifactId>
             <version>1.0.6</version>
         </dependency>
+               <dependency>
+            <groupId>org.apache.fulcrum</groupId>
+            <artifactId>fulcrum-cache</artifactId>
+            <version>1.1.0</version>
+        </dependency>
+               <dependency>
+            <groupId>org.apache.fulcrum</groupId>
+            <artifactId>fulcrum-upload</artifactId>
+            <version>1.0.4</version>
+        </dependency>
 
         <dependency>
             <groupId>junit</groupId>
Index: 
src/main/resources/archetype-resources/src/main/webapp/WEB-INF/conf/TurbineResources.properties
===================================================================
--- 
src/main/resources/archetype-resources/src/main/webapp/WEB-INF/conf/TurbineResources.properties
     (revision 1341769)
+++ 
src/main/resources/archetype-resources/src/main/webapp/WEB-INF/conf/TurbineResources.properties
     (working copy)
@@ -361,8 +361,8 @@
 # -------------------------------------------------------------------
 
 
services.RunDataService.default.run.data=org.apache.turbine.services.rundata.DefaultTurbineRunData
-services.RunDataService.default.parameter.parser=org.apache.turbine.util.parser.DefaultParameterParser
-services.RunDataService.default.cookie.parser=org.apache.turbine.util.parser.DefaultCookieParser
+services.RunDataService.default.parameter.parser=org.apache.fulcrum.parser.DefaultParameterParser
+services.RunDataService.default.cookie.parser=org.apache.fulcrum.parser.DefaultCookieParser
 
 # -------------------------------------------------------------------
 #
@@ -663,7 +663,7 @@
 #
 # Name and location to the configuration file for the components.
 #
-services.AvalonComponentService.containerConfiguration = 
WEB-INF/conf/containerConfiguration.xml
+services.AvalonComponentService.containerConfiguration = 
${applicationRoot}/WEB-INF/conf/containerConfiguration.xml
 services.AvalonComponentService.earlyInit= true
 
 # -------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to