jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven Javascript Tools
  • MJS-4

site:site fails if there are jsunit tests that fail or error

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Blocker Blocker
  • Resolution: Unresolved
  • Affects Version/s: 1.0-alpha
  • Fix Version/s: 1.0-beta
  • Labels:
    None
  • Environment:
    Hide
    java version "1.6.0_03"
    Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
    Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

    Maven version: 2.0.8
    Java version: 1.6.0_03
    OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
    Show
    java version "1.6.0_03" Java(TM) SE Runtime Environment (build 1.6.0_03-b05) Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing) Maven version: 2.0.8 Java version: 1.6.0_03 OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
  • Testcase included:
    yes

Description

When I try to generate a site and the project has test failures, maven exits with an error that seems to originate from the surefire report generation.

A sample project and build log are attached.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    build.log
    31/Jan/08 8:05 PM
    6 kB
    Harlan Iverson
  2. XML File
    pom.xml
    29/Dec/11 9:10 PM
    3 kB
    Tim Astle
  3. Hide
    Zip Archive
    pure-javascript-project.zip
    31/Jan/08 8:05 PM
    2 kB
    Harlan Iverson
    1. XML File
      pure-javascript-project/pom.xml 2 kB
    2. File
      pure-javascript-project/src/.../Hello.js 0.0 kB
    3. File
      pure-javascript-project/src/.../HelloTest.js 0.1 kB
    Download Zip
    Show
    Zip Archive
    pure-javascript-project.zip
    31/Jan/08 8:05 PM
    2 kB
    Harlan Iverson

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
nicolas de loof added a comment - 21/Feb/08 7:45 AM

Requires some investigation on the surfire way to listen testResult and generate the TEST-.xml

The XMLReporter class expect a StackTraceWriter to expose the failure/error throwable. For un unknow reason, Arnaud Bailly hack to replay the remote jsunit TestResult doesn't expose the expected throwable.

Show
nicolas de loof added a comment - 21/Feb/08 7:45 AM Requires some investigation on the surfire way to listen testResult and generate the TEST-.xml The XMLReporter class expect a StackTraceWriter to expose the failure/error throwable. For un unknow reason, Arnaud Bailly hack to replay the remote jsunit TestResult doesn't expose the expected throwable.
Hide
Permalink
Tim Astle added a comment - 29/Dec/11 9:09 PM

I tried to reproduce this tonight but not having much luck so far. I get "unknown packaging" for javascript (warning) but the kicker is that the build cannot find the javascript-maven-extensions snapshot JAR.

Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact org.codehaus.mojo:javascript-maven-extensions:jar:1.0-alpha-1-SNAPSHOT
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:531)

But it's here: http://snapshots.repository.codehaus.org/org/codehaus/mojo/javascript-maven-extensions/1.0-alpha-1-SNAPSHOT/

I had to update the POM for Maven 3 site reporting and to correct the org.codehaus.mojo.javascript groupId to be org.codehaus.mojo. See attached.

Show
Tim Astle added a comment - 29/Dec/11 9:09 PM I tried to reproduce this tonight but not having much luck so far. I get "unknown packaging" for javascript (warning) but the kicker is that the build cannot find the javascript-maven-extensions snapshot JAR. Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact org.codehaus.mojo:javascript-maven-extensions:jar:1.0-alpha-1-SNAPSHOT at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:531) But it's here: http://snapshots.repository.codehaus.org/org/codehaus/mojo/javascript-maven-extensions/1.0-alpha-1-SNAPSHOT/ I had to update the POM for Maven 3 site reporting and to correct the org.codehaus.mojo.javascript groupId to be org.codehaus.mojo. See attached.
Hide
Permalink
Tim Astle added a comment - 16/Jan/12 8:29 PM

Didn't receive any feedback, so moving this to a beta.

Show
Tim Astle added a comment - 16/Jan/12 8:29 PM Didn't receive any feedback, so moving this to a beta.

People

  • Assignee:
    Tim Astle
    Reporter:
    Harlan Iverson
Vote (0)
Watch (0)

Dates

  • Created:
    31/Jan/08 8:05 PM
    Updated:
    16/Jan/12 8:29 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.