Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8529D18608 for ; Thu, 1 Oct 2015 06:58:07 +0000 (UTC) Received: (qmail 34413 invoked by uid 500); 1 Oct 2015 06:58:07 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 34342 invoked by uid 500); 1 Oct 2015 06:58:07 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 34332 invoked by uid 99); 1 Oct 2015 06:58:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2015 06:58:06 +0000 Date: Thu, 1 Oct 2015 06:58:06 +0000 (UTC) From: "Rupert Madden-Abbott (JIRA)" To: dev@tomcat.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MTOMCAT-234) Tomcat8 Maven Plugin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MTOMCAT-234?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D149= 39401#comment-14939401 ]=20 Rupert Madden-Abbott commented on MTOMCAT-234: ---------------------------------------------- We are about to initiate a project to switch all of our applications from a= mixture of Tomcat 6/7 to Tomcat 8 so having this plugin available soon wou= ld be really useful. I'm about to go away on my honeymoon for 3 weeks but I will take a look at = this when I get back at the end of October from the 26th. I'll also take a look at MTOMCAT-274 which looks like it could block this f= eature but seems to have a closed pull request by the reporter so its not c= lear to me whether or not it is a real issue. Then there is also MTOMCAT-294 which I'll review the open pull request for. If there is anything else that would be useful for me to do in order to get= closer towards a 3.0 release, please do let me know. > Tomcat8 Maven Plugin > -------------------- > > Key: MTOMCAT-234 > URL: https://issues.apache.org/jira/browse/MTOMCAT-234 > Project: Apache Tomcat Maven Plugin > Issue Type: Dependency upgrade > Affects Versions: 2.0, 2.1, 2.2 > Environment: Maven 3.1, Tomcat8.0RC1, Oracle JDK7u25 > Reporter: Petr Novak > Assignee: Olivier Lamy (*$^=C2=A8%`=C2=A3) > Priority: Blocker > Fix For: 3.0 > > > Please provide initial version of Tomcat8 Maven Plugin.=20 > I tried the recommendations in http://tomcat.10.x6.nabble.com/Tomcat-8-To= mcat-Maven-Plugin-2-2-Tomcat8-Maven-Plugin-td4995858.html#none > but the guideline http://tomcat.apache.org/maven-plugin-trunk/tomcat7-mav= en-plugin/adjust-embedded-tomcat-version.html > does not work for Tomcat8 . > The problem is in changed Tomcat 8 API, the maven throws folloving except= ion: > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default= BuildPluginManager.java:142) > ... 20 more > by: java.lang.NoSuchMethodError: org.apache.catalina.startup.Tomcat.setDe= faultRealm(Lorg/apache/catalina/Realm;)V > at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.startConta= iner(AbstractRunMojo.java:999) > at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.execute(Ab= stractRunMojo.java:514) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default= BuildPluginManager.java:106) > ... 20 more > The method setDefaultRealm is deprecated in Tomcat7 and was removed in T= omcat8 as described in documentation: > http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/startup/T= omcat.html#setDefaultRealm(org.apache.catalina.Realm) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org