Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top