You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2012/09/24 07:15:18 UTC

svn commit: r1389210 - in /cxf/branches/2.4.x-fixes: ./ maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java

Author: ffang
Date: Mon Sep 24 05:15:17 2012
New Revision: 1389210

URL: http://svn.apache.org/viewvc?rev=1389210&view=rev
Log:
Merged revisions 1389209 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/branches/2.5.x-fixes

........
  r1389209 | ffang | 2012-09-24 13:12:01 +0800 (δΈ€, 24  9 2012) | 1 line
  
  [CXF-4515]add address option for maven java2ws plugin
........

Modified:
    cxf/branches/2.4.x-fixes/   (props changed)
    cxf/branches/2.4.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java

Propchange: cxf/branches/2.4.x-fixes/
------------------------------------------------------------------------------
  Merged /cxf/branches/2.5.x-fixes:r1389209

Propchange: cxf/branches/2.4.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.4.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.4.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java?rev=1389210&r1=1389209&r2=1389210&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java (original)
+++ cxf/branches/2.4.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java Mon Sep 24 05:15:17 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()) {