bugzilla | 26 Jun 2012 17:28
Picon
Favicon

[Bug 53471] New: mvn fails with s.addTestSuite(org.apache.log4j.net.SMTPAppenderTest.class); in CoreTestSuite

https://issues.apache.org/bugzilla/show_bug.cgi?id=53471

          Priority: P2
            Bug ID: 53471
          Assignee: log4j-dev <at> logging.apache.org
           Summary: mvn fails with
                    s.addTestSuite(org.apache.log4j.net.SMTPAppenderTest.c
                    lass); in CoreTestSuite
          Severity: regression
    Classification: Unclassified
                OS: Windows Vista
          Reporter: josef.stadelmann <at> axa-winterthur.ch
          Hardware: PC
            Status: NEW
           Version: 1.2.18
         Component: Other
           Product: Log4j

$ jsvn co http://svn.apache.org/repos/asf/logging/log4j/tags/v1_2_17
on my Vista PC. Then engaged maven 3.0.5 from NetBeans to build log4j-1.2.17
it fails in CoreTestSuite as follow:
Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.2:run
(runAll) on project log4j: An Ant BuildException has occured: The following
error occurred while executing this line:
E:\asf\logging\log4j\tags\v1_2_17\tests\build.xml:187: Test
org.apache.log4j.CoreTestSuite failed

    [junit] Testcase: testThrowableRenderer took 0 sec
    [junit] Testcase: testTrigger took 0.031 sec
    [junit]     Caused an ERROR
(Continue reading)

bugzilla | 26 Jun 2012 17:29
Picon
Favicon

[Bug 53471] mvn fails with s.addTestSuite(org.apache.log4j.net.SMTPAppenderTest.class); in CoreTestSuite

https://issues.apache.org/bugzilla/show_bug.cgi?id=53471

--- Comment #1 from Josef Stadelmann <josef.stadelmann <at> axa-winterthur.ch> ---
BTW I can not enter version 1.2.17 as this one is missing, so i used version
1.2 18;

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
bugzilla | 28 Jun 2012 16:29
Picon
Favicon

[Bug 53471] mvn fails with s.addTestSuite(org.apache.log4j.net.SMTPAppenderTest.class); in CoreTestSuite

https://issues.apache.org/bugzilla/show_bug.cgi?id=53471

--- Comment #2 from grobmeier <grobmeier <at> gmail.com> ---
Weird, this test runs fine for me. Maybe it is related to the fact the
javax.mail.* package is set optional in maven. Could you:

a) look into $user_home/.m2/repos and check if the javax.mail stuff is there?
b) try to change the dependency from "Optional" to "compile" and see if it
helps you?

Thanks!
Christian

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
bugzilla | 28 Jun 2012 16:30
Picon
Favicon

[Bug 53471] mvn fails with s.addTestSuite(org.apache.log4j.net.SMTPAppenderTest.class); in CoreTestSuite

https://issues.apache.org/bugzilla/show_bug.cgi?id=53471

grobmeier <grobmeier <at> gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.2.18                      |1.2.17

--- Comment #3 from grobmeier <grobmeier <at> gmail.com> ---
(In reply to comment #1)
> BTW I can not enter version 1.2.17 as this one is missing, so i used version
> 1.2 18;

I create that version and moved the bug to it, thank you!

--

-- 
You are receiving this mail because:
You are the assignee for the bug.

Gmane