Re: Error when mvn -P tomcat,min

2008-08-31 Thread Paul Benedict
I don't know if it makes a difference to your problem, but there
should be no space between -P and the profile names.

On Sun, Aug 31, 2008 at 6:59 AM, Fancing [EMAIL PROTECTED] wrote:
 When i built the Jetspeed Portal as the tutorial:
 http://portals.apache.org/tutorials/jetspeed-2/01/build-it.html, i got
 the following errors:

 $ mvn -P tomcat,min

 [ERROR] BUILD ERROR
 [INFO] ---
 [INFO] Error executing any tasks

 Embedded error: The following error occurred while executing this line:
 D:\Develop\Maven\workspace\jetexpress\etc\build.xml:300: The following
 error occurred while executing this line:
 D:\Develop\Maven\workspace\jetexpress\etc\build.xml:305: The following
 error occurred while executing this line:
 D:\Develop\Maven\workspace\jetexpress\etc\build.xml:505:
 java.lang.ClassCastExecption:
 org.apache.maven.usability.MojoExecutionExceptionDiagnoser cannot be
 cast to org.apache.maven.usability.diagnostics.ErrorDiagnoser
 [INFO] ---
 [INFO] For more information, run Maven with the -e switch
 [INFO] ---

 i use the Maven-2.0.8 and JDK 6, anyone knows this problem, please help me!
 Thanks!

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error when mvn -P tomcat,min

2008-08-31 Thread Fancing
It works. Thanks a lot! :)
But i think this document should be updated:
http://portals.apache.org/tutorials/jetspeed-2/01/build-it.html
There is ONE space between -P and the profile name!!!

2008/8/31 Paul Benedict [EMAIL PROTECTED]:
 I don't know if it makes a difference to your problem, but there
 should be no space between -P and the profile names.

 On Sun, Aug 31, 2008 at 6:59 AM, Fancing [EMAIL PROTECTED] wrote:
 When i built the Jetspeed Portal as the tutorial:
 http://portals.apache.org/tutorials/jetspeed-2/01/build-it.html, i got
 the following errors:

 $ mvn -P tomcat,min

 [ERROR] BUILD ERROR
 [INFO] ---
 [INFO] Error executing any tasks

 Embedded error: The following error occurred while executing this line:
 D:\Develop\Maven\workspace\jetexpress\etc\build.xml:300: The following
 error occurred while executing this line:
 D:\Develop\Maven\workspace\jetexpress\etc\build.xml:305: The following
 error occurred while executing this line:
 D:\Develop\Maven\workspace\jetexpress\etc\build.xml:505:
 java.lang.ClassCastExecption:
 org.apache.maven.usability.MojoExecutionExceptionDiagnoser cannot be
 cast to org.apache.maven.usability.diagnostics.ErrorDiagnoser
 [INFO] ---
 [INFO] For more information, run Maven with the -e switch
 [INFO] ---

 i use the Maven-2.0.8 and JDK 6, anyone knows this problem, please help me!
 Thanks!

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error when mvn -P tomcat,min

2008-08-31 Thread Wayne Fay
You'll need to take this up with the Jetspeed dev team. Obviously the
Maven guys have no control over the Jetspeed documentation.

Wayne

On 8/31/08, Fancing [EMAIL PROTECTED] wrote:
 It works. Thanks a lot! :)
 But i think this document should be updated:
 http://portals.apache.org/tutorials/jetspeed-2/01/build-it.html
 There is ONE space between -P and the profile name!!!

 2008/8/31 Paul Benedict [EMAIL PROTECTED]:
  I don't know if it makes a difference to your problem, but there
  should be no space between -P and the profile names.
 
  On Sun, Aug 31, 2008 at 6:59 AM, Fancing [EMAIL PROTECTED] wrote:
  When i built the Jetspeed Portal as the tutorial:
  http://portals.apache.org/tutorials/jetspeed-2/01/build-it.html, i got
  the following errors:
 
  $ mvn -P tomcat,min
 
  [ERROR] BUILD ERROR
  [INFO] ---
  [INFO] Error executing any tasks
 
  Embedded error: The following error occurred while executing this line:
  D:\Develop\Maven\workspace\jetexpress\etc\build.xml:300: The following
  error occurred while executing this line:
  D:\Develop\Maven\workspace\jetexpress\etc\build.xml:305: The following
  error occurred while executing this line:
  D:\Develop\Maven\workspace\jetexpress\etc\build.xml:505:
  java.lang.ClassCastExecption:
  org.apache.maven.usability.MojoExecutionExceptionDiagnoser cannot be
  cast to org.apache.maven.usability.diagnostics.ErrorDiagnoser
  [INFO] ---
  [INFO] For more information, run Maven with the -e switch
  [INFO] ---
 
  i use the Maven-2.0.8 and JDK 6, anyone knows this problem, please help me!
  Thanks!
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]