Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-842

tutorial build error: "Error executing ant tasks"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 2.2.0
    • Site Documentation
    • None
    • 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>

      Attachments

        Activity

          People

            firevelocity Vivek Kumar
            croft David Wallace Croft
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: