Appassembler-maven-plugin: extraArguments does not propagate to the 
wrapper.conf file
-------------------------------------------------------------------------------------

                 Key: MOJO-1185
                 URL: http://jira.codehaus.org/browse/MOJO-1185
             Project: Mojo
          Issue Type: Bug
            Reporter: Erik Drolshammer
            Priority: Minor
         Attachments: addSupportForExtraArguments.patch

Context: JavaServiceWrapperDaemonGenerator

          <defaultJvmSettings>
            <initialMemorySize>256M</initialMemorySize>
            <maxMemorySize>1024M</maxMemorySize>
            <systemProperties>
              <systemProperty>com.sun.management.jmxremote</systemProperty>
              
<systemProperty>com.sun.management.jmxremote.port=8999</systemProperty>
              
<systemProperty>com.sun.management.jmxremote.authenticate=false</systemProperty>
              
<systemProperty>com.sun.management.jmxremote.ssl=false</systemProperty>
            </systemProperties>
            <extraArguments>
              <extraArgument>-server</extraArgument>
            </extraArguments>
          </defaultJvmSettings>

should result in the following in output in wrapper.conf 

# Java Additional Parameters
#wrapper.java.additional.1=
wrapper.java.additional.1=-server
wrapper.java.additional.2=-Dcom.sun.management.jmxremote
wrapper.java.additional.3=-Dcom.sun.management.jmxremote.port=8999
wrapper.java.additional.4=-Dcom.sun.management.jmxremote.authenticate=false
wrapper.java.additional.5=-Dcom.sun.management.jmxremote.ssl=false

With the addition of an extra for-loop (see patch) it now does. 

-- 
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