xfire-maven-plugin has configuration parameter "_package" set mandatory, 
although it is optional
------------------------------------------------------------------------------------------------

                 Key: MOJO-1293
                 URL: http://jira.codehaus.org/browse/MOJO-1293
             Project: Mojo
          Issue Type: Bug
          Components: xfire
            Reporter: codehauser


for target "wsgen", the configuration need parameter "package", but the wsgen 
task will use a package derived from the WSDL namespace, if not set explicitly.

Furthermore, having to set the package parameter, all WSDLs given in 
configuration would be comiled into the same package.

FIX: simply remove the "@required" Annotation as shown in a patch below.

{noformat}
Index: WsgenMojo.java
===================================================================
--- WsgenMojo.java      (revision 8863)
+++ WsgenMojo.java      (working copy)
@@ -64,7 +64,6 @@
 
     /**
      * @parameter expression="${package}" alias="package"
-     * @required
      */
     private String _package; // reserved keyword...
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to