portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Wallace Croft (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-842) tutorial build error: "Error executing ant tasks"
Date Thu, 03 Jan 2008 20:23:34 GMT
tutorial build error:  "Error executing ant tasks"
--------------------------------------------------

                 Key: JS2-842
                 URL: https://issues.apache.org/jira/browse/JS2-842
             Project: Jetspeed 2
          Issue Type: Bug
          Components: Site Documentation
         Environment: Windows
            Reporter: David Wallace Croft


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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message