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.

  1. Build Continuum or obtain a pre-built snapshot.

  2. Locate the continuum-bin.tar.gz (or similarly named) file. (If you built Continuum it will be in continuum-plexus-runtime/target.)

  3. Unzip and expand the .tar.gz file. It will create a "continuum" directory.

  4. To start the application, execute the platform specific script under continuum/bin, for example continuum/bin/win32/run.bat.

  5. 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.xml and 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>
⚠️ **GitHub.com Fallback** ⚠️