portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peeper <sip.sni...@gmail.com>
Subject Portal build problems
Date Wed, 06 Aug 2008 15:13:51 GMT


Hi,


I'm attempting a Jetspeed portal build (not from source) and have
encountered an exception. I've included snipped maven build output,
below, which shows the
org.apache.maven.usability.MojoExecutionExceptionDiagnoser exception.
I can't find any meaningful documentation about the exception on
either Apache's Maven or Jetspeed sites. Anyone have any suggestions about
what may be wrong
or pointers to useful references?


I'm following the Jetexpress tutorial portal documentation and have
found a few other problems in the tutorial documentation. I'd be happy
to assist with updating the documentation, but I'm unsure who to
approach regarding this. Again, any suggestions would be welcome.



$ mvn -e -P tomcat,min
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   jetexpress Portal
 ...
 [snip/]
 ...
Downloading: javax/activation/activation/1.0.2/activation-1.0.2.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred
while executing this line:
/home/paul/src/jetspeed-training/jetexpress/etc/build.xml:300: The
following error occurred while executing this line:
/home/paul/src/jetspeed-training/jetexpress/etc/build.xml:305: The
following error occurred while executing this line:
/home/paul/src/jetspeed-training/jetexpress/etc/build.xml:505:
java.lang.ClassCastException:
org.apache.maven.usability.MojoExecutionExceptionDiagnoser cannot be
cast to org.apache.maven.usability.diagnostics.ErrorDiagnoser

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An Ant
BuildException has occured: The following error occurred while
executing this line:
/home/paul/src/jetspeed-training/jetexpress/etc/build.xml:300: The
following error occurred while executing this line:
/home/paul/src/jetspeed-training/jetexpress/etc/build.xml:305: The
following error occurred while executing this line:
/home/paul/src/jetspeed-training/jetexpress/etc/build.xml:505:
java.lang.ClassCastException:
org.apache.maven.usability.MojoExecutionExceptionDiagnoser cannot be
cast to org.apache.maven.usability.diagnostics.ErrorDiagnoser
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
       at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant
BuildException has occured: The following error occurred while
executing this line:
 ...
 [snip/]
 ...
       ... 41 more
Caused by: java.lang.ClassCastException:
org.apache.maven.usability.MojoExecutionExceptionDiagnoser cannot be
cast to org.apache.maven.usability.diagnostics.ErrorDiagnoser
       at
org.apache.maven.usability.diagnostics.ErrorDiagnostics.diagnose(ErrorDiagnostics.java:75)
       at
org.apache.maven.artifact.ant.AbstractArtifactTask.diagnoseError(AbstractArtifactTask.java:382)
       at
org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:455)
       at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
       at org.apache.tools.ant.Task.perform(Task.java:364)
       ... 47 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 34 seconds
[INFO] Finished at: Tue Aug 05 17:37:18 BST 2008
[INFO] Final Memory: 16M/36M
[INFO]
------------------------------------------------------------------------


Thanks,


Paul.

-- 
View this message in context: http://www.nabble.com/Portal-build-problems-tp18853382p18853382.html
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message