Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62F5CD4C3 for ; Mon, 24 Sep 2012 05:12:47 +0000 (UTC) Received: (qmail 41529 invoked by uid 500); 24 Sep 2012 05:12:47 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 41413 invoked by uid 500); 24 Sep 2012 05:12:46 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 41402 invoked by uid 99); 24 Sep 2012 05:12:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2012 05:12:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2012 05:12:45 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2F59B23888CD; Mon, 24 Sep 2012 05:12:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1389209 - /cxf/branches/2.5.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java Date: Mon, 24 Sep 2012 05:12:02 -0000 To: commits@cxf.apache.org From: ffang@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120924051202.2F59B23888CD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ffang Date: Mon Sep 24 05:12:01 2012 New Revision: 1389209 URL: http://svn.apache.org/viewvc?rev=1389209&view=rev Log: [CXF-4515]add address option for maven java2ws plugin Modified: cxf/branches/2.5.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java Modified: cxf/branches/2.5.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java?rev=1389209&r1=1389208&r2=1389209&view=diff ============================================================================== --- cxf/branches/2.5.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java (original) +++ cxf/branches/2.5.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java Mon Sep 24 05:12:01 2012 @@ -89,6 +89,11 @@ public class Java2WSMojo extends Abstrac private Boolean quiet; /** + * @parameter + */ + private String address; + + /** * @parameter expression="${project.compileClasspathElements}" * @required */ @@ -325,6 +330,12 @@ public class Java2WSMojo extends Abstrac args.add("-quiet"); } + // address arg + if (address != null) { + args.add("-address"); + args.add(address); + } + if (argline != null) { StringTokenizer stoken = new StringTokenizer(argline, " "); while (stoken.hasMoreTokens()) {