Hi Stephen, Sorry, I wasn't very clear. I don't necessarily disagree with switching to 1.5. Nor am I necessarily advocating splitting of the plugin into two separate plugins for tomcat. I'm just saying that perhaps your site could mention that alpha-1 is 1.4 compatible, and beta-1 is 1.5 compatible, and explain how to lock the version. That would be helpful to end users, especially new ones. For me, I had to do some asking around on IRC, because I couldn't quickly find anything about locking the version.
Thanks. Trenton D. Adams Systems Analyst/Web Software Engineer Navy Penguins at your service! Athabasca University (780) 675-6195 :wq! ----- "Stephen Connolly" <stephen.alan.conno...@gmail.com> wrote: > From: "Stephen Connolly" <stephen.alan.conno...@gmail.com> > To: user@mojo.codehaus.org > Sent: Friday, January 30, 2009 2:29:34 PM GMT -07:00 US/Canada Mountain > Subject: Re: [mojo-user] tomcat-maven-plugin java byte code changes > > but this version of the plugin is to work with tomcat 6 > > tomcat 6 requires 1.5 irrc > > if you are using an older version of tomcat, lock the version of the > > plugin back > > it is hard to know if this would have been better being forked into a > > tomcat6 plugin for v6 and a tomcat5 plugin for v5 > > Sent from my [rhymes with myPod] ;-) > > On 30 Jan 2009, at 18:43, "Trenton D. Adams" <tre...@athabascau.ca> > wrote: > > > Hi Olivier, > > > > Perhaps it could mention that in order for 1.4 compatibility, people > > > must use alpha-1??? > > > > Cause for us, we have not had the time to upgrade from 1.4.2 yet. > > > I'm sure we're not the only ones. :P > > > > Trenton D. Adams > > Systems Analyst/Web Software Engineer > > Navy Penguins at your service! > > Athabasca University > > (780) 675-6195 > > :wq! > > > > ----- "Olivier Lamy" <ol...@apache.org> wrote: > > > >> From: "Olivier Lamy" <ol...@apache.org> > >> To: user@mojo.codehaus.org > >> 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 <tre...@athabascau.ca>: > >>> 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 > > > > > --------------------------------------------------------------------- > > 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email