The following comment has been added to this issue:

     Author: Kevin Hagel
    Created: Sun, 24 Aug 2003 6:57 PM
       Body:
I have successfully implemented a fix to this, but I had to do two things:

1) go into ..../maven-jboss-plugin-1.2-SNAPSHOT/plugin.properties and manually change 
the "...&arg=" to "...&arg0=" to the end of the values set for 
maven.jboss.jmx.url.deploy and and maven.jboss.jmx.url.undeploy, in other words:

maven.jboss.jmx.url.deploy = 
http://${maven.jboss.hostname}:${maven.jboss.port}/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.lang.String&arg0=

2) A second problem is that in the plugin.jelly it uses:
  <goal name="jboss:deploy-warfile" prereqs="war:war"
    description="Invoke the 'war' goal and deploy the result"> 
    <jmx:deploy jmx.deploy.file='${maven.build.dir}/${maven.war.final.name}'/>
  </goal>

The maven.build.dir by default is a relative reference, not a fullpath.  I had to set 
my maven.build.dir to the fullpath in my build.properties in order to get around this 
problem.

I suppose this last problem might not be a problem if I were to build my WAR in a 
location relative to where my JBoss install can see it as relative.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-534


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-534
    Summary: jboss 3.2 JXM deploy/undeploy URL is slightly different from what's in 
jboss plugin project.properties
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-other
   Fix Fors:
             1.1
   Versions:
             1.0-final

   Assignee: 
   Reporter: Dima Berastau

    Created: Tue, 1 Jul 2003 3:53 AM
    Updated: Mon, 4 Aug 2003 9:50 AM

Description:
default maven.jboss.jmx.url.deploy and maven.jboss.jmx.url.undeploy seem to be missing 
0 at the end (should read 'arg0=' rather than 'arg=', tested in jboss 3.2).


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to