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:04:52 UTC

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

Author: ffang
Date: Mon Sep 24 05:04:52 2012
New Revision: 1389208

URL: http://svn.apache.org/viewvc?rev=1389208&view=rev
Log:
Merged revisions 1389207 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

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

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

Propchange: cxf/branches/2.6.x-fixes/
------------------------------------------------------------------------------
    svn:mergeinfo = /cxf/trunk:1389207

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

Modified: cxf/branches/2.6.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.6.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java?rev=1389208&r1=1389207&r2=1389208&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java (original)
+++ cxf/branches/2.6.x-fixes/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java Mon Sep 24 05:04:52 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()) {