Hello, Jetspeed users! I'm new in Jetspeed2, just try to build and deploy Jetspeed-2 to my Tomcat 5.5 installation using Maven-2. Tomcat 5.5: /opt/tomcat My Jetspeed: /opt/jetspeed-maven Maven version: 2.0.9 Java version: 1.6.0_03 OS name: "linux" version: "2.6.22-15-server" arch: "i386" Family: "unix"
I change my settings.xml for Maven 2 and add records that require for Jetspeed. As wrote on http://portals.apache.org/jetspeed-2/maven-2-custom.html I do $ cd /opt/jetspeed-maven $ mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2 \ -DarchetypeArtifactId=portal-archetype -DarchetypeVersion=2.1.3 \ -DgroupId=myportalgroup -DartifactId=myportal -Dversion=1.0 ... [INFO] OldArchetype created in dir: /opt/jetspeed-maven/myportal [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL ... Next, as explained on http://portals.apache.org/tutorials/jetspeed-2/build-commands.html I run $ cd myportal $ mvn ... embedded-database-hsql: [delete] Deleting directory /opt/tomcat/webapps/myportal Downloading: myportalgroup/myportal-portal/1.0/myportal-portal-1.0.pom Downloading: myportalgroup/myportal-portal/1.0/myportal-portal-1.0.war [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing ant tasks Embedded error: The following error occurred while executing this line: /opt/jetspeed-maven/myportal/app-servers/build.xml:90: The following error occurred while executing this line: /opt/jetspeed-maven/myportal/app-servers/build.xml:146: The following error occurred while executing this line: /opt/jetspeed-maven/myportal/app-servers/tomcat-build.xml:102: java.lang.ClassCastException: org.apache.maven.usability.MojoExecutionExceptionDiagnoser cannot be cast to org.apache.maven.usability.diagnostics.ErrorDiagnoser ... If i execute $ mvn -P tomcat the errors are same ... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing ant tasks Embedded error: The following error occurred while executing this line: /opt/jetspeed-maven/myportal/etc/build.xml:300: The following error occurred while executing this line: /opt/jetspeed-maven/myportal/etc/build.xml:305: The following error occurred while executing this line: /opt/jetspeed-maven/myportal/etc/build.xml:505: java.lang.ClassCastException: org.apache.maven.usability.MojoExecutionExceptionDiagnoser cannot be cast to org.apache.maven.usability.diagnostics.ErrorDiagnose What do I do incorrectly? Is it a well-known bug? or my configuration problem? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
