You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Vivek Kumar (JIRA)" <je...@portals.apache.org> on 2008/10/14 16:56:44 UTC

[jira] Resolved: (JS2-842) tutorial build error: "Error executing ant tasks"

     [ https://issues.apache.org/jira/browse/JS2-842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vivek Kumar resolved JS2-842.
-----------------------------

       Resolution: Won't Fix
    Fix Version/s: 2.2

I am not able to replicate issue

> 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
>            Assignee: Vivek Kumar
>             Fix For: 2.2
>
>
> 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