| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one |
| ~ or more contributor license agreements. See the NOTICE file |
| ~ distributed with this work for additional information |
| ~ regarding copyright ownership. The ASF licenses this file |
| ~ to you under the Apache License, Version 2.0 (the |
| ~ "License"); you may not use this file except in compliance |
| ~ with the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, |
| ~ software distributed under the License is distributed on an |
| ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| ~ KIND, either express or implied. See the License for the |
| ~ specific language governing permissions and limitations |
| ~ under the License. |
| --> |
| |
| <plexus> |
| <components> |
| |
| <component> |
| <role>org.springframework.mail.javamail.JavaMailSender</role> |
| <implementation>org.apache.continuum.notification.mail.MockJavaMailSender</implementation> |
| <role-hint>continuum</role-hint> |
| </component> |
| |
| <component> |
| <role>org.apache.maven.continuum.notification.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.continuum.dao.ProjectDao</role> |
| </requirement> |
| <requirement> |
| <role>org.apache.continuum.dao.BuildResultDao</role> |
| </requirement> |
| <requirement> |
| <field-name>javaMailSender</field-name> |
| <role>javaMailSender</role> |
| <role-hint>continuum</role-hint> |
| </requirement> |
| <requirement> |
| <role>org.apache.maven.continuum.Continuum</role> |
| </requirement> |
| <requirement> |
| <role>org.apache.maven.continuum.configuration.ConfigurationService</role> |
| </requirement> |
| <requirement> |
| <role>org.apache.maven.continuum.reports.surefire.ReportTestSuiteGenerator</role> |
| <field-name>reportTestSuiteGenerator</field-name> |
| <role-hint>default</role-hint> |
| </requirement> |
| </requirements> |
| <configuration> |
| <fromMailbox>continuum@localhost</fromMailbox> |
| <fromName>Continuum</fromName> |
| <timestampFormat>EEE, d MMM yyyy HH:mm:ss Z</timestampFormat> |
| <includeBuildOutput>true</includeBuildOutput> |
| </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</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</value> |
| </property> |
| </properties> |
| </configuration> |
| </component> |
| |
| <component> |
| <role>org.apache.maven.continuum.utils.ContinuumUrlValidator</role> |
| <role-hint>continuumUrl</role-hint> |
| <implementation>org.apache.maven.continuum.utils.ContinuumUrlValidator</implementation> |
| </component> |
| </components> |
| </plexus> |