You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2014/09/07 06:54:29 UTC

[jira] [Resolved] (DIRMINA-921) Maven build fails if test phase is given

     [ https://issues.apache.org/jira/browse/DIRMINA-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRMINA-921.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.9

Postponed. Not really a big issue, but would be cool to find a fix for this one.

> Maven build fails if test phase is given
> ----------------------------------------
>
>                 Key: DIRMINA-921
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-921
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0.7
>            Reporter: Jeff MAURY
>            Priority: Minor
>             Fix For: 2.0.8, 2.0.9
>
>
> If you run a mvn clean test on the root pom, the build fails because the mina-integration-xbean test fails with the following error:
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.mina.integration.xbean.SpringXBeanTest
> log4j:WARN No appenders could be found for logger (org.apache.xbean.spring.context.FileSystemXmlApplicationContext).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.329 sec <<< FAILURE!
> Results :
> Tests in error: 
>   testNioDatagramAcceptor(org.apache.mina.integration.xbean.SpringXBeanTest): Unrecognized xbean element mapping: nioDatagramAcceptor in namespace http://mina.apache.org/config/1.0
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> Running mvn install fixes the issue
> Seems to be related to maven-xbean-plugin



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)