Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B6056200B21 for ; Fri, 10 Jun 2016 22:04:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B4804160A38; Fri, 10 Jun 2016 20:04:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 07C59160A15 for ; Fri, 10 Jun 2016 22:04:22 +0200 (CEST) Received: (qmail 32687 invoked by uid 500); 10 Jun 2016 20:04:21 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 32522 invoked by uid 99); 10 Jun 2016 20:04:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 20:04:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 07D1A2C1F54 for ; Fri, 10 Jun 2016 20:04:21 +0000 (UTC) Date: Fri, 10 Jun 2016 20:04:21 +0000 (UTC) From: "Hudson (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AXIS2-5784) Maven: Module 'axis2-webapp' generate "-classes.jar" during execution of maven-war-plugin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 10 Jun 2016 20:04:23 -0000 [ https://issues.apache.org/jira/browse/AXIS2-5784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15325193#comment-15325193 ] Hudson commented on AXIS2-5784: ------------------------------- SUCCESS: Integrated in Axis2 #3556 (See [https://builds.apache.org/job/Axis2/3556/]) AXIS2-5784: Attach a JAR with the admin servlet classes to axis2-webapp. (veithen: rev 1747773) * axis2/modules/webapp/pom.xml > Maven: Module 'axis2-webapp' generate "-classes.jar" during execution of maven-war-plugin > ----------------------------------------------------------------------------------------- > > Key: AXIS2-5784 > URL: https://issues.apache.org/jira/browse/AXIS2-5784 > Project: Axis2 > Issue Type: Wish > Affects Versions: 1.7.3 > Reporter: Jeff Thomas > Priority: Trivial > Fix For: 1.7.4, 1.8.0 > > > I am currently using the Maven WAR overlays to generate WAR files with the content from 'axis2-webapp'. > For example: > {code:xml} > > > org.apache.axis2 > axis2-webapp > ${axis2.version} > war > provided > > ... > > maven-war-plugin > > ... > > > > org.apache.axis2 > axis2-webapp > > axis2-web/** > WEB-INF/classes/org/apache/axis2/** > WEB-INF/include/** > WEB-INF/tags/** > WEB-INF/views/** > > > > ... > > > {code} > In my WARs *web.xml* I have also defined the AxisAdminServlet: > {code:xml} > > AxisAdminServlet > org.apache.axis2.webapp.AxisAdminServlet > 100 > > {code} > In the development environment, the AxisAdminServlet class is shown as not found (because it is only added during the build phase). > In my patched version of 'axis2-webapp' I have added the following line to the maven-war-plugin to generate a 'axis2-webapp-1.7.3-classes.jar': > {code:xml} > true > {code} > Thus I can add the following dependency to my POM and resolve the missing classes (provided so that it is not added to the WAR): > {code:xml} > > > org.apache.axis2 > axis2-webapp > ${axis2.version} > jar > classes > provided > > {code} > My *wish* would be that the "-classes.jar" be part of the standard build so that I don't need to patch the 'axis2-webapp' POM in the future :). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org