You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Bob <pr...@rambler.ru> on 2009/04/11 14:44:21 UTC

mvn -P tomcat,min - ...build.xml:505 ... ClassCastException (org.apache.maven.usability.MojoFailureExceptionDiagniser)

I try tutorial's JetExpress steps.
on step "Building and Deploying a Custom Jetspeed Portal" I get BUILD 
ERROR
...
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: 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.ClassCastException: 
org.apache.maven.usability.MojoFailureExceptionDiagnoser


for mvn task:
>mvn -P tomcat,min

I try it's on mvn 2.0.7 & mvn 2.1.0 - no diff 8(

Also, during mvn's dowloading libs (jars),  I looking to many WARNING 
about wrong checksum & connections timeout...

--
Vladimir Figurov

--

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


Re: mvn -P tomcat,min - ...build.xml:505 ... ClassCastException (org.apache.maven.usability.MojoFailureExceptionDiagniser)

Posted by Mansour Al Akeel <ma...@gmail.com>.
Bob:
What is the full error. I can not help you if I don't have the relevant
error msg. I just need something descritive. I know you can not include
all the messages but I need the exception message. Run again the last
step with the "-e" switch to maven. for example:

mvn -e -P tomcat,min 

And paste here the exception you are getting.


On Sat Apr 11,2009 04:44 pm, Bob wrote:
> I try tutorial's JetExpress steps.
> on step "Building and Deploying a Custom Jetspeed Portal" I get BUILD ERROR
> ...
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: 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.ClassCastException: 
> org.apache.maven.usability.MojoFailureExceptionDiagnoser
>
>
> for mvn task:
>> mvn -P tomcat,min
>
> I try it's on mvn 2.0.7 & mvn 2.1.0 - no diff 8(
>
> Also, during mvn's dowloading libs (jars),  I looking to many WARNING about 
> wrong checksum & connections timeout...
>
> --
> Vladimir Figurov
>
> --
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>

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