Maven dependencies and Glassfish libraries

1 view
Skip to first unread message

Brian Leathem

unread,
Nov 7, 2009, 12:17:53 AM11/7/09
to The Java Posse
I would love to be able to manage the Glassfish lib folder with a
maven pom.xml. ie. point Glassfish to a maven repository, and have it
install artifacts into it's lib folder.

I wonder what it would take to get something like that going - if it
doesn't already exists!?

Brian Leathem

Kevin Wright

unread,
Nov 7, 2009, 5:35:40 AM11/7/09
to java...@googlegroups.com
I guess you could always create a pom file that uses the
maven:assembly plugin to populate your libs directory. Slightly
hacky, but it should do the trick.

A more powerful and robust solution would be an OSGi Bundle Repository:
http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html

If you're already using Nexus to host your Maven artefacts, then
upgrading to Pro is one of the quicker ways to get yourself an OBR.
Reply all
Reply to author
Forward
0 new messages