Downloading and installing maven artifacts as modules

Brian Pontarelli brian at pontarelli.com
Tue Sep 27 08:06:20 PDT 2011


On Sep 27, 2011, at 6:47 AM, Alan Bateman wrote:

> Jesse Glick wrote:
>> 
>> If this were to be more than a demo, you would not want to recreate the logic for parsing Maven metadata, but rather call into the official embedding APIs.
>> 
>> I do not think you want to interpret <packaging>zip</packaging>; does such a packaging even exist? (Various named packagings produce *.zip artifacts which are usually software distributions, i.e. contain JARs and other files as entries.)
> This is just a demo for now, it's purpose being to tease out the issues that we would have if we were to extend the repository support to allow a module library be associated with a maven repository. Clearly we don't want to be parsing maven metadata but it's done this way for now to avoid the dependency.

I've been sporadically following Jigsaw but I saw this thread and have recently been discussing a similar topic with some folks. The topic we have been discussing is the meta-data needed for pure dependency management compared to the meta-data provided by Maven, Jigsaw, Ivy, Savant and others.

I wanted to bounce this idea off of this list as well as other Maven, Ivy and others. The idea would be to create an open standard format that defines the meta-data needed to do pure dependency management. This has a number of key benefits including:

	- Standardize dependency repositories
	- Clean dependency definitions
	- Simple way for tool providers to work with dependencies separate from the build and runtime systems
	- Easier migration between build tools (pick the right tool for the job not the repository or dependency management system)

There are probably other benefits as well. I wanted to get your thoughts this concept. It looks like Jigsaw intends to support POMs and potentially support some of OSGi, but at a baseline, there are a number of concepts that can be defined and shared across all these projects.

-bp


More information about the jigsaw-dev mailing list