From: "Olivier Lamy" <[email protected]>
To: [email protected]
Sent: Friday, January 30, 2009 11:05:29 AM GMT -07:00 US/Canada
Mountain
Subject: Re: [mojo-user] tomcat-maven-plugin java byte code changes
Hi,
Yes because we have upgraded to tomcat 6.0.x which is only 1.5.
BTW it's documented in the "System Requirements" section here :
http://mojo.codehaus.org/tomcat-maven-plugin/plugin-info.html
--
Olivier
2009/1/30 Trenton D. Adams <[email protected]>:
Hi Guys,
It appears that tomcat-maven-plugin has been changed with code that
is not supported by java 1.4.2. Namely 1.5 java bytecode. Is this
intended? If so, wouldn't it be better to only support what maven
2.0.9 itself has claimed to support? i.e. java 1.4.
It appears that these changes were made between alpha-1 and
beta-1...
tre...@reuben /data/MyDocuments/java/oros $ ls -l
/home/trenta/.m2/repository/org/codehaus/mojo/tomcat-maven-plugin/
1.0-alpha-1/
total 52
-rw-r--r-- 1 trenta trenta 40568 Jul 17 2008
tomcat-maven-plugin-1.0-alpha-1.jar
-rw-r--r-- 1 trenta trenta 40 Jul 17 2008
tomcat-maven-plugin-1.0-alpha-1.jar.sha1
-rw-r--r-- 1 trenta trenta 3790 Jul 17 2008
tomcat-maven-plugin-1.0-alpha-1.pom
-rw-r--r-- 1 trenta trenta 40 Jul 17 2008
tomcat-maven-plugin-1.0-alpha-1.pom.sha1
tre...@reuben /data/MyDocuments/java/oros $ ls -l
/home/trenta/.m2/repository/org/codehaus/mojo/tomcat-maven-plugin/
1.0-beta-1/
total 68
-rw-r--r-- 1 trenta trenta 49740 Jan 29 10:12
tomcat-maven-plugin-1.0-beta-1.jar
-rw-r--r-- 1 trenta trenta 40 Jan 29 10:12
tomcat-maven-plugin-1.0-beta-1.jar.sha1
-rw-r--r-- 1 trenta trenta 6013 Jan 29 10:12
tomcat-maven-plugin-1.0-beta-1.pom
-rw-r--r-- 1 trenta trenta 40 Jan 29 10:12
tomcat-maven-plugin-1.0-beta-1.pom.sha1
The errors I am getting are below...
Thanks.
tre...@reuben
/data/MyDocuments/java/oros/oros-1.2.4-patches-quickfix $ mvn
-Ptux2-bant,client install tomcat:undeploy tomcat:deploy
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] oros
[INFO] oros rmi component
[INFO] oros web component
[INFO] Searching repository for plugin with prefix: 'tomcat'.
[INFO]
---
---------------------------------------------------------------------
[INFO] Building oros
[INFO] task-segment: [install, tomcat:undeploy, tomcat:deploy]
[INFO]
---
---------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing
/data/MyDocuments/java/oros/oros-1.2.4-patches-quickfix/pom.xml to
/home/trenta/.m2/repository/ca/athabascau/banner/oros/1.2.3/
oros-1.2.3.pom
-----------------------------------------------------
this realm =
app0.child-container[org.codehaus.mojo:tomcat-maven-plugin]
urls[0] =
file:/home/trenta/.m2/repository/org/codehaus/mojo/tomcat-maven-
plugin/1.0-beta-1/tomcat-maven-plugin-1.0-beta-1.jar
urls[1] =
file:/home/trenta/.m2/repository/org/codehaus/plexus/plexus-utils/
1.0.4/plexus-utils-1.0.4.jar
urls[2] =
file:/home/trenta/.m2/repository/commons-codec/commons-codec/1.3/
commons-codec-1.3.jar
urls[3] =
file:/home/trenta/.m2/repository/org/apache/tomcat/catalina/6.0.16/
catalina-6.0.16.jar
urls[4] =
file:/home/trenta/.m2/repository/org/apache/tomcat/servlet-api/
6.0.16/servlet-api-6.0.16.jar
urls[5] =
file:/home/trenta/.m2/repository/org/apache/tomcat/juli/6.0.16/
juli-6.0.16.jar
urls[6] =
file:/home/trenta/.m2/repository/org/apache/tomcat/annotations-api/
6.0.16/annotations-api-6.0.16.jar
urls[7] =
file:/home/trenta/.m2/repository/org/apache/tomcat/catalina-ha/
6.0.16/catalina-ha-6.0.16.jar
urls[8] =
file:/home/trenta/.m2/repository/org/apache/tomcat/coyote/6.0.16/
coyote-6.0.16.jar
urls[9] =
file:/home/trenta/.m2/repository/org/apache/tomcat/tribes/6.0.16/
tribes-6.0.16.jar
urls[10] =
file:/home/trenta/.m2/repository/org/apache/tomcat/el-api/6.0.16/el-
api-6.0.16.jar
urls[11] =
file:/home/trenta/.m2/repository/org/apache/tomcat/jasper/6.0.16/
jasper-6.0.16.jar
urls[12] =
file:/home/trenta/.m2/repository/org/apache/tomcat/jsp-api/6.0.16/
jsp-api-6.0.16.jar
urls[13] =
file:/home/trenta/.m2/repository/org/apache/tomcat/jasper-jdt/
6.0.16/jasper-jdt-6.0.16.jar
urls[14] =
file:/home/trenta/.m2/repository/org/apache/tomcat/jasper-el/6.0.16/
jasper-el-6.0.16.jar
urls[15] =
file:/home/trenta/.m2/repository/org/apache/tomcat/dbcp/6.0.16/
dbcp-6.0.16.jar
Number of imports: 6
import: org.codehaus.classworlds.en...@4891bb28
import: org.codehaus.classworlds.en...@f8e44ca4
import: org.codehaus.classworlds.en...@c51bc9e7
import: org.codehaus.classworlds.en...@bece5185
import: org.codehaus.classworlds.en...@3fee8e37
import: org.codehaus.classworlds.en...@3fee19d8
this realm = plexus.core
urls[0] = file:/usr/share/maven-bin-2.0/lib/maven-2.0.9-uber.jar
Number of imports: 6
import: org.codehaus.classworlds.en...@4891bb28
import: org.codehaus.classworlds.en...@f8e44ca4
import: org.codehaus.classworlds.en...@c51bc9e7
import: org.codehaus.classworlds.en...@bece5185
import: org.codehaus.classworlds.en...@3fee8e37
import: org.codehaus.classworlds.en...@3fee19d8
-----------------------------------------------------
[INFO]
---
---------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
---
---------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'org.codehaus.mojo:tomcat-maven-plugin:1.0-beta-1:undeploy': Unable
to
find the mojo
'org.codehaus.mojo:tomcat-maven-plugin:1.0-beta-1:undeploy' in the
plugin 'org.codehaus.mojo:tomcat-maven-plugin'
org/codehaus/mojo/tomcat/UndeployMojo (Unsupported major.minor
version 49.0)
[INFO]
---
---------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
---
---------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Thu Jan 29 10:30:24 MST 2009
[INFO] Final Memory: 9M/18M
[INFO]
---
---------------------------------------------------------------------
(reverse-i-search)`':
Trenton D. Adams
Systems Analyst/Web Software Engineer
Navy Penguins at your service!
Athabasca University
(780) 675-6195
:wq!
Trenton D. Adams
Systems Analyst/Web Software Engineer
Navy Penguins at your service!
Athabasca University
(780) 675-6195
:wq!
__
This communication is intended for the use of the recipient to
whom it
is addressed, and may contain confidential, personal, and or
privileged
information. Please contact us immediately if you are not the
intended
recipient of this communication, and do not copy, distribute, or
take
action relying on it. Any communications received in error, or
subsequent reply, should be deleted or destroyed.
---
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email