maven-appassembler-plugin? maven-dependency-plugin, especially combined with a MANIFEST.MF class path?
On Tue, Nov 9, 2010 at 8:31 AM, Jacob Beard <[email protected]> wrote: > > On 10-11-09 02:25 PM, Benjamin Bentmann wrote: >> >> Jacob Beard wrote: >> >>> With maven, however, the libraries are now kept in the location of the >>> maven repository, several directories deep, based on information kept in >>> the pom.xml file. I'd like to know, is there a maven solution for >>> extracting a particular classpath from a maven file, such that the >>> classpath can be used from a shell script? If not, is there at least a >>> reliable way of determining the location of the maven repository on >>> Windows and Unix platforms? >> >> The structure of the local repository should be considered an >> implementation detail and hard-coding paths to its contents should be >> avoided. >> >> [0] and related goals from the maven-dependency-plugin can be used to >> create a lib directory of user-specified structure. >> >> Maybe usage of the exec-maven-plugin [1] might be able to replace your >> shell script completely. >> > Great links, I think these are both really promising approaches. Thanks for > the insight. > > Jake > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
