Turbine
Maven archetypes for Apache Turbine applications - easier startup with Turbine
This is to announce that two Maven archetypes for the creation of Apache Turbine web applications have been released. They have been created to take the hassle out of the process of creating a new working Turbine project.
- Maven Archetype for the creation of a web application based on Turbine 4.0M1
- Maven Archetype for the creation of a web application based on Turbine 2.3.3
According to the Central Repository FAQ, the archetype catalog will be updated every Sunday, so with some luck the archetypes will be available tomorrow.
How to use them:
Use "mvn archetype:generate" in interactive mode to select one of (the numbers might be different):
...
673: remote -> org.apache.turbine:turbine-webapp-4.0 (This archetype sets up a web application project based on Apache Turbine 4.0M1)
674: remote -> org.apache.turbine:turbine-webapp-2.3.3 (This archetype sets up a web application project based on Apache Turbine 2.3.3)
...
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 227: 672
and follow the steps:
Define value for property 'groupId': : com.mycompany.turbine Define value for property 'artifactId': : myturbineapp Define value for property 'version': 1.0-SNAPSHOT: Define value for property 'package': com.mycompany.turbine:
Maven will now give you a summary of all settings of the new application and ask for confirmation:
[INFO] Using property: turbine_app_name = My Turbine Web Application
[INFO] Using property: turbine_database_adapter = mysql
[INFO] Using property: turbine_database_jndipath = java:comp/env/jdbc/Turbine
[INFO] Using property: turbine_database_name = turbine
[INFO] Using property: turbine_intake_file = intake.xml
Confirm properties configuration:
groupId: com.mycompany.turbine
artifactId: myturbineapp
version: 1.0-SNAPSHOT
package: com.mycompany.turbine
turbine_app_name: My Turbine Web Application
turbine_database_adapter: mysql
turbine_database_jndipath: java:comp/env/jdbc/Turbine
turbine_database_name: turbine
turbine_intake_file: intake.xml
Y: Y
If you respond with Y, Maven generates your project in the directory "myturbineapp" (the artifactId that you chose above):
[INFO] ---------------------------------------------------------------------------- [INFO] Using following parameters for creating project from Archetype: turbine-webapp-2.3.3:1.0.0 [INFO] ---------------------------------------------------------------------------- [INFO] Parameter: groupId, Value: com.mycompany.turbine [INFO] Parameter: artifactId, Value: myturbineapp [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] Parameter: package, Value: com.mycompany.turbine [INFO] Parameter: packageInPathFormat, Value: com/mycompany/turbine [INFO] Parameter: turbine_database_jndipath, Value: java:comp/env/jdbc/Turbine [INFO] Parameter: groupId, Value: com.mycompany.turbine [INFO] Parameter: turbine_app_name, Value: My Turbine Web Application [INFO] Parameter: turbine_database_name, Value: turbine [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] Parameter: turbine_intake_file, Value: intake.xml [INFO] Parameter: turbine_database_adapter, Value: mysql [INFO] Parameter: package, Value: com.mycompany.turbine [INFO] Parameter: artifactId, Value: myturbineapp [INFO] project created from Archetype in dir: /Users/thomas/Dev/myturbineapp [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 minutes 25 seconds [INFO] Finished at: Sun Nov 18 17:11:02 CET 2012 [INFO] Final Memory: 12M/62M [INFO] ------------------------------------------------------------------------
You can now start to use the project, add your own modules, templates and other resources. Running "mvn package" will create a complete WAR file, ready to be deployed.
Posted at 04:39PM Nov 18, 2012
by tv in Status |
|
Turbine Parent POM 2 released.
- Add customization of apache-release profile
- Move changelog to standard location
- Update Apache Parent POM to version 11 and remove all duplicate settings
- Remove definition of dummy repository as Nexus now is supposed to handle actual promotion of artifacts.
- Remove old release and rc profiles
It was necessary to create a new set of project configuration to be able to publish artifacts using the Nexus Repository Manager.
Posted at 03:44PM Nov 18, 2012
by tv in Status |
|
Encoding inside of Tomcat
Something to be aware of when switching the encoding to UTF-8 is that tomcat will need to be reconfigured also. The encoding of URL-parameters (for GET-requests) is still interpreted as ISO-8859-1. You may want to set useBodyEncodingForURI="true" in the connector in use. See http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html on what this does.
Posted at 11:22AM Mar 31, 2009
by buddy in Hints |
|
Enable UTF-8 Encoding for your Applications
On the Mailing List I found an interesting Post about how to enable UTF-8 if you are running Turbine 2.3.2 and later
services.VelocityService.input.encoding=UTF-8
services.VelocityService.output.encoding=UTF-8
locale.default.charset=UTF-8
input.encoding=UTF-8
Enjoy
Posted at 09:27AM Mar 30, 2009
by buddy in Hints |
|
Hudson Zone installed
To everyone who is interested in the current status of our development, please feel free to visit http://hudson.zones.apache.org/hudson/job/Turbine%20Core/ and http://hudson.zones.apache.org/hudson/job/Turbine%20Fulcrum/
Posted at 09:21AM Mar 30, 2009
by buddy in General |
|
fulcrum-yaafi-crypto-1.0.6 is released
The fulcrum-yaafi-crypto-team is pleased to announce the fulcrum-yaafi-crypto-1.0.6.jar release!
Fulcrum YAAFI Crypto Library
Source and binary distributions:
http://www.apache.org/dyn/closer.cgi/turbine/fulcrum/fulcrum-yaafi-crypto/
See also the download page at:
http://turbine.apache.org/fulcrum/fulcrum-yaafi-crypto/
The signatures can be downloaded from:
http://www.apache.org/dist/turbine/fulcrum/fulcrum-yaafi-crypto/
Changes in this version include:
New features:
o Moving the code out of YAAFI and make a standalone library.
Changes:
o Using the official fulcrum-parent-1 pom.
Have fun!
Posted at 08:59AM Mar 30, 2009
by buddy in General |
|
Turbine Blog Online
Hi Folks,
I am very happy to announce that the Turbine Project has setup its own blog. This blog will keep the users updated about what is happening on the development side of turbine. The ApacheCon in Amsterdam was last week, and as I know Thomas and Siegfried have worked like hell on the turbine core and fulcrum to get it built on maven2.
Jürgen
Posted at 08:56AM Mar 30, 2009
by buddy in General |
|