You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ep...@apache.org on 2004/03/31 21:18:44 UTC
cvs commit: jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/templates/layouts Default.vm
epugh 2004/03/31 11:18:44
Added: extensions/maven-plugin/src/plugin-resources/conf
application-web.xml componentConfiguration.xml
log4j.properties TurbineResources.properties
application-intake.xml torque.properties
application.properties roleConfiguration.xml
extensions/maven-plugin/src/plugin-resources/schema
turbine-security-schema.xml application-data.xml
id-table-schema.xml turbine-security-data.xml
application-data.dtd application-schema.xml
turbine-security-data.dtd
extensions/maven-plugin/src/plugin-resources/maven maven.xml
build.properties project.xml setup.properties
project.properties
extensions/maven-plugin/src/plugin-resources/templates/screens
Index.vm
extensions/maven-plugin/src/plugin-resources/images
powered-by-logo.gif jakarta-logo-blue.gif
extensions/maven-plugin/src/plugin-resources/templates/macros
applicationMacros.vm
extensions/maven-plugin/src/plugin-resources/templates/layouts
Default.vm
Log:
Import META: Maven Environment for Turbine Applications
Revision Changes Path
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/conf/application-web.xml
Index: application-web.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<!-- $Id: application-web.xml,v 1.1 2004/03/31 19:18:43 epugh Exp $ -->
<web-app>
<!-- ======================================================================== -->
<!-- -->
<!-- Uncomment the following block if you want to use the Session Service -->
<!-- -->
<!-- ======================================================================== -->
<!--
<listener>
<listener-class>org.apache.turbine.services.session.SessionListener</listener-class>
</listener>
-->
<servlet>
<servlet-name>@TURBINE_APP_NAME@</servlet-name>
<servlet-class>org.apache.turbine.Turbine</servlet-class>
<init-param>
<param-name>properties</param-name>
<param-value>/WEB-INF/conf/TurbineResources.properties</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>@TURBINE_APP_NAME@</servlet-name>
<url-pattern>/app/*</url-pattern>
</servlet-mapping>
</web-app>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/conf/componentConfiguration.xml
Index: componentConfiguration.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ======================================================================== -->
<!-- -->
<!-- Avalon component configuration for loading Torque -->
<!-- -->
<!-- $Id: componentConfiguration.xml,v 1.1 2004/03/31 19:18:43 epugh Exp $ -->
<!-- -->
<!-- ======================================================================== -->
<componentConfig>
<torque>
<configfile>/WEB-INF/conf/torque.properties</configfile>
</torque>
</componentConfig>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/conf/log4j.properties
Index: log4j.properties
===================================================================
# ------------------------------------------------------------------------
#
# Logging Configuration
#
# $Id: log4j.properties,v 1.1 2004/03/31 19:18:43 epugh Exp $
#
# ------------------------------------------------------------------------
#
# If we don't know the logging facility, put it into the
# turbine.log
#
log4j.rootLogger = INFO, app
#
# Turbine goes into Turbine Log
#
log4j.category.org.apache.turbine = INFO, turbine
log4j.additivity.org.apache.turbine = false
#
# Torque has its own log file
#
log4j.category.org.apache.torque = INFO, torque
log4j.additivity.org.apache.torque = false
#
# Velocity Logfile
#
log4j.category.velocity = INFO, velocity
log4j.additivity.velocity = false
#
# Scheduler Category
#
log4j.category.scheduler = INFO, scheduler
log4j.additivity.scheduler = false
#
# Avalon Logfile
#
log4j.category.avalon = INFO, avalon
log4j.additivity.avalon = false
#
# Application debugging
#
log4j.category.@TURBINE_APP_PACKAGE@ = DEBUG, app
log4j.additivity.@TURBINE_APP_PACKAGE@ = false
########################################################################
#
# Logfile definitions
#
########################################################################
#
# turbine.log
#
log4j.appender.turbine = org.apache.log4j.FileAppender
log4j.appender.turbine.file = ${applicationRoot}/logs/turbine.log
log4j.appender.turbine.layout = org.apache.log4j.PatternLayout
log4j.appender.turbine.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.turbine.append = false
#
# torque.log
#
log4j.appender.torque = org.apache.log4j.FileAppender
log4j.appender.torque.file = ${applicationRoot}/logs/torque.log
log4j.appender.torque.layout = org.apache.log4j.PatternLayout
log4j.appender.torque.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.torque.append = false
#
# Scheduler Output
#
log4j.appender.scheduler = org.apache.log4j.FileAppender
log4j.appender.scheduler.file = ${applicationRoot}/logs/scheduler.log
log4j.appender.scheduler.layout = org.apache.log4j.PatternLayout
log4j.appender.scheduler.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.scheduler.append = false
#
# Velocity gets configured to write its output onto the velocity
# category.
#
log4j.appender.velocity = org.apache.log4j.FileAppender
log4j.appender.velocity.file = ${applicationRoot}/logs/velocity.log
log4j.appender.velocity.layout = org.apache.log4j.PatternLayout
log4j.appender.velocity.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.velocity.append = false
#
# Avalon gets configured to write its output onto the avalon
# category.
#
log4j.appender.avalon = org.apache.log4j.FileAppender
log4j.appender.avalon.file = ${applicationRoot}/logs/avalon.log
log4j.appender.avalon.layout = org.apache.log4j.PatternLayout
log4j.appender.avalon.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.avalon.append = false
#
# Application.log
#
log4j.appender.app = org.apache.log4j.FileAppender
log4j.appender.app.file = ${applicationRoot}/logs/application.log
log4j.appender.app.layout = org.apache.log4j.PatternLayout
log4j.appender.app.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.app.append = false
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/conf/TurbineResources.properties
Index: TurbineResources.properties
===================================================================
# -------------------------------------------------------------------
# $Id: TurbineResources.properties,v 1.1 2004/03/31 19:18:43 epugh Exp $
#
# This is the configuration file for Turbine.
#
# Note that strings containing "," (comma) characters must backslash
# escape the comma (i.e. '\,')
#
# -------------------------------------------------------------------
# -------------------------------------------------------------------
#
# L O G 4 J - L O G G I N G
#
# -------------------------------------------------------------------
log4j.file = /WEB-INF/conf/log4j.properties
# -------------------------------------------------------------------
#
# M A I L S E R V E R
#
# -------------------------------------------------------------------
# Your mail server for outgoing email.
#
# Default: null
# -------------------------------------------------------------------
mail.server=
# -------------------------------------------------------------------
# SMTP-From header for your outgoing messages
#
# All failed delivery messages will be returned to this address.
# If unset, these messages will be sent to the address in the
# From header (standard behaviour)
#
# Default: null
# -------------------------------------------------------------------
mail.smtp.from=
# -------------------------------------------------------------------
#
# M O D U L E C A C H I N G
#
# -------------------------------------------------------------------
# This determines whether or not to cache the modules in memory. For
# development, turn this off. For production, turn this on.
#
# Default: false
# -------------------------------------------------------------------
module.cache=false
# If module.cache=true, then how large should we make the hashtables
# by default.
action.cache.size=20
layout.cache.size=10
navigation.cache.size=10
page.cache.size=5
screen.cache.size=50
scheduledjob.cache.size=10
# -------------------------------------------------------------------
#
# M O D U L E P A C K A G E S
#
# -------------------------------------------------------------------
# This is the "classpath" for Turbine. In order to locate your own
# modules, you should add them to this path. For example, if you have
# com.company.actions, com.company.screens, com.company.navigations,
# then this setting would be "com.company,org.apache.turbine.modules".
# This path is searched in order. For example, Turbine comes with a
# screen module named "Login". If you wanted to have your own screen
# module named "Login", then you would specify the path to your
# modules before the others.
#
# Note: org.apache.turbine.modules will always be added to the search
# path. If it is not explictly added here, it will be added to the
# end.
#
# Default: org.apache.turbine.modules
# -------------------------------------------------------------------
module.packages=org.apache.turbine.modules
# -------------------------------------------------------------------
#
# F R A M E W O R K S E T T I N G S
#
# -------------------------------------------------------------------
# These are settings that control the behaviour of the framework,
# such as determining whether a template system is in use, what
# the default templates and screens are and session handling settings.
# -------------------------------------------------------------------
# Used to set the template homepage if you are using a template
# layout. This is the template that will be displayed to the user
# when no specific template is requested. This is normally executed
# as the first template the user sees when they access the system.
#
# Default: Index.vm
template.homepage=Index.vm
# This is the default screen to show to people when they first access
# the system. This is only used if there is no value for
# template.homepage. This is for use when you are not using a
# templating system such as Velocity or JSP.
#
# Default: Login
screen.homepage=
# This is the template that is shown on an incorrect login attempt.
# Setting this property will override any value of screen.login specfied
# below.
#
# Default: Login.vm
template.login=Login.vm
# This is the page that is shown on an incorrect login attempt. It is
# referenced in the LoginUser action. This is only used if there is no value
# for template.login. This is for use when you are not using a
# templating system such as Velocity or JSP.
#
# Default: Login
screen.login=
# This is the template that is used by the respective Template based
# ErrorScreen for displaying the error. If you are not using a Template based
# ErrorScreen, then this is ignored.
#
# Default: Error.vm
template.error=Error.vm
# This is the default error screen.
#
# Default: VelocityErrorScreen
screen.error=VelocityErrorScreen
# This is the screen that is displayed when the user's web page is in
# an invalid state.
#
# Default: error.InvalidState
screen.invalidstate=error.InvalidState
# Set the default Doctype. The default Doctype can be set by using
# the single strings: Html40Strict, Html40Transitional, or
# Html40Frameset. Additionally the default can be supplied as two
# strings separated by a comma giving the DTD and URI.
#
# Default: ignored if not set to some value.
default.doctype=Html40Transitional
# This is the default action to log a user in. If you write your own
# implementation of the login action, make sure that you change this
# to reflect the new name.
action.login=LoginUser
# This is the default action to log a user out. If you write your own
# implementation of the logout action, make sure that you change this
# to reflect the new name.
action.logout=LogoutUser
# This is the default action to validate whether or not a session is
# valid. For example, if you want to make sure if a user has already
# logged in or not.
#
# Default: SessionValidator
action.sessionvalidator=sessionvalidator.TemplateSessionValidator
#
# Use this setting if you want your application to display the Login Screen
# as first action and does not allow any operation before the user has
# logged in
#
#action.sessionvalidator=sessionvalidator.TemplateSecureSessionValidator
# This is the timeout in seconds for sessions. If left commented out, the
# servlet container's default timeout will be left as is.
# session.timeout=1800
# This is the default action that builds up the AccessControlList for
# the individual users session.
action.accesscontroller=AccessController
#
# Set this value to true if you want to be able to submit multiple
# events to an Action by doing eventSubmit_do<action> and consider
# only events that have a non-empty, non-zero value. This is useful
# if you submit your form with JavaScript
#
action.eventsubmit.needsvalue = true
# -------------------------------------------------------------------
#
# J N D I C O N T E X T S
#
# -------------------------------------------------------------------
# This indicates whether Turbine should try to create JNDI contexts.
#
# Default: false
#
# contexts=true
# These are the JNDI context properties. Each context's properties
# are defined by the properties beginning with context.name.
#
# Default: none
#
# Example: The following will create a JNDI context named "name" in
# the data.contexts Hashtable. It will point at the RMI registry on
# localhost running on port 1099, and will use
# com.sun.jndi.rmi.registry.RegistryContextFactory as the initial
# context factory:
#
# context.name.java.naming.provider.url=rmi://localhost:1099
# context.name.java.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFactory
# -------------------------------------------------------------------
#
# S E C U R E S O C K E T S L A Y E R
#
# -------------------------------------------------------------------
# Whether the web server is able to use SSL. Links in Turbine can
# check this property to determine if SSL can be used.
#
# Default: true
# -------------------------------------------------------------------
use.ssl=false
# -------------------------------------------------------------------
#
# S E R V I C E S
#
# -------------------------------------------------------------------
# Classes for Turbine Services should be defined here.
# Format: services.[name].classname=[implementing class]
#
# To specify properties of a service use the following syntax:
# service.[name].[property]=[value]
#
# The order that these services is listed is important! The
# order that is stated here is the order in which the services
# will be initialized. Keep this is mind if you have services
# that depend on other services during initialization.
# -------------------------------------------------------------------
services.AvalonComponentService.classname=org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
services.CryptoService.classname=org.apache.turbine.services.crypto.TurbineCryptoService
#services.ComponentService.classname=org.apache.turbine.services.component.TurbineComponentService
services.FactoryService.classname=org.apache.turbine.services.factory.TurbineFactoryService
services.PoolService.classname=org.apache.turbine.services.pool.TurbinePoolService
services.RunDataService.classname=org.apache.turbine.services.rundata.TurbineRunDataService
services.ServletService.classname=org.apache.turbine.services.servlet.TurbineServletService
services.AssemblerBrokerService.classname=org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerService
services.GlobalCacheService.classname=org.apache.turbine.services.cache.TurbineGlobalCacheService
services.SecurityService.classname=org.apache.turbine.services.security.torque.TorqueSecurityService
services.PullService.classname=org.apache.turbine.services.pull.TurbinePullService
services.IntakeService.classname=org.apache.turbine.services.intake.TurbineIntakeService
services.TemplateService.classname=org.apache.turbine.services.template.TurbineTemplateService
services.VelocityService.classname=org.apache.turbine.services.velocity.TurbineVelocityService
services.UploadService.classname=org.apache.turbine.services.upload.TurbineUploadService
# -------------------------------------------------------------------
#
# R U N D A T A S E R V I C E
#
# -------------------------------------------------------------------
# Default implementations of base interfaces for request processing.
# Additional configurations can be defined by using other keys
# in the place of the <default> key.
# -------------------------------------------------------------------
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
# -------------------------------------------------------------------
#
# C A C H E S E R V I C E
#
# -------------------------------------------------------------------
# Interval at which the cache will be checked. The default is
# 5000ms or 5 seconds.
services.GlobalCacheService.cache.check.frequency = 5000
# -------------------------------------------------------------------
#
# A S S E M B L E R B R O K E R S E R V I C E
#
# -------------------------------------------------------------------
# A list of AssemblerFactory classes that will be registered
# with TurbineAssemblerBrokerService
# -------------------------------------------------------------------
services.AssemblerBrokerService.screen=org.apache.turbine.services.assemblerbroker.util.java.JavaScreenFactory
services.AssemblerBrokerService.action=org.apache.turbine.services.assemblerbroker.util.java.JavaActionFactory
services.AssemblerBrokerService.layout=org.apache.turbine.services.assemblerbroker.util.java.JavaLayoutFactory
services.AssemblerBrokerService.page=org.apache.turbine.services.assemblerbroker.util.java.JavaPageFactory
services.AssemblerBrokerService.navigation=org.apache.turbine.services.assemblerbroker.util.java.JavaNavigationFactory
services.AssemblerBrokerService.scheduledjob=org.apache.turbine.services.assemblerbroker.util.java.JavaScheduledJobFactory
# -------------------------------------------------------------------
#
# T E M P L A T E S E R V I C E
#
# -------------------------------------------------------------------
# Roughly, the number of templates in each category.
#
# Defaults: layout=2, navigation=10, screen=50
services.TemplateService.layout.cache.size=2
services.TemplateService.navigation.cache.size=10
services.TemplateService.screen.cache.size=50
# -------------------------------------------------------------------
#
# P U L L S E R V I C E
#
# -------------------------------------------------------------------
# These are the properties for the Pull Service, the service
# that works in conjuction with the Turbine Pull Model API.
# -------------------------------------------------------------------
services.PullService.earlyInit= true
# This determines whether the non-request tools are refreshed
# on each request (request tools aren't ever, because they're
# instantiated for the request only anyway).
services.PullService.tools.per.request.refresh=true
# These are tools that are placed in the context by the service
# These tools will be made available to all your
# templates. You list the tools in the following way:
#
# tool.<scope>.<id> = <classname>
#
# <scope> is the tool scope: global, request, session
# or persistent (see below for more details)
# <id> is the name of the tool in the context
#
# You can configure the tools in this way:
# tool.<id>.<parameter> = <value>
#
# So if you find "global", "request", "session" or "persistent" as second
# part, it is a configuration to put a tool into the toolbox, else it is a
# tool specific configuration.
#
# For example:
#
# tool.global.ui = org.apache.turbine.util.pull.UIManager
# tool.global.mm = org.apache.turbine.util.pull.MessageManager
# tool.request.link = org.apache.turbine.util.template.TemplateLink
# tool.request.page = org.apache.turbine.util.template.TemplatePageAttributes
#
# Then:
#
# tool.ui.skin = default
#
# configures the value of "skin" for the "ui" tool.
#
# Tools are accessible in all templates by the <id> given
# to the tool. So for the above listings the UIManager would
# be available as $ui, the MessageManager as $mm, the TemplateLink
# as $link and the TemplatePageAttributes as $page.
#
# You should avoid using tool names called "global", "request",
# "session" or "persistent" because of clashes with the possible Scopes.
#
# Scopes:
#
# global: tool is instantiated once and that instance is available
# to all templates for all requests. Tool must be threadsafe.
#
# request: tool is instantiated once for each request (although the
# PoolService is used to recycle instances). Tool need not
# be threadsafe.
#
# session: tool is instantiated once for each user session, and is
# stored in the user's temporary hashtable. Tool should be
# threadsafe.
#
# persistent: tool is instantitated once for each use session, and
# is stored in the user's permanent hashtable. This means
# for a logged in user the tool will be persisted in the
# user's objectdata. Tool should be threadsafe and
# Serializable.
#
# Defaults: none
tool.request.link=org.apache.turbine.services.pull.tools.TemplateLink
tool.request.page=org.apache.turbine.util.template.HtmlPageAttributes
tool.request.content=org.apache.turbine.services.pull.tools.ContentTool
#This pull tool is to allow for easy formatting of Date object into Strings
tool.request.dateFormatter=org.apache.turbine.services.pull.util.DateFormatter
# Use this tool if you need a place to store data that will persist between
# requests. Any data stored using this tool will be stored in the session.
tool.session.sessionData=org.apache.turbine.services.pull.util.SessionData
# These are intake tools.
#tool.request.om=org.apache.turbine.om.OMTool
tool.request.intake=org.apache.turbine.services.intake.IntakeTool
# This is a tool that allows access to the scheduler service.
#tool.request.scheduler=org.apache.turbine.services.SchedulerTool
#
# The content tool can put its URIs through the Servlet container,
# which might attach things like the jsessionid even to URIs that
# are not servered by the container.
#
# The default behaviour was not to put these through the container.
#
# Set this to true if you need things like jsessionid attached to all
# links generated from the $content pull tool.
#
tool.content.want.encoding = false
#
# Both the link and the content tool normally return absolute URIs
# You can change this by exchanging the tool classes but this is not
# really recommended. Setting these properties to true allow you
# to change the behaviour if you want only relative URIs (e.g. if you
# run behind a reverse proxy or a load balancer).
#
tool.content.want.relative = true
tool.link.want.relative = true
# -------------------------------------------------------------------
#
# V E L O C I T Y S E R V I C E
#
# -------------------------------------------------------------------
services.VelocityService.earlyInit= true
# The location of Velocity configuration file, relative to webapp root
# These properties will override the default properties set by Velocity.
# You should specify the path to the templates directories as well as
# the path to the log file and they should also be relative to webapp root
services.VelocityService.template.extension=vm
services.VelocityService.default.page = VelocityPage
services.VelocityService.default.screen = VelocityScreen
services.VelocityService.default.layout = VelocityOnlyLayout
services.VelocityService.default.navigation = VelocityNavigation
services.VelocityService.default.error.screen = VelocityErrorScreen
services.VelocityService.default.layout.template = Default.vm
services.VelocityService.runtime.log=/logs/velocity.log
#services.VelocityService.input.encoding=UTF-8
#
# Class Path Loader, Turbine jar
services.VelocityService.velocimacro.library = macros/TurbineMacros.vm
# Set the following line to true to cause velocity to automatically reload
# library macro files if they change. This is useful for debugging.
services.VelocityService.velocimacro.library.autoreload = true
services.VelocityService.resource.loader = file
services.VelocityService.file.resource.loader.description = Velocity File Resource Loader
services.VelocityService.file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
services.VelocityService.file.resource.loader.path = /templates
services.VelocityService.file.resource.loader.cache = false
services.VelocityService.file.resource.loader.modificationCheckInterval = 2
services.VelocityService.resource.loader = classpath
services.VelocityService.classpath.resource.loader.description = Velocity Classpath Resource Loader
services.VelocityService.classpath.resource.loader.class = org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
# -------------------------------------------------------------------
#
# U P L O A D S E R V I C E
#
# -------------------------------------------------------------------
# Whether the files should be automatically picked up by
# ParameterParser.
services.UploadService.earlyinit=true
services.UploadService.automatic=true
#
# The directory where files will be temporarily stored.
#
services.UploadService.repository=.
#
# The maximum size of a request that will be processed.
#
services.UploadService.size.max=1048576
#
# The maximum size of a request that will have it's elements cached in
# memory by TurbineUploadService class.
#
services.UploadService.size.threshold=10240
# -------------------------------------------------------------------
#
# C R Y P T O S E R V I C E
#
# -------------------------------------------------------------------
#
# Standard Unix crypt(3) password encryption.
#
services.CryptoService.algorithm.unix = org.apache.turbine.services.crypto.provider.UnixCrypt
#
# This providers allows access to the Java Message Digest encryption algorithms
#
services.CryptoService.algorithm.java = org.apache.turbine.services.crypto.provider.JavaCrypt
#
# This is a simple, cleartext "encryption" provider.
#
services.CryptoService.algorithm.cleartext = org.apache.turbine.services.crypto.provider.ClearCrypt
#
# Use this provider if you upgrade from Turbine 2.1 to current. It provides bug-to-bug
# compatibility for passwords created with the old Security Service. See the javadocs for
# OldJavaCrypt
#
services.CryptoService.algorithm.oldjava = org.apache.turbine.services.crypto.provider.OldJavaCrypt
#
# This is the default crypto provider. It implements the normal Java MessageDigest ciphers
# You need not to have this, it is the default if no algorithms are given. The default
# provider gives you all the Java MessageDigest Ciphers
#
services.CryptoService.algorithm.default = org.apache.turbine.services.crypto.provider.JavaCrypt
# -------------------------------------------------------------------
#
# S E C U R I T Y S E R V I C E
#
# -------------------------------------------------------------------
# Default: org.apache.turbine.services.security.db.DBUserManager
services.SecurityService.user.manager = org.apache.turbine.services.security.torque.TorqueUserManager
# This is the class that implements the ACL interface.
services.SecurityService.acl.class = org.apache.turbine.util.security.TurbineAccessControlList
#
# This is used by the SecurityService to make the password checking
# secure. When enabled, passwords are transformed by a one-way
# function into a sequence of bytes that is base64 encoded.
# It is impossible to guess the plain-text form of the password
# from the representation. When user logs in, the entered password
# is transformed the same way and then compared with stored value.
#
# Default: false
#
services.SecurityService.secure.passwords=false
#
# This property lets you choose what digest algorithm will be used
# for encrypting passwords. Check documentation of your JRE for
# available algorithms.
#
# Default: SHA
#
services.SecurityService.secure.passwords.algorithm=SHA
# -------------------------------------------------------------------
#
# P O O L S E R V I C E
#
# -------------------------------------------------------------------
# Default capacity of pools of the Object pooling service.
#
# Default: 128
services.PoolService.pool.capacity = 128
# Class specific capacities used instead of the default if specified.
#
#services.PoolService.pool.capacity.org.apache.turbine.services.rundata.DefaultTurbineRunData=512
# -------------------------------------------------------------------
#
# F A C T O R Y S E R V I C E
#
# -------------------------------------------------------------------
# A comma separated list of classloaders (very optional)
#
# Example: org.foo.bar.MyClassLoader, org.ack.joe.YourClassLoader
#
#services.FactoryService.class.loaders=
# Customized factories to be used instead of the default factory.
# E.g. to instantiate XML parsers, SSL sockets, etc., which require
# specific instantiation not supported by the default factory.
# The property name is prefixed with "factory" followed by the
# name of the production class. The value is the class name of
# the factory implementing the Factory interface. The factory
# will be instantiated by using the service itself.
#
# Examples:
#
# services.FactoryService.factory.javax.xml.parsers.DocumentBuilder=org.foo.xml.DomBuilderFactory
# services.FactoryService.factory.javax.xml.parsers.SAXParser=org.foo.xml.SaxParserFactory
# services.FactoryService.factory.java.net.ServerSocket=org.foo.net.SslServerSocketFactory
# -------------------------------------------------------------------
#
# I N T A K E S E R V I C E
#
# -------------------------------------------------------------------
# This file is used to cache the XML definitions after they are
# parsed. It provides for a small performance gain on startup.
#
# Note: Even if you have multiple XML definition files, you will
# only need one serialization file!
#
# Default: WEB-INF/appData.ser
#
services.IntakeService.serialize.path= none
#WEB-INF/appData.ser
#--------------------------------------------------------------------
#
# P A R A M E T E R P A R S E R
#
#--------------------------------------------------------------------
#
# This variable controls the case folding applied to URL variable
# names.
#
# Allowed values: none, lower, upper
# Default: lower
#
url.case.folding=lower
# -------------------------------------------------------------------
#
# A V A L O N C O M P O N E N T S E R V I C E
#
# -------------------------------------------------------------------
# Components implementing the Avalon lifecycle interfaces can be loaded,
# configured and initialized by Turbine
# -------------------------------------------------------------------
#
# Name and location to the configuration file for the components.
#
services.AvalonComponentService.componentConfiguration = /WEB-INF/conf/componentConfiguration.xml
#
# Name and location to the configuration file for the component roles.
#
services.AvalonComponentService.componentRoles = /WEB-INF/conf/roleConfiguration.xml
#
# Names of the Components to start right at Service init time
services.AvalonComponentService.lookup = org.apache.torque.avalon.Torque
# -------------------------------------------------------------------
#
# A D D I T I O N A L P R O P E R T I E S
#
# -------------------------------------------------------------------
# The full path name to an additional properties file. Properties in
# this file will be included in this property set. Duplicate name
# values will be replaced, so be careful.
#
# Default: none
# -------------------------------------------------------------------
include = @TURBINE_APP_NAME@.properties
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/conf/application-intake.xml
Index: application-intake.xml
===================================================================
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ======================================================================== -->
<!-- -->
<!-- Default Intake file for Turbine Skeleton -->
<!-- -->
<!-- $Id: application-intake.xml,v 1.1 2004/03/31 19:18:43 epugh Exp $ -->
<!-- -->
<!-- ======================================================================== -->
<!DOCTYPE input-data PUBLIC "JAKARTA//TURBINE intake.dtd//EN"
"http://jakarta.apache.org/turbine/dtd/intake_2_3.dtd">
<input-data>
<group name="dummy" key="dummy"/>
</input-data>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/conf/torque.properties
Index: torque.properties
===================================================================
# ------------------------------------------------------------------------
#
# Torque Configuration
#
# $Id: torque.properties,v 1.1 2004/03/31 19:18:43 epugh Exp $
#
# ------------------------------------------------------------------------
torque.applicationRoot = .
# -------------------------------------------------------------------
#
# D E F A U L T S
#
# -------------------------------------------------------------------
torque.defaults.pool.maxActive = 30
torque.defaults.pool.testOnBorrow = true
torque.defaults.pool.validationQuery = SELECT 1
torque.defaults.connection.driver = @TORQUE_DATABASE_DRIVER@
torque.defaults.connection.url = @TORQUE_DATABASE_URL@
torque.defaults.connection.user = @TORQUE_DATABASE_USER@
torque.defaults.connection.password = @TORQUE_DATABASE_PASSWD@
torque.@TURBINE_APP_OM_NAME@.connection.driver = @TORQUE_DATABASE_DRIVER@
torque.@TURBINE_APP_OM_NAME@.connection.url = @TORQUE_DATABASE_URL@
torque.@TURBINE_APP_OM_NAME@.connection.user = @TORQUE_DATABASE_USER@
torque.@TURBINE_APP_OM_NAME@.connection.password = @TORQUE_DATABASE_PASSWD@
# -------------------------------------------------------------------
#
# T O R Q U E P R O P E R T I E S
#
# -------------------------------------------------------------------
# These are your database settings. Look in the
# org.apache.torque.pool.* packages for more information.
#
# The parameters to connect to the default database. You MUST
# configure these properly.
# -------------------------------------------------------------------
# Determines if the quantity column of the IDBroker's id_table should
# be increased automatically if requests for ids reaches a high
# volume.
torque.idbroker.cleverquantity = true
# Determines if IDBroker should prefetch IDs or not. If set to false
# this property has the effect of shutting off the housekeeping thread
# that attempts to prefetch the id's. It also sets the # of id's grabbed
# per request to 1 regardless of the settings in the database.
# Default: true
torque.idbroker.prefetch = true
# IDBroker can grab its own connection from the pool to use when retrieving
# more id's to minimize the amount of time ID_TABLE will be locked.
# Some usage of IDBroker or assumptions made by connection pools or jdbc
# drivers may disallow this optimization in which case the property
# should be set to false.
torque.idbroker.usenewconnection = true
torque.database.default = @TURBINE_APP_OM_NAME@
#
# application database
#
torque.database.@TURBINE_APP_OM_NAME@.adapter = @TORQUE_DATABASE@
torque.dsfactory.@TURBINE_APP_OM_NAME@.factory = org.apache.torque.dsfactory.SharedPoolDataSourceFactory
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/conf/application.properties
Index: application.properties
===================================================================
# -------------------------------------------------------------------
#
# Application specific configuration information
#
# $Id: application.properties,v 1.1 2004/03/31 19:18:43 epugh Exp $
#
# -------------------------------------------------------------------
########################################################################
#
# Additional Packages for loading Modules
#
########################################################################
# Zusaetzliches package fuer die Grids
module.packages = @TURBINE_APP_PACKAGE@.modules
# -------------------------------------------------------------------
#
# M E S S A G E S
#
# -------------------------------------------------------------------
# Note that strings containing "," (comma) characters must backslash
# escape the comma (i.e. '\,')
# The message that can be displayed before a user logs in.
login.message=Please log on
# The message that can be displayed when no screen is defined.
login.message.noscreen=Error. No screen has been defined!
# The message that can be displayed when a user enters an incorrect
# password or username.
login.error=Error while logging in. Please try again,
# The message that can be displayed when a user logs out.
logout.message=Goodbye
# -------------------------------------------------------------------
#
# V E L O C I T Y S E R V I C E
#
# -------------------------------------------------------------------
# Load our VelociMacros
services.VelocityService.velocimacro.library = macros/@TURBINE_APP_NAME@Macros.vm
# -------------------------------------------------------------------
#
# S E C U R I T Y S E R V I C E
#
# -------------------------------------------------------------------
# And we use the Torque Security Service
services.SecurityService.user.class = org.apache.turbine.services.security.torque.TorqueUser
services.SecurityService.group.class = org.apache.turbine.services.security.torque.TorqueGroup
services.SecurityService.permission.class = org.apache.turbine.services.security.torque.TorquePermission
services.SecurityService.role.class = org.apache.turbine.services.security.torque.TorqueRole
services.SecurityService.torque.userPeer.class = @TURBINE_APP_OM_SECURITY_PACKAGE@.TurbineUserPeer
services.SecurityService.torque.groupPeer.class = @TURBINE_APP_OM_SECURITY_PACKAGE@.TurbineGroupPeer
services.SecurityService.torque.permissionPeer.class = @TURBINE_APP_OM_SECURITY_PACKAGE@.TurbinePermissionPeer
services.SecurityService.torque.rolePeer.class = @TURBINE_APP_OM_SECURITY_PACKAGE@.TurbineRolePeer
# -------------------------------------------------------------------
#
# I N T A K E S E R V I C E
#
# -------------------------------------------------------------------
# The location of the xml file specifying valid inputs
#
# If you need to define multiple definition files, you can should
# seperate them with commas.
#
services.IntakeService.xml.path = WEB-INF/conf/@TURBINE_APP_NAME@-intake.xml
########################################################################
#
# Add your application specific extensions here.
#
########################################################################
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/conf/roleConfiguration.xml
Index: roleConfiguration.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ======================================================================== -->
<!-- -->
<!-- Avalon role configuration for loading Torque -->
<!-- -->
<!-- $Id: roleConfiguration.xml,v 1.1 2004/03/31 19:18:43 epugh Exp $ -->
<!-- -->
<!-- ======================================================================== -->
<role-list>
<role name="org.apache.torque.avalon.Torque"
shorthand="torque"
default-class="org.apache.torque.avalon.TorqueComponent" />
</role-list>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/schema/turbine-security-schema.xml
Index: turbine-security-schema.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">
<!-- ======================================================================== -->
<!-- -->
<!-- Turbine Torque based Security Service Schema -->
<!-- -->
<!-- $Id: turbine-security-schema.xml,v 1.1 2004/03/31 19:18:43 epugh Exp $ -->
<!-- -->
<!-- ======================================================================== -->
<database name="@DATABASE_DEFAULT@"
defaultIdMethod="idbroker"
defaultJavaType="primitive"
defaultJavaNamingMethod="underscore"
package="@DATABASE_PACKAGE@">
<table name="TURBINE_USER" idMethod="idbroker">
<column name="USER_ID" required="true" primaryKey="true" type="INTEGER"/>
<column name="LOGIN_NAME" required="true" size="64" type="VARCHAR" javaName="UserName"/>
<column name="PASSWORD_VALUE" required="true" size="16" type="VARCHAR" javaName="Password"/>
<column name="FIRST_NAME" required="true" size="64" type="VARCHAR"/>
<column name="LAST_NAME" required="true" size="64" type="VARCHAR"/>
<column name="EMAIL" size="64" type="VARCHAR"/>
<column name="CONFIRM_VALUE" size="16" type="VARCHAR" javaName="Confirmed"/>
<column name="MODIFIED" type="TIMESTAMP" size="0"/>
<column name="CREATED" type="TIMESTAMP" size="0" javaName="CreateDate"/>
<column name="LAST_LOGIN" type="TIMESTAMP" size="0"/>
<column name="OBJECTDATA" type="VARBINARY"/>
<unique>
<unique-column name="LOGIN_NAME"/>
</unique>
</table>
<table name="TURBINE_PERMISSION" idMethod="idbroker">
<column name="PERMISSION_ID" required="true" primaryKey="true" type="INTEGER"/>
<column name="PERMISSION_NAME" required="true" size="64" type="VARCHAR" javaName="Name"/>
<unique>
<unique-column name="PERMISSION_NAME"/>
</unique>
</table>
<table name="TURBINE_ROLE" idMethod="idbroker">
<column name="ROLE_ID" required="true" primaryKey="true" type="INTEGER"/>
<column name="ROLE_NAME" required="true" size="64" type="VARCHAR" javaName="Name"/>
<unique>
<unique-column name="ROLE_NAME"/>
</unique>
</table>
<table name="TURBINE_GROUP" idMethod="idbroker">
<column name="GROUP_ID" required="true" primaryKey="true" type="INTEGER"/>
<column name="GROUP_NAME" required="true" type="VARCHAR" size="64" javaName="Name"/>
<unique>
<unique-column name="GROUP_NAME"/>
</unique>
</table>
<table name="TURBINE_ROLE_PERMISSION">
<column name="ROLE_ID" required="true" primaryKey="true" type="INTEGER"/>
<column name="PERMISSION_ID" required="true" primaryKey="true" type="INTEGER"/>
<foreign-key foreignTable="TURBINE_ROLE">
<reference local="ROLE_ID" foreign="ROLE_ID"/>
</foreign-key>
<foreign-key foreignTable="TURBINE_PERMISSION">
<reference local="PERMISSION_ID" foreign="PERMISSION_ID"/>
</foreign-key>
</table>
<table name="TURBINE_USER_GROUP_ROLE">
<column name="USER_ID" required="true" primaryKey="true" type="INTEGER"/>
<column name="GROUP_ID" required="true" primaryKey="true" type="INTEGER"/>
<column name="ROLE_ID" required="true" primaryKey="true" type="INTEGER"/>
<foreign-key foreignTable="TURBINE_USER">
<reference local="USER_ID" foreign="USER_ID"/>
</foreign-key>
<foreign-key foreignTable="TURBINE_GROUP">
<reference local="GROUP_ID" foreign="GROUP_ID"/>
</foreign-key>
<foreign-key foreignTable="TURBINE_ROLE">
<reference local="ROLE_ID" foreign="ROLE_ID"/>
</foreign-key>
</table>
</database>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/schema/application-data.xml
Index: application-data.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE dataset SYSTEM "file://@TURBINE_APP_NAME@-data.dtd">
<dataset name="all"/>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/schema/id-table-schema.xml
Index: id-table-schema.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">
<!-- ==================================================================== -->
<!-- -->
<!-- Table definition for the ID Broker Table used by Torque -->
<!-- -->
<!-- @version $Id: id-table-schema.xml,v 1.1 2004/03/31 19:18:43 epugh Exp $ -->
<!-- -->
<!-- ==================================================================== -->
<database name="@DATABASE_DEFAULT@"
defaultIdMethod="idbroker"
defaultJavaType="primitive"
defaultJavaNamingMethod="underscore"
package="@DATABASE_PACKAGE@">
<table name="ID_TABLE" idMethod="idbroker">
<column name="ID_TABLE_ID" required="true" primaryKey="true" type="INTEGER" javaName="IdTableId"/>
<column name="TABLE_NAME" required="true" size="255" type="VARCHAR" javaName="TableName"/>
<column name="NEXT_ID" required="true" type="INTEGER" javaName="NextId"/>
<column name="QUANTITY" required="true" type="INTEGER" javaName="Quantity"/>
<unique>
<unique-column name="TABLE_NAME"/>
</unique>
</table>
</database>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/schema/turbine-security-data.xml
Index: turbine-security-data.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE dataset SYSTEM "file://turbine-security-data.dtd">
<!-- ==================================================================== -->
<!-- -->
<!-- Default Values for Admin and normal User -->
<!-- -->
<!-- @version $Id: turbine-security-data.xml,v 1.1 2004/03/31 19:18:43 epugh Exp $ -->
<!-- -->
<!-- ==================================================================== -->
<dataset name="all">
<TurbineUser UserId="1"
UserName="admin"
Password="password"
FirstName=""
LastName="Admin"/>
<TurbineUser UserId="2"
UserName="user"
Password="password"
FirstName=""
LastName="User"/>
<!-- Turbine Permissions -->
<TurbinePermission PermissionId="1" Name="TurbineAdmin"/>
<TurbinePermission PermissionId="2" Name="Turbine"/>
<!-- Turbine Roles -->
<TurbineRole RoleId="1" Name="TurbineAdmin"/>
<TurbineRole RoleId="2" Name="TurbineUser"/>
<!-- Turbine Groups -->
<TurbineGroup GroupId="1" Name="global"/>
<TurbineGroup GroupId="2" Name="Turbine"/>
<TurbineRolePermission RoleId="1" PermissionId="1"/>
<TurbineRolePermission RoleId="2" PermissionId="2"/>
<!-- Associate Users, Groups, and Roles -->
<TurbineUserGroupRole UserId="1" GroupId="2" RoleId="1"/>
<TurbineUserGroupRole UserId="2" GroupId="2" RoleId="2"/>
</dataset>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/schema/application-data.dtd
Index: application-data.dtd
===================================================================
<!ELEMENT dataset EMPTY>
<!ATTLIST dataset
name CDATA #REQUIRED
>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/schema/application-schema.xml
Index: application-schema.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">
<!-- ======================================================================== -->
<!-- = = -->
<!-- = Database Definition for the Application = -->
<!-- = = -->
<!-- = @version $Id: application-schema.xml,v 1.1 2004/03/31 19:18:43 epugh Exp $ = -->
<!-- = = -->
<!-- ======================================================================== -->
<database name="@DATABASE_DEFAULT@"
defaultIdMethod="idbroker"
defaultJavaType="primitive"
defaultJavaNamingMethod="underscore"
package="@DATABASE_PACKAGE@">
</database>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/schema/turbine-security-data.dtd
Index: turbine-security-data.dtd
===================================================================
<!ELEMENT dataset (
TurbineUser|
TurbinePermission|
TurbineRole|
TurbineGroup|
TurbineRolePermission|
TurbineUserGroupRole)*>
<!ATTLIST dataset
name CDATA #REQUIRED
>
<!ELEMENT TurbineUser EMPTY>
<!ATTLIST TurbineUser
UserId CDATA #REQUIRED
UserName CDATA #REQUIRED
Password CDATA #REQUIRED
FirstName CDATA #REQUIRED
LastName CDATA #REQUIRED
Email CDATA #IMPLIED
Confirmed CDATA #IMPLIED
Modified CDATA #IMPLIED
CreateDate CDATA #IMPLIED
LastLogin CDATA #IMPLIED
Objectdata CDATA #IMPLIED
>
<!ELEMENT TurbinePermission EMPTY>
<!ATTLIST TurbinePermission
PermissionId CDATA #REQUIRED
Name CDATA #REQUIRED
>
<!ELEMENT TurbineRole EMPTY>
<!ATTLIST TurbineRole
RoleId CDATA #REQUIRED
Name CDATA #REQUIRED
>
<!ELEMENT TurbineGroup EMPTY>
<!ATTLIST TurbineGroup
GroupId CDATA #REQUIRED
Name CDATA #REQUIRED
>
<!ELEMENT TurbineRolePermission EMPTY>
<!ATTLIST TurbineRolePermission
RoleId CDATA #REQUIRED
PermissionId CDATA #REQUIRED
>
<!ELEMENT TurbineUserGroupRole EMPTY>
<!ATTLIST TurbineUserGroupRole
UserId CDATA #REQUIRED
GroupId CDATA #REQUIRED
RoleId CDATA #REQUIRED
>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/maven/maven.xml
Index: maven.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ======================================================================== -->
<!-- -->
<!-- maven Buildfile -->
<!-- -->
<!-- Generated by the Turbine Plugin. -->
<!-- -->
<!-- $Id: maven.xml,v 1.1 2004/03/31 19:18:43 epugh Exp $ -->
<!-- -->
<!-- ======================================================================== -->
<project default="java:compile">
<!-- ================================================================== -->
<!-- -->
<!-- These are the hooks that tie the Turbine Plugin into the normal -->
<!-- maven compile and build process. The various hooks are described -->
<!-- in depth in the Turbine Plugin documentation, so this is not re- -->
<!-- peated here. None of these hooks is really essential to the build -->
<!-- process (so you could remove them, however then you might have to -->
<!-- run the attached tasks manually. -->
<!-- -->
<!-- ================================================================== -->
<preGoal name="java:compile">
<!-- Run the Turbine Plugin pre-java:compile Target -->
<attainGoal name="turbine:java-compile"/>
</preGoal>
<preGoal name="torque:init">
<!-- Run the Turbine Plugin pre-torque-init Target -->
<attainGoal name="turbine:torque-init"/>
</preGoal>
<preGoal name="torque:insert-sql">
<!-- Run the Turbine Plugin pre-torque:insert-sql Target -->
<attainGoal name="turbine:torque-insert-sql" />
</preGoal>
<preGoal name="torque:datasql">
<!-- Run the Turbine Plugin pre-torque-datasql Target -->
<attainGoal name="turbine:torque-datasql"/>
</preGoal>
<preGoal name="torque:datadtd">
<!-- Run the Turbine Plugin pre-torque:datadtd Target -->
<attainGoal name="turbine:torque-datadtd"/>
</preGoal>
<postGoal name="war:webapp">
<!-- Run the Turbine Plugin post-war:webapp Target -->
<attainGoal name="turbine:war-webapp"/>
</postGoal>
</project>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/maven/build.properties
Index: build.properties
===================================================================
# ------------------------------------------------------------------------
# P A R A M E T E R F O R B U I L D I N G
#
# $Id: build.properties,v 1.1 2004/03/31 19:18:43 epugh Exp $
#
# ------------------------------------------------------------------------
#
# Initial ID values for the ID_TABLE
#
initialID = 1100
initialIDValue = 100
initialIDStep = 10
torque.database.driver = @TORQUE_DATABASE_DRIVER@
torque.database.user = @TORQUE_DATABASE_USER@
torque.database.password = @TORQUE_DATABASE_PASSWD@
torque.database.buildUrl = @TORQUE_DATABASE_URL@
torque.database.createUrl = @TORQUE_DATABASE_CREATE_URL@
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/maven/project.xml
Index: project.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- =================================================================== -->
<!-- -->
<!-- Maven project.xml Datei -->
<!-- -->
<!-- $Id: project.xml,v 1.1 2004/03/31 19:18:43 epugh Exp $ -->
<!-- -->
<!-- =================================================================== -->
<project>
<pomVersion>3</pomVersion>
<name>@TURBINE_APP_NAME@</name>
<id>@TURBINE_APP_NAME@</id>
<groupId>@TURBINE_APP_NAME@</groupId>
<currentVersion>1.0-dev</currentVersion>
<shortDescription>Turbine Skeleton application</shortDescription>
<description/>
<organization/>
<inceptionYear>2003</inceptionYear>
<package>@TURBINE_APP_PACKAGE@</package>
<releases/>
<developers/>
<dependencies>
<dependency>
<id>turbine</id>
<version>2.3</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- ============================================================ -->
<!-- = = -->
<!-- = JDBC Drivers = -->
<!-- = = -->
<!-- ============================================================ -->
<dependency>
<id>postgresql:pg-jdbc2</id>
<version>7.3.4</version>
<url>http://www.postgresql.org/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>mysql:mysql-connector-java</id>
<version>2.0.14-bin</version>
<url>http://www.mysql.org/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- ============================================================ -->
<!-- = = -->
<!-- = Turbine Dependencies = -->
<!-- = = -->
<!-- ============================================================ -->
<dependency>
<id>commons-codec</id>
<version>1.1</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>commons-email</id>
<version>20030310.165926</version>
<url>http://jakarta.apache.org/commons/sandbox/email</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>commons-fileupload</id>
<version>1.0</version>
<url>http://jakarta.apache.org/commons/fileupload/index.html</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>cryptix</id>
<version>3.2.0</version>
<url>http://www.cryptix.org/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>dom4j</id>
<version>1.4</version>
<url>http://www.dom4j.org/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>ecs</id>
<version>1.4.2</version>
<url>http://jakarta.apache.org/ecs/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>excalibur-component</id>
<version>1.1</version>
<url>http://jakarta.apache.org/avalon/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>excalibur-instrument</id>
<version>1.0</version>
<url>http://jakarta.apache.org/avalon/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>excalibur-logger</id>
<version>1.0.1</version>
<url>http://jakarta.apache.org/avalon/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>excalibur-pool</id>
<version>1.2</version>
<url>http://jakarta.apache.org/avalon/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>jaf:activation</id>
<version>1.0.2</version>
<url>http://java.sun.com/products/javabeans/glasgow/jaf.html</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>javamail</id>
<version>1.3.1</version>
<url>http://java.sun.com/products/javamail/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- ORO must be loaded before Jython, as Jython includes some ORO -->
<!-- classes which cause the Maven JXR plug-in to fail. -->
<dependency>
<id>oro</id>
<version>2.0.7</version>
<url>http://jakarta.apache.org/oro/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>jython</id>
<version>2.1</version>
<url>http://www.jython.org/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>servletapi</id>
<version>2.3</version>
<url>http://java.sun.com/products/servlet/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>torque</id>
<version>3.1</version>
<url>http://db.apache.org/torque/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>velocity</id>
<version>1.3.1</version>
<url>http://jakarta.apache.org/velocity/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>xalan</id>
<version>2.5.1</version>
<url>http://xml.apache.org/xalan-j/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>xmlrpc</id>
<version>1.2-b1</version>
<url>http://xml.apache.org/xmlrpc/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- ============================================================ -->
<!-- = = -->
<!-- = Torque Dependencies = -->
<!-- = = -->
<!-- ============================================================ -->
<dependency>
<id>commons-dbcp</id>
<version>1.1</version>
<url>http://jakarta.apache.org/commons/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>jcs</id>
<version>20030822.182132</version>
<url>http://jakarta.apache.org/turbine/jcs/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- ============================================================ -->
<!-- = = -->
<!-- = Common Dependencies = -->
<!-- = = -->
<!-- ============================================================ -->
<dependency>
<id>avalon-framework</id>
<version>4.1.4</version>
<url>http://jakarta.apache.org/avalon/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>commons-beanutils</id>
<version>1.6.1</version>
<url>http://jakarta.apache.org/commons/beanutils.html</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>commons-collections</id>
<version>2.1</version>
<url>http://jakarta.apache.org/commons/collections.html</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>commons-configuration</id>
<version>20030706.202021</version>
<url>http://jakarta.apache.org/commons/sandbox/configuration/index.html</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>commons-digester</id>
<version>1.5</version>
<url>http://jakarta.apache.org/commons/digester/index.html</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>commons-lang</id>
<version>1.0.1</version>
<url>http://jakarta.apache.org/commons/lang.html</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>commons-logging</id>
<version>1.0.3</version>
<url>http://jakarta.apache.org/commons/logging.html</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>commons-pool</id>
<version>1.1</version>
<url>http://jakarta.apache.org/commons/pool/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>jdbc</id>
<version>2.0</version>
<url>http://java.sun.com/products/jdbc/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>jndi</id>
<version>1.2.1</version>
<url>http://java.sun.com/products/jndi/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>log4j</id>
<version>1.2.8</version>
<url>http://jakarta.apache.org/log4j/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>logkit</id>
<version>1.0.1</version>
<url>http://jakarta.apache.org/avalon/logkit/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>stratum</id>
<version>1.0-b3</version>
<url>http://jakarta.apache.org/turbine/stratum/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>village</id>
<version>2.0-dev-20030825</version>
<url>http://share.whichever.com/index.php?SCREEN=village</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>xerces:xercesImpl</id>
<version>2.4.0</version>
<url>http://xml.apache.org/xerces2-j/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<dependency>
<id>xml-apis</id>
<version>1.0.b2</version>
<url>http://xml.apache.org/commons/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!-- ============================================================ -->
<!-- = = -->
<!-- = Testing Dependencies = -->
<!-- = = -->
<!-- ============================================================ -->
<dependency>
<id>junit</id>
<version>3.8.1</version>
<url>http://www.junit.org/</url>
</dependency>
</dependencies>
<build>
<!-- This setting is important. The source tree will be merged -->
<!-- with the generated OM classes "on the fly" and copied to -->
<!-- this directory. Then all java classes are compiled to -->
<!-- class files. Do not change this lightly! -->
<sourceDirectory>target/src</sourceDirectory>
<!-- Unit test classes -->
<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
<unitTest>
<includes>
<include>**/Test*.java</include>
</includes>
</unitTest>
<resources>
<includes>
<include>**/*.properties</include>
</includes>
</resources>
</build>
</project>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/maven/setup.properties
Index: setup.properties
===================================================================
# ------------------------------------------------------------------------
#
# Setup for a new Turbine Application
#
# $Id: setup.properties,v 1.1 2004/03/31 19:18:43 epugh Exp $
#
# ------------------------------------------------------------------------
#
# These parameters have been set by turbine:setup. You can use this file
# to recreate the skeleton for the current application.
#
# application settings
turbine.app.name = @TURBINE_APP_NAME@
turbine.app.package = @TURBINE_APP_PACKAGE@
turbine.app.om.name = @TURBINE_APP_OM_NAME@
turbine.app.om.package = @TURBINE_APP_OM_PACKAGE@
turbine.app.om.security.name = @TURBINE_APP_OM_SECURITY_NAME@
turbine.app.om.security.package = @TURBINE_APP_OM_SECURITY_PACKAGE@
turbine.app.subdir = false
# application server to use
maven.appserver.name = @MAVEN_APPSERVER_NAME@
# Torque Settings
torque.database = @TORQUE_DATABASE@
torque.database.driver = @TORQUE_DATABASE_DRIVER@
torque.database.user = @TORQUE_DATABASE_USER@
torque.database.password = @TORQUE_DATABASE_PASSWD@
torque.database.buildUrl = @TORQUE_DATABASE_URL@
torque.database.createUrl = @TORQUE_DATABASE_CREATE_URL@
######################################################################
#
# You don't need to change anything below this line. These parameters
# are for plugin internal use. If you change them and the compilation
# process breaks, you're entitled to keep both pieces.
#
turbine.plugin.src.java = @TURBINE_PLUGIN_SRC_JAVA@
turbine.plugin.src.test = @TURBINE_PLUGIN_SRC_TEST@
turbine.plugin.src.schema = @TURBINE_PLUGIN_SRC_SCHEMA@
turbine.plugin.src.templates = @TURBINE_PLUGIN_SRC_TEMPLATES@
turbine.plugin.src.conf = @TURBINE_PLUGIN_SRC_CONF@
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/maven/project.properties
Index: project.properties
===================================================================
# -------------------------------------------------------------------
# P R O J E C T P R O P E R T I E S
#
# $Id: project.properties,v 1.1 2004/03/31 19:18:43 epugh Exp $
#
# Do not change this file. Please use build.properties in this directory
# to do site or installation specific changes to the project build.
# -------------------------------------------------------------------
compile.debug = on
compile.optimize = off
compile.deprecation = off
maven.compile.deprecation = off
# -------------------------------------------------------------------
#
# T U R B I N E - P L U G I N
#
# -------------------------------------------------------------------
#
# The following variables are needed by the Runtime maven tasks besides
# turbine:setup. This is a subset of the variables in setup.properties
# which are only read when turbine:setup is run.
#
turbine.app.name = @TURBINE_APP_NAME@
turbine.app.package = @TURBINE_APP_PACKAGE@
turbine.app.om.name = @TURBINE_APP_OM_NAME@
turbine.app.om.package = @TURBINE_APP_OM_PACKAGE@
turbine.app.om.security.name = @TURBINE_APP_OM_SECURITY_NAME@
turbine.app.om.security.package = @TURBINE_APP_OM_SECURITY_PACKAGE@
turbine.plugin.src.schema = @TURBINE_PLUGIN_SRC_SCHEMA@
turbine.plugin.src.templates = @TURBINE_PLUGIN_SRC_TEMPLATES@
turbine.plugin.src.conf = @TURBINE_PLUGIN_SRC_CONF@
# -------------------------------------------------------------------
#
# W E B - A P P L I C A T I O N
#
# -------------------------------------------------------------------
# Web XML File for the Application
maven.war.webxml = conf/@TURBINE_APP_NAME@-web.xml
webapp.build = target/${pom.artifactId}
webapp.build.lib = target/${pom.artifactId}/WEB-INF/lib
webapp.build.classes = target/${pom.artifactId}/WEB-INF/classes
webapp.build.webinf = target/${pom.artifactId}/WEB-INF
# -------------------------------------------------------------------
#
# T O R Q U E C O N F I G U R A T I O N
#
# used to generate the initial data for the security tables
#
# -------------------------------------------------------------------
torque.database = @TORQUE_DATABASE@
torque.project = @TURBINE_APP_NAME@
torque.java.dir = target/src
torque.sql.dir = target/sql
torque.output.dir = target/sql
torque.schema.dir = target/xml
torque.contextProperties = build.properties
torque.basePrefix = Base
#
# As the current Torque cannot build a peer class for
# the ID broker table, it is necessary to exclude all
# the generated ID tables from OM generation. So you
# must keep the following property here until Torque
# no longer has a name clash between the TABLE_NAME
# column and the internal TABLE_NAME variable.
#
torque.schema.om.excludes = *id-table-schema*.xml
torque.addSaveMethod = true
torque.runOnlyOnSchemaChange = true
torque.saveException = Exception
torque.addIntakeRetrievable = true
torque.retrievableInterface = org.apache.turbine.om.Retrievable
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/templates/screens/Index.vm
Index: Index.vm
===================================================================
<table bgcolor="#023262" width="100%">
<tr>
<td> </td>
<td align="right"><img src="$content.getURI("/images/jakarta-logo-blue.gif")"/></td>
</tr>
</table>
<div align="center"><h1>Congratulations, it worked!</h1></div>
You're now successfully running a <a
href="http://jakarta.apache.org/turbine/">Turbine</a> based
application, deployed to <font color="red">$data.ServerData.ContextPath</a></font> on
your web container.<p/>
You can (and should!) change or remove this page at any time. It is
intended to give you immediate feedback if you just deployed an newly
setup Turbine application.</p>
<img src="$content.getURI("/images/powered-by-logo.gif")"/>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/images/powered-by-logo.gif
<<Binary file>>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/images/jakarta-logo-blue.gif
<<Binary file>>
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/templates/macros/applicationMacros.vm
Index: applicationMacros.vm
===================================================================
##
## $Id$
##
## Default Macro file for @TURBINE_APP_NAME@
##
## Put your Application macros in this file.
##
1.1 jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/templates/layouts/Default.vm
Index: Default.vm
===================================================================
##
## Default Layout for Turbine
##
## $Id: Default.vm,v 1.2 2003/11/13 12:35:28 henning Exp $
##
## Just display the screen contents as page
##
<html>
#TurbineHtmlHead()
<body #TurbineHtmlBodyAttributes() >
$screen_placeholder
</body>
</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org