You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Jeff MAURY (JIRA)" <ji...@apache.org> on 2012/11/29 10:28:59 UTC
[jira] [Created] (DIRMINA-921) Maven build fails if test phase is
given
Jeff MAURY created DIRMINA-921:
----------------------------------
Summary: 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
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:
Running mvn install fixes the issue
Seems to be related to maven-xbean-plugin
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DIRMINA-921) Maven build fails if test phase is
given
Posted by "Alan Cabrera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Cabrera updated DIRMINA-921:
---------------------------------
Comment: was deleted
(was: Running
mvn clean test
at the root works perfectly fine for me. I don't see the attached error in your description.)
> 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
>
>
> 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:
> Running mvn install fixes the issue
> Seems to be related to maven-xbean-plugin
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (DIRMINA-921) Maven build fails if test
phase is given
Posted by "Jeff MAURY (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510072#comment-13510072 ]
Jeff MAURY edited comment on DIRMINA-921 at 12/5/12 12:12 PM:
--------------------------------------------------------------
Seems to be related to the maven-xbean-plugin which is bound to the generate-sources phase and that needs to access the source files from the core and the Maven test phase does not generate the source jar. Running mvn package fixes the issue
Don't know if we can bound the source:jar Mojo to the same phase
was (Author: jeffmaury):
Seems to be related to the maven-xbean-plugin which is bound to the generate-sources plugin and that needs to access the source files from the core and the Maven test phase does not generate the source jar. Running mvn package fixes the issue
Don't know if we can bound the source:jar Mojo to the same phase
> 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
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRMINA-921) Maven build fails if test phase is
given
Posted by "Alan Cabrera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506470#comment-13506470 ]
Alan Cabrera commented on DIRMINA-921:
--------------------------------------
Running
mvn clean test
at the root works perfectly fine for me. I don't see the attached error in your description.
> 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
>
>
> 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:
> Running mvn install fixes the issue
> Seems to be related to maven-xbean-plugin
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRMINA-921) Maven build fails if test phase is
given
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506506#comment-13506506 ]
Emmanuel Lecharny commented on DIRMINA-921:
-------------------------------------------
I confirm the issue. Investigating...
> 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
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DIRMINA-921) Maven build fails if test phase is
given
Posted by "Alan Cabrera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Cabrera updated DIRMINA-921:
---------------------------------
Description:
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
was:
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:
Running mvn install fixes the issue
Seems to be related to maven-xbean-plugin
> 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
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRMINA-921) Maven build fails if test phase is
given
Posted by "Jeff MAURY (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510072#comment-13510072 ]
Jeff MAURY commented on DIRMINA-921:
------------------------------------
Seems to be related to the maven-xbean-plugin which is bound to the generate-sources plugin and that needs to access the source files from the core and the Maven test phase does not generate the source jar. Running mvn package fixes the issue
Don't know if we can bound the source:jar Mojo to the same phase
> 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
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DIRMINA-921) Maven build fails if test phase is
given
Posted by "Alan Cabrera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Cabrera updated DIRMINA-921:
---------------------------------
Description:
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
was:
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
> 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
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRMINA-921) Maven build fails if test phase is
given
Posted by "Alan Cabrera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506490#comment-13506490 ]
Alan Cabrera commented on DIRMINA-921:
--------------------------------------
(Deleted old msg since I was testing the wrong branch, whoops)
Weird error.
> 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
>
>
> 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:
> Running mvn install fixes the issue
> Seems to be related to maven-xbean-plugin
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira