<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<Configure class="org.mortbay.jetty.webapp.WebAppContext">
+<New id="validation_mail" class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg>mail/Session</Arg>
+ <Arg>
+ <New class="org.mortbay.naming.factories.MailSessionReference">
+ <Set name="user"></Set>
+ <Set name="password"></Set>
+ <Set name="properties">
+ <New class="java.util.Properties">
+ <Put name="mail.smtp.host">localhost</Put>
+ <Put name="mail.smtp.port">25</Put> <!-- TODO: shouldn't this default? -->
+ </New>
+ </Set>
+ </New>
+ </Arg>
+</New>
+
<New id="users" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>jdbc/users</Arg>
<Arg>
<xml fileName="${appserver.home}/conf/common.xml" config-optional="true"/>
<properties fileName="${appserver.home}/security.properties" config-optional="true"
config-at="org.codehaus.plexus.security"/>
+ <properties fileName="org/apache/maven/archiva/security.properties" config-at="org.codehaus.plexus.security"/>
</properties>
</configuration>
</component>
# under the License.
#
-# --------------------------------------------------------------------
-# Application Configuration
-
-application.name=Maven Archiva
-# NOTE: do not include trailing slash on application.url
-application.url=http://localhost
-application.timestamp=EEE d MMM yyyy HH:mm:ss Z
-
# --------------------------------------------------------------------
# Email Settings
-# All emails sent by the system will be from the following user name (used in conjunction with address)
-email.from.address=archiva@localhost
-email.from.name=Archiva Administrator
-
# The subject line for the email message.
email.validation.subject=Welcome to Maven Archiva