Re: General questions regarding dependencies

2009-05-08 Thread Brian Fox
You can't have a pile of files as dependencies, not the way I think you're looking at it. You want to zip them up as a single artifact and then use those as the dependency. You can use the dependency:unpack / unpack-dependencies goal to extract the files from the artifact prior to compilation. For

Re: General questions regarding dependencies

2009-05-08 Thread Doug Hughes
So, I'm getting the impression that the dependencys need to be a single file such as a jar, zip, or something else. I can't have a folder of files as my dependency? This is fine, it seems that dependency or assembly plugin can be used to explode this as needed. Where can I find documentation on

Re: General questions regarding dependencies

2009-05-08 Thread Graham Leggett
Doug Hughes wrote: > I have some questions about how dependencies are handled within Maven. I > understand that when you add a dependency that Maven looks at the central > repository, finds the correct files and downloads them. I'm wondering if > this can only be done for JAR/WAR files? No, any

Re: General questions regarding dependencies

2009-05-08 Thread Wayne Fay
> My question then is, is it possible to somehow define a dependency which is > a collection of files?  Also, if I did somehow define that dependency, is > there a way to make sure that the dependency is coppied to a specific > directory within he webapp?  Or, should I be looking at plugins to > ac

General questions regarding dependencies

2009-05-08 Thread Doug Hughes
Hello, I'm rather new to Maven, but I've been working through the Maven: The Definitive Guide, 1st Edition book. I've been fairly successful so far making Java and Groovy projects and adding dependencies. I've even got it working with Eclipse, which for various reasons was rather painful. I hav