On Sun, 2004-02-01 at 18:59, Dalibor Topic wrote:
> Hi Christian,
> 
> Christian Andersson wrote:
> > well that is one possibility, but that system (building an installation
> > set which have everything) does not take advantage of the fact that I
> > might already have some "libraries" (jar files) installed/downloaded
> >
> > This is where maven comes in, since if I start te application from
> > maven, maven will look in the "local" repository first for the files, if
> > they are not there it will download them, so If a person already has
> > some jar files (ofr the correct version) he does not have to download
> > them and therfore saving perheps precious network bandwidth and time.
> 
> Maven doesn't know about native package management on a platform, afaik. 
> I may have already installed ant, tomcat etc. on my debian system using 
> the debian package manager, for example. But as far as I understand the 
> maven concept, it will still go off fetching ant's jars from the 
> Internet, without caring about the operating system's package 
> management, or its dependencies, and so on.

This has always been the case with Java development as the currently
reigning defacto standard is Ant which has no concept of a repository at
all.

There may one day be a bridge to adapt Maven's repository to native
systems for things like distributions but when a project creates a Maven
POM they expect it to work for people developing on all platforms. They
aren't concerned about platform specifics and this has never really been
the concern of Maven insofar as development goes.

If I understand you correctly, are you saying that for development
purposes Maven should be leveraging platform specific repositories?

I agree with you 100% that Java applications that are packaged up should
surely be available in the form of packages that work on various
systems. I mailed the JPackage group long, long ago and gave them a
heads up on what was going on in Maven land and there was no interest.

The whole power behind Maven is leaving things up to the project
offering their work. Leaving the production and deployment up to the
project. 

Could you not leverage the repository to make your platform specific
packages for those that wanted to use platform specific packagers? 

I only use Linux and I honestly never use JPackage packages. As I
mentioned above I doubt many people do simply because Ant doesn't have a
repository concept, people usually checked artifacts into CVS.

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to