Mojo's Castor Maven Plugin
  1. Mojo's Castor Maven Plugin
  2. MCASTOR-3

Castor test cases are not reactor friendly. Cannot build from mojo root.

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When running the build from the top, the castor tests fail with the following. They appear to be looking for mapping.xml from the root of the build, not of the artifact's project.

      [info] Processing /data/users/bravo/projects/open source/codehaus-maven/trunk/mojo/src/test/resources/mapping.xml
      [info] XML Schema file "/data/users/bravo/projects/open source/codehaus-maven/trunk/mojo/src/test/resources/mapping.xml" not found .
      [info] Processing /data/users/bravo/projects/open source/codehaus-maven/trunk/mojo/src/test/resources/mapping.xml
      [info] XML Schema file "/data/users/bravo/projects/open source/codehaus-maven/trunk/mojo/src/test/resources/mapping.xml" not found .
      [info] Processing /data/users/bravo/projects/open source/codehaus-maven/trunk/mojo/src/test/resources/mapping.xml
      [info] XML Schema file "/data/users/bravo/projects/open source/codehaus-maven/trunk/mojo/src/test/resources/mapping.xml" not found .
      [info] Nothing to process - all xsds are up to date
      [surefire] Running org.apache.maven.plugins.castor.CodeGeneratorMojoTest
      [surefire] Tests run: 11, Failures: 0, Errors: 4, Time elapsed: 0 sec <<<<<<<< FAILURE !!

        Activity

          People

          • Assignee:
            Matt Brozowski
            Reporter:
            Corridor Software Developer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: