| <application> |
| |
| <load-on-start> |
| <component> |
| <role>org.apache.maven.continuum.Continuum</role> |
| </component> |
| <component> |
| <role>org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor</role> |
| <role-hint>build-project</role-hint> |
| </component> |
| <component> |
| <role>org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor</role> |
| <role-hint>check-out-project</role-hint> |
| </component> |
| <!-- |
| <component> |
| <role>org.codehaus.xfire.plexus.config.ConfigurationService</role> |
| </component> |
| --> |
| </load-on-start> |
| |
| <resources> |
| <jar-repository>${plexus.home}/lib</jar-repository> |
| <directory>@localization.directory@</directory> |
| </resources> |
| |
| <services> |
| <service> |
| <id>jetty</id> |
| <configuration> |
| <webapps> |
| <webapp> |
| <file>${plexus.home}/lib/continuum-web-1.1-SNAPSHOT.jar</file> |
| <context>/continuum</context> |
| <extraction-path>${plexus.home}/webapp</extraction-path> |
| <listeners> |
| <http-listener> |
| <port>@jetty.port@</port> |
| </http-listener> |
| <!-- |
| <proxy-http-listener> |
| <port>8090</port> |
| <proxy-host>localhost</proxy-host> |
| <proxy-port>80</proxy-port> |
| </proxy-http-listener> |
| --> |
| </listeners> |
| </webapp> |
| </webapps> |
| </configuration> |
| </service> |
| |
| <service> |
| <id>xml-rpc</id> |
| <configuration> |
| <xmlrpc> |
| <port>@xmlrpc.port@</port> |
| </xmlrpc> |
| <handlers> |
| <handler> |
| <role>org.apache.maven.continuum.xmlrpc.ContinuumXmlRpc</role> |
| <name>continuum</name> |
| </handler> |
| </handlers> |
| </configuration> |
| </service> |
| |
| </services> |
| |
| <components> |
| |
| <!-- |
| | The mail notifier |
| |--> |
| <component> |
| <role>org.codehaus.plexus.notification.notifier.Notifier</role> |
| <role-hint>mail</role-hint> |
| <implementation>org.apache.maven.continuum.notification.mail.MailContinuumNotifier</implementation> |
| <requirements> |
| <requirement> |
| <role>org.codehaus.plexus.velocity.VelocityComponent</role> |
| </requirement> |
| <requirement> |
| <role>org.apache.maven.continuum.store.ContinuumStore</role> |
| </requirement> |
| <requirement> |
| <role>org.codehaus.plexus.mailsender.MailSender</role> |
| </requirement> |
| <requirement> |
| <role>org.apache.maven.continuum.configuration.ConfigurationService</role> |
| </requirement> |
| </requirements> |
| <configuration> |
| <from-mailbox>@mail.override.from.mailbox@</from-mailbox> |
| <from-name>@mail.override.from.name@</from-name> |
| <timestamp-format>EEE, d MMM yyyy HH:mm:ss Z</timestamp-format> |
| <includeBuildResult>true</includeBuildResult> |
| </configuration> |
| </component> |
| |
| <component> |
| <role>org.codehaus.plexus.notification.RecipientSource</role> |
| <implementation>org.apache.maven.continuum.notification.ContinuumRecipientSource</implementation> |
| <configuration> |
| <!-- |
| Setting this propery will make Continuum send all emails to |
| this address instead the address specified in the project |
| configuration |
| --> |
| <to-override>@mail.override.to.address@</to-override> |
| </configuration> |
| </component> |
| |
| <component> |
| <role>org.codehaus.plexus.mailsender.MailSender</role> |
| <implementation>org.codehaus.plexus.mailsender.javamail.JavamailMailSender</implementation> |
| <configuration> |
| <smtp-host>localhost</smtp-host> |
| <smtp-port>25</smtp-port> |
| <sslProvider>com.sun.net.ssl.internal.ssl.Provider</sslProvider> |
| <!-- |
| <username>mylogin</username> |
| <password>mypassword</password> |
| <sslMode>true</sslMode> |
| --> |
| </configuration> |
| </component> |
| |
| <!-- |
| | The irc notifier |
| |--> |
| <component> |
| <role>org.codehaus.plexus.notification.notifier.Notifier</role> |
| <role-hint>irc</role-hint> |
| <implementation>org.apache.maven.continuum.notification.irc.IrcContinuumNotifier</implementation> |
| <requirements> |
| <requirement> |
| <role>org.codehaus.plexus.ircbot.IrcBot</role> |
| </requirement> |
| <requirement> |
| <role>org.apache.maven.continuum.store.ContinuumStore</role> |
| </requirement> |
| <requirement> |
| <role>org.apache.maven.continuum.configuration.ConfigurationService</role> |
| </requirement> |
| </requirements> |
| </component> |
| |
| <component> |
| <role>org.codehaus.plexus.ircbot.IrcBot</role> |
| <implementation>org.codehaus.plexus.ircbot.DefaultIrcClient</implementation> |
| </component> |
| |
| <!-- |
| | The jabber notifier |
| |--> |
| <component> |
| <role>org.codehaus.plexus.notification.notifier.Notifier</role> |
| <role-hint>jabber</role-hint> |
| <implementation>org.apache.maven.continuum.notification.jabber.JabberContinuumNotifier</implementation> |
| <requirements> |
| <requirement> |
| <role>org.codehaus.plexus.jabber.JabberClient</role> |
| </requirement> |
| <requirement> |
| <role>org.apache.maven.continuum.configuration.ConfigurationService</role> |
| </requirement> |
| <requirement> |
| <role>org.apache.maven.continuum.store.ContinuumStore</role> |
| </requirement> |
| </requirements> |
| <!-- configuration> |
| <from-address/> |
| <from-password/> |
| <host/> |
| <port/> |
| <sslConnection>true</sslConnection> |
| </configuration --> |
| </component> |
| |
| <component> |
| <role>org.codehaus.plexus.jabber.JabberClient</role> |
| <implementation>org.codehaus.plexus.jabber.DefaultJabberClient</implementation> |
| </component> |
| |
| <!-- |
| | The MSN notifier |
| |--> |
| <component> |
| <role>org.codehaus.plexus.notification.notifier.Notifier</role> |
| <role-hint>msn</role-hint> |
| <implementation>org.apache.maven.continuum.notification.msn.MsnContinuumNotifier</implementation> |
| <requirements> |
| <requirement> |
| <role>org.codehaus.plexus.msn.MsnClient</role> |
| </requirement> |
| <requirement> |
| <role>org.apache.maven.continuum.configuration.ConfigurationService</role> |
| </requirement> |
| <requirement> |
| <role>org.apache.maven.continuum.store.ContinuumStore</role> |
| </requirement> |
| </requirements> |
| <!-- configuration> |
| <from-address/> |
| <from-password/> |
| </configuration --> |
| </component> |
| |
| <component> |
| <role>org.codehaus.plexus.msn.MsnClient</role> |
| <implementation>org.codehaus.plexus.msn.DefaultMsnClient</implementation> |
| </component> |
| |
| <component> |
| <role>org.apache.maven.continuum.network.ConnectionFactory</role> |
| <role-hint>simple-socket-trigger-server</role-hint> |
| <implementation>org.apache.maven.continuum.network.SimpleServerSocketConnectionFactory</implementation> |
| <requirements> |
| <requirement> |
| <role>org.apache.maven.continuum.network.ConnectionConsumer</role> |
| <role-hint>simple-socket-trigger</role-hint> |
| </requirement> |
| </requirements> |
| <configuration> |
| <port>6770</port> |
| </configuration> |
| </component> |
| |
| <component> |
| <role>org.apache.maven.continuum.network.ConnectionFactory</role> |
| <role-hint>url-registrar-server</role-hint> |
| <implementation>org.apache.maven.continuum.network.SimpleServerSocketConnectionFactory</implementation> |
| <requirements> |
| <requirement> |
| <role>org.apache.maven.continuum.network.ConnectionConsumer</role> |
| <role-hint>url-registrar</role-hint> |
| </requirement> |
| </requirements> |
| <configuration> |
| <port>6771</port> |
| </configuration> |
| </component> |
| |
| <component> |
| <role>org.codehaus.plexus.jdo.JdoFactory</role> |
| <implementation>org.codehaus.plexus.jdo.DefaultJdoFactory</implementation> |
| <configuration> |
| <properties> |
| <!-- JPOX and JDO configuration --> |
| <property> |
| <name>javax.jdo.PersistenceManagerFactoryClass</name> |
| <value>org.jpox.PersistenceManagerFactoryImpl</value> |
| </property> |
| <property> |
| <name>org.jpox.autoCreateSchema</name> |
| <value>true</value> |
| </property> |
| <property> |
| <name>org.jpox.autoStartMechanism</name> |
| <value>SchemaTable</value> |
| </property> |
| <property> |
| <name>org.jpox.autoStartMechanismMode</name> |
| <value>Ignored</value> |
| </property> |
| <!-- Apache Derby Configuration --> |
| <property> |
| <name>javax.jdo.option.ConnectionDriverName</name> |
| <value>org.apache.derby.jdbc.EmbeddedDriver</value> |
| </property> |
| <property> |
| <name>javax.jdo.option.ConnectionURL</name> |
| <value>jdbc:derby:${plexus.home}/database;create=true</value> |
| </property> |
| <property> |
| <name>javax.jdo.option.ConnectionUserName</name> |
| <value>sa</value> |
| </property> |
| <property> |
| <name>javax.jdo.option.ConnectionPassword</name> |
| <value></value> |
| </property> |
| |
| <!-- Postgresql Configuration --> |
| <!-- |
| <property> |
| <name>javax.jdo.option.ConnectionDriverName</name> |
| <value>org.postgresql.Driver</value> |
| </property> |
| <property> |
| <name>javax.jdo.option.ConnectionURL</name> |
| <value>jdbc:postgresql://localhost/continuum</value> |
| </property> |
| <property> |
| <name>javax.jdo.option.ConnectionUserName</name> |
| <value>trygvis</value> |
| </property> |
| <property> |
| <name>javax.jdo.option.ConnectionPassword</name> |
| <value></value> |
| </property> |
| --> |
| |
| <!-- HSQLDB Configuration --> |
| <!-- |
| NOTE: NO NOT USE THIS CONFIGURATION FOR A PRODUCTION SYSTEM. |
| HSQLDB keeps all data in memory at all times. |
| --> |
| <!-- |
| <property> |
| <name>javax.jdo.option.ConnectionDriverName</name> |
| <value>org.hsqldb.jdbcDriver</value> |
| </property> |
| <property> |
| <name>javax.jdo.option.ConnectionURL</name> |
| <value>jdbc:hsqldb:${plexus.home}/database</value> |
| </property> |
| <property> |
| <name>javax.jdo.option.ConnectionUserName</name> |
| <value>sa</value> |
| </property> |
| <property> |
| <name>javax.jdo.option.ConnectionPassword</name> |
| <value></value> |
| </property> |
| |
| <property> |
| <name>org.jpox.transactionIsolation</name> |
| <value>READ_UNCOMMITTED</value> |
| </property> |
| <property> |
| <name>org.jpox.poid.transactionIsolation</name> |
| <value>READ_UNCOMMITTED</value> |
| </property> |
| --> |
| <property> |
| <name>org.jpox.transactionIsolation</name> |
| <value>READ_UNCOMMITTED</value> |
| </property> |
| <property> |
| <name>org.jpox.poid.transactionIsolation</name> |
| <value>READ_UNCOMMITTED</value> |
| </property> |
| </properties> |
| </configuration> |
| </component> |
| |
| <component> |
| <role>org.codehaus.plexus.velocity.VelocityComponent</role> |
| <implementation>org.codehaus.plexus.velocity.DefaultVelocityComponent</implementation> |
| <configuration> |
| <properties> |
| <property> |
| <name>resource.loader</name> |
| <value>threadContext,file</value> |
| </property> |
| <property> |
| <name>file.resource.loader.class</name> |
| <value>org.apache.velocity.runtime.resource.loader.FileResourceLoader</value> |
| </property> |
| <property> |
| <name>file.resource.loader.path</name> |
| <value>@velocity.templates.directory@</value> |
| </property> |
| <property> |
| <name>threadContext.resource.loader.class</name> |
| <value>org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader</value> |
| </property> |
| <property> |
| <name>velocimacro.library</name> |
| <value>/org/apache/maven/continuum/notification/mail/templates/common.vm,CommonMacros.vm</value> |
| </property> |
| <property> |
| <name>velocimacro.library.autoreload</name> |
| <value>@velocimacro.reload@</value> |
| </property> |
| <property> |
| <name>file.resource.loader.cache</name> |
| <value>@velocity.resource.caching@</value> |
| </property> |
| </properties> |
| </configuration> |
| </component> |
| |
| <!-- forms --> |
| <!-- TODO: Move to continuum-web? --> |
| <component> |
| <role>org.codehaus.plexus.i18n.I18N</role> |
| <implementation>org.codehaus.plexus.i18n.DefaultI18N</implementation> |
| <configuration> |
| <default-bundle-name>Continuum</default-bundle-name> |
| </configuration> |
| </component> |
| |
| <!-- TODO: Move to continuum-web? --> |
| <component> |
| <role>org.codehaus.plexus.formica.population.Populator</role> |
| <implementation>org.codehaus.plexus.formica.population.OgnlPopulator</implementation> |
| </component> |
| |
| <component> |
| <role>org.codehaus.plexus.formica.FormManager</role> |
| <implementation>org.codehaus.plexus.formica.DefaultFormManager</implementation> |
| <requirements> |
| <requirement> |
| <role>org.codehaus.plexus.formica.validation.manager.ValidatorManager</role> |
| </requirement> |
| <requirement> |
| <role>org.codehaus.plexus.formica.population.Populator</role> |
| </requirement> |
| <requirement> |
| <role>org.codehaus.plexus.i18n.I18N</role> |
| </requirement> |
| </requirements> |
| <configuration> |
| <forms> |
| <directory-configuration-resource source="@forms.directory@"/> |
| </forms> |
| </configuration> |
| </component> |
| |
| <component> |
| <role>org.codehaus.plexus.formica.validation.Validator</role> |
| <role-hint>url</role-hint> |
| <implementation>org.codehaus.plexus.formica.validation.UrlValidator</implementation> |
| <configuration> |
| <allowedSchemes> |
| <allowedScheme implementation="java.lang.String">http</allowedScheme> |
| <allowedScheme implementation="java.lang.String">https</allowedScheme> |
| <allowedScheme implementation="java.lang.String">ftp</allowedScheme> |
| <!-- <allowedScheme implementation="java.lang.String">file</allowedScheme> --> |
| </allowedSchemes> |
| </configuration> |
| </component> |
| |
| <!-- |
| | |
| | Rundata |
| | TODO : Remove it and put it in continuum-web when it'll work on Solaris |
| | |
| --> |
| <component> |
| <role>org.codehaus.plexus.summit.rundata.RunData</role> |
| <implementation>org.codehaus.plexus.security.summit.SecureRunData</implementation> |
| <instantiation-strategy>per-lookup</instantiation-strategy> |
| </component> |
| |
| |
| <!-- |
| | Logger manager |
| --> |
| <component> |
| <role>org.codehaus.plexus.logging.LoggerManager</role> |
| <implementation>org.codehaus.plexus.logging.log4j.Log4JLoggerManager</implementation> |
| <lifecycle-handler>basic</lifecycle-handler> |
| |
| <configuration> |
| <threshold>DEBUG</threshold> |
| <default-appender>console,rolling</default-appender> |
| <appenders> |
| <appender> |
| <id>console</id> |
| <threshold>DEBUG</threshold> |
| <type>org.apache.log4j.ConsoleAppender</type> |
| <conversion-pattern>%d [%t] %-5p %-30c{1} - %m%n</conversion-pattern> |
| </appender> |
| |
| <appender> |
| <id>rolling</id> |
| <threshold>DEBUG</threshold> |
| <type>org.apache.log4j.RollingFileAppender</type> |
| <conversion-pattern>%-4r [%t] %-5p %c %x - %m%n</conversion-pattern> |
| |
| <properties> |
| <property> |
| <name>file</name> |
| <value>${plexus.home}/logs/continuum.log</value> |
| </property> |
| <property> |
| <name>append</name> |
| <value>true</value> |
| </property> |
| <property> |
| <name>maxBackupIndex</name> |
| <value>10</value> |
| </property> |
| <property> |
| <name>maxFileSize</name> |
| <value>10MB</value> |
| </property> |
| </properties> |
| </appender> |
| </appenders> |
| <levels> |
| <level> |
| <hierarchy>org.codehaus.plexus.velocity</hierarchy> |
| <level>WARN</level> |
| </level> |
| <level> |
| <hierarchy>org.codehaus.plexus.mailsender.MailSender</hierarchy> |
| <level>INFO</level> |
| </level> |
| <level> |
| <hierarchy>JPOX</hierarchy> |
| <level>INFO</level> |
| </level> |
| <level> |
| <hierarchy>JPOX.Cache</hierarchy> |
| <level>WARN</level> |
| </level> |
| </levels> |
| </configuration> |
| </component> |
| </components> |
| |
| </application> |