I extracted pom.xml from the jar file and renamed it to
tomcat-maven-plugin-1.0-alpha-1.pom
and put this file in
.m2\repository\org\codehaus\mojo\tomcat-maven-plugin\1.0-alpha-1. That fixed
that problem.
I now get [INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Java heap space
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.OutOfMemoryError: Java heap space
at
java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:95)
at
sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61)
at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
)
Ive given more memory to tomcat and maven. It deploys the tomcat samle.war
fine, but the webapp im trying to deploy is 20MB because maven adds add the
dependency jars despite them having provided scope.
Can Maven run the Tomcat manager tasks? Hot deploying wars using ant takes a
few mins to set up.
--
View this message in context:
http://www.nabble.com/Maven-2-tomcat-plugin-fatal-error-java.lang.NoClassDefFoundError%3A-org-apache-commons-codec-binary-Base64-tf4814577s177.html#a13778444
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]