Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
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>