Give this a try, I think it should work for you:
<deployUrlPath>![CDATA[/your/path/here?and=yes]]</deployUrlPath>
Wayne
On 4/22/06, RobJac <[EMAIL PROTECTED]> wrote:
>
> I am trying to deploy an EAR from my local PC to a remote jboss server using
> maven2 The plugin that i am using is jboss-maven-plugin and iam trying to do
> a jboss:deploy. But it throws me a parse exception for my pom xml for the
> tag
> <deployUrlPath> that i have in my pom xml for this plugin. Please find below
> my usage of this plugin in my EAR pom xml.
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>jboss-maven-plugin</artifactId>
> <configuration>
>
> <fileName>${project.build.directory}/${project.build.finalName}.${project.packaging}</fileName>
>
> <deployUrlPath>/jmx-console/HtmlAdaptor?action==invokeOpByName&name==jboss.system:service%%3DMainDeployer&methodName==deploy&argType==java.net.URL&arg0==</deployUrlPath>
> <hostName>10.153.134.122</hostName>
> <port>8080</port>
> </configuration>
> </plugin>
> When i try to run jboss:deploy it gives me parse exception saying that = or
> % expressions are not allowed in the xml. But in
> http://mojo.codehaus.org/jboss-maven-plugin/deploy-mojo.html, it says i have
> to use this expression. Am I doing something wrong here? or what value do i
> provide to the <deployUrlPath> tag?
>
> --
> View this message in context:
> http://www.nabble.com/jboss%3Adeploy-Issue-t1491112.html#a4040488
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>