Maven Doxia

siternderer does not build

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0-alpha-9
  • Component/s: Site Renderer
  • Labels:
    None
  • Number of attachments :
    3

Description

The doxia-siterenderer module does not build. it does some automatic dependency resolution for commons-collections and ends up with version 2.0 which does not contain a required class:

patch is attached.

  1. ds.patch
    06/Jan/07 10:50 AM
    0.5 kB
    Henning Schmiedehausen
  2. logfile
    15/Jan/07 2:58 PM
    88 kB
    Henning Schmiedehausen
  3. org.apache.maven.doxia.siterenderer.DefaultSiteRendererTest.txt
    15/Jan/07 3:02 PM
    2 kB
    Henning Schmiedehausen

Activity

Hide
Vincent Siveton added a comment -

I tried with mvn 2.0.x and all seems ok here and in the zones [1] Could you provide us debug trace and the surefire reports? Thanks.

Moreover, commons-collections:3.2 is needed by htmlunit (which uses it as dependency) in the test phase so it will be better to add <scope>test</scope>

[1] http://maven.zones.apache.org/continuum/buildResults.action?projectId=123&projectGroupId=10

Show
Vincent Siveton added a comment - I tried with mvn 2.0.x and all seems ok here and in the zones [1] Could you provide us debug trace and the surefire reports? Thanks. Moreover, commons-collections:3.2 is needed by htmlunit (which uses it as dependency) in the test phase so it will be better to add <scope>test</scope> [1] http://maven.zones.apache.org/continuum/buildResults.action?projectId=123&projectGroupId=10
Hide
Vincent Siveton added a comment -

After some discussions on IRC with Emmanuel and Kenney, here is a summary:

  • Zones uses maven 2.0.4
  • With maven 2.0.5, I got this issue with "mvn test"
  • Works a treat with 2.0.5 and a profile "mvn test -Papache"
Show
Vincent Siveton added a comment - After some discussions on IRC with Emmanuel and Kenney, here is a summary:
  • Zones uses maven 2.0.4
  • With maven 2.0.5, I got this issue with "mvn test"
  • Works a treat with 2.0.5 and a profile "mvn test -Papache"
Hide
Henning Schmiedehausen added a comment -

% pwd
/home/henning/scratch/maven-2.orig/doxia/doxia-site-renderer
% svn status .
% svn up .
At revision 496487.
% mvn clean
[...]
% mvn -X -e test
[...]
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.793 sec <<< FAILURE!

Complete log as an attachment.

Show
Henning Schmiedehausen added a comment - % pwd /home/henning/scratch/maven-2.orig/doxia/doxia-site-renderer % svn status . % svn up . At revision 496487. % mvn clean [...] % mvn -X -e test [...] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.793 sec <<< FAILURE! Complete log as an attachment.
Hide
Henning Schmiedehausen added a comment -

failed doxia-siterenderer build. Full log file.

Show
Henning Schmiedehausen added a comment - failed doxia-siterenderer build. Full log file.
Hide
Henning Schmiedehausen added a comment -

This is the surefire report file for the failed test. Note the error...

Show
Henning Schmiedehausen added a comment - This is the surefire report file for the failed test. Note the error...
Hide
Jason van Zyl added a comment -

Builds fine.

Show
Jason van Zyl added a comment - Builds fine.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: