Continuum Plexus - wendysmoak/wiki GitHub Wiki
== Deploying Continuum 1.1-SNAPSHOT on Plexus Runtime ==
These instructions explain how to deploy the (unreleased) Continuum 1.1-SNAPSHOT application using the Plexus runtime.
-
Build Continuum or obtain a pre-built snapshot.
-
Locate the continuum-bin.tar.gz (or similarly named) file. (If you built Continuum it will be in continuum-plexus-runtime/target.)
-
Unzip and expand the .tar.gz file. It will create a "continuum" directory.
-
To start the application, execute the platform specific script under
continuum/bin, for examplecontinuum/bin/win32/run.bat. -
Access the application at http://localhost:8080/continuum
=== Optional Configuration ===
- The default SMTP configuration assumes port 25 on localhost. To configure a different SMTP server, edit the following file:
: /path/to/continuum/conf/plexus.xml
<plexus>
...
<component>
<role>org.codehaus.plexus.naming.Naming</role>
<implementation>org.codehaus.plexus.naming.DefaultNaming</implementation>
<role-hint>dataSources</role-hint>
<configuration>
<resources>
<!--
Mail Session
-->
<resource>
<name>mail/Session</name>
<type>javax.mail.Session</type>
<properties>
<property>
<name>mail.smtp.host</name>
<value>localhost</value>
</property>
<property>
<name>mail.smtp.port</name>
<value>25</value>
</property>
</properties>
</resource>
...
</plexus>
- Override the "To:" address for all mail sent from Continuum. Modify the element in
/path/to/continuum/apps/continuum/webapp/WEB-INF/classes/META-INF/plexus/application.xmland provide an alternate email address.
<plexus>
...
<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>[email protected]</to-override>
</configuration>
</component>
...
</plexus>