cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1389207 - /cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
Date Mon, 24 Sep 2012 04:58:29 GMT
Author: ffang
Date: Mon Sep 24 04:58:29 2012
New Revision: 1389207

URL: http://svn.apache.org/viewvc?rev=1389207&view=rev
Log:
[CXF-4515]add address option for maven java2ws plugin 

Modified:
    cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java

Modified: cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
URL: http://svn.apache.org/viewvc/cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java?rev=1389207&r1=1389206&r2=1389207&view=diff
==============================================================================
--- cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
(original)
+++ cxf/trunk/maven-plugins/java2ws-plugin/src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
Mon Sep 24 04:58:29 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()) {



Mime
View raw message