1

What would be the mechanism to deploy rar artifacts if they are not present in the repository. (e.g. I would like to deploy jackrabbit to my j2ee application, but it is not available as part of the maven repositories. Should I have to store the binary locally in SVN and use the antrun plugin to copy it?

Joe
  • 12,573
  • 26
  • 77
  • 140

2 Answers2

3

One would typically use an enterprise repository (like Nexus) for this. If this is not an option, have a look at this previous answer for a way to store dependencies in your version control system.

Community
  • 1
  • 1
Pascal Thivent
  • 535,937
  • 127
  • 1,027
  • 1,106
3

A more specific answer to your question however is that Jackrabbit is available in the central repository:

http://repo2.maven.org/maven2/org/apache/jackrabbit/jackrabbit-jca/2.0.0/

You can include it with:

<dependency>
  <groupId>org.apache.jackrabbit</groupId>
  <artifactId>jackrabbit-jca</artifactId>
  <version>2.0.0</version>
  <type>rar</type>
</dependency>
Brett Porter
  • 5,597
  • 23
  • 24
  • Thanks for the tip. I have this dependency on the ejb module right now, but it's not clear on how to deploy this rar using a maven task directly to the jboss application server. – Joe Mar 19 '10 at 04:29