Greetings, On Thu, Aug 26, 2010 at 10:54 AM, Jacob Beard <[email protected]> wrote: > > I'm new to Maven, and so I don't completely understand your answer. Why > would it be desirable to create a module for each JavaScript library in this > context, especially as this will not facilitate their automated downloading?
It would be desirable because your project has a dependency which is not part of the Maven ecosystem. Your project managing the download of dependencies is the antithesis of one of Maven's best features.... Making them proper Maven modules and populating them ONE time manually when you create the artifact would enable all of your users to automatically download the artifact which contains the javascript library. > Also, it still seems like it would be desirable to instruct maven to > automatically download these libraries, so that they will not need to be > downloaded manually. Is there no way to instruct Maven to do this? Maven doesn't do well, nor was it designed to do well, with managing non-Maven artifacts. And this is what you're asking it to do. I also think you seem to be confusing Maven downloading a Maven artifact dependency and you downloading some javascript library which is not a Maven module. I suggest you do the latter one single time, manually, and create a proper Maven module. I also suggest you do the former automatically with Maven and standard Maven dependency resolution once the previous step is complete. If you want to continue to do things against The Maven Way, then you should fall back to the maven-antrun-plugin method which has already been described. I think this would be quite an error, but, alas, you're free to do whatever you want.. > Please let me know what you think. Thanks, Perhaps someone else can step in and explain, I don't think I be clearer than I have been.. -Jesse -- There are 10 types of people in this world, those that can read binary and those that can not. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
