How to deploy jar artifacts directly from a maven repository to appserver specific directories

Posted by Joshua on Stack Overflow See other posts from Stack Overflow or by Joshua
Published on 2010-03-18T07:07:50Z Indexed on 2010/03/18 7:11 UTC
Read the original article Hit count: 270

Filed under:

I have JDBC driver dependencies (e.g. h2, mysql ..) which have to be copied under ${jboss.home}/common/lib before it is used by my EAR application. What would be the best way to directly copy from a maven repository into the above location instead of doing a manual copy. I would not prefer to store copies of the drivers as part of my SVN.

Note: I currently specify this as a maven dependency and copy this artifact from the local repository, not sure if this is the best way to do solve this.

© Stack Overflow or respective owner

Related posts about maven-2