Jetspeed 2
  1. Jetspeed 2
  2. JS2-842

tutorial build error: "Error executing ant tasks"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: Site Documentation
    • Labels:
      None
    • Environment:
      Windows

      Description

      This error arises when following the build instructions on the tutorial webpage "Building and Deploying a Custom Jetspeed Portal"
      http://portals.apache.org/tutorials/jetspeed-2/01/build-it.html

      The build fails with this error message:
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error executing ant tasks
      Embedded error: The following error occurred while executing this line:
      C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:300: The following error
      occurred while executing this line:
      C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:305: The following error
      occurred while executing this line:
      C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:505: java.lang.ClassCastE
      xception: org.apache.maven.usability.MojoExecutionExceptionDiagnoser cannot be c
      ast to org.apache.maven.usability.diagnostics.ErrorDiagnoser

      The error on line 505 of the build.xml file appears to be related to dependencies.

      Workaround:
      The tutorial resources zip file contains a settings.xml.jetexpress to be used as the settings.xml for the build.
      The build succeeds if the following line in settings.xml.jetexpress is remarked out:
      <localRepository>c:/JetspeedTraining/maven/repository/</localRepository>

        Activity

        Hide
        Vivek Kumar added a comment -

        I am not able to replicate issue

        Show
        Vivek Kumar added a comment - I am not able to replicate issue

          People

          • Assignee:
            Vivek Kumar
            Reporter:
            David Wallace Croft
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development