views:

237

answers:

1

Refer original post here for a reference to the original issue. What plugin should I use to deploy the jackrabbit rar as a separate entity to the jboss installation. I tried the rar module within the maven-ear-plugin which was actually packaging this within the ear file and the rar plugin which seems to be used for packaging a rar. Currently I am using the antrun plugin to deploy the rar file and it's associated ds.xml, is there a different plugin to automate direct deployment.

+1  A: 

I tried the rar module within the maven-ear-plugin which was actually packaging this within the ear file

If you want to deploy jackarabbit rar as a separate entity, then this is not what you want. And anyway, the maven-ear-plugin is for packaging, not deployment.

and the rar plugin which seems to be used for packaging a rar

Again, this plugin is for packaging, not deployment.

Currently I am using the antrun plugin to deploy the rar file and it's associated ds.xml

This doesn't look so bad to me.

is there a different plugin to automate direct deployment.

I've checked Cargo but it doesn't seem to support the deployment of rar and -ds.xml files (CARGO-261). So this leaves you with the maven-jboss-plugin (see the Deploy/Undeploy Examples). Not tested though.

Pascal Thivent
I will probably stick with the antrun option for the time being. I am using JBoss 5.x and hence not sure if I can get the deploy / undeploy tasks running in my current environment.
Joshua