2

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.

Community
  • 1
  • 1
Joe
  • 14,513
  • 28
  • 82
  • 144

1 Answers1

2

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
  • 562,542
  • 136
  • 1,062
  • 1,124
  • 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. – Joe Mar 24 '10 at 05:05