maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moretti, Luciano (MED)" <>
Subject RE: build maven
Date Tue, 01 Jul 2003 22:27:25 GMT
I don't know of it, and can't find it in my list of goals, but I am a

If you're under linux/unix I'd probably use wget to handle that.  wget
is really well designed to get recursive online filesystems and copy
them to the local filesystem.

after a little experimenting on our local repo, (as wget can't go
through my proxy as it's currently configured) if you're going to try
it, I'd suggest trying to use the FTP functionality, as the HTTP version
generates a bunch of junk files that are created by apache (index files
& graphics).

Using my local repo instead of ibiblio's, here's what I came up with-
Execute it from $MAVEN_HOME

wget -r -nH

-r = 		Recursively navigate the tree
-nH= 		No Home- by default it'll create a directory
and put all the files in there.. this is not what you want.

You may have to tweak the ftp statement, as I can't see what ibiblio's
dir structure looks like from inside the proxy- which means you might
have to add the --cut-dirs= statement to get rid of junk directories.

This should create a mirror of the remote repo with in the
$MAVEN_HOME/maven dir.  Inspect the new repo to make sure it looks good,
then use the mv command to move it to $MAVEN_HOME/repository.  I'd
personally suggest backing up the old repo if one exists, as I've ran
into problems when completely overwriting the local repo.

Good Luck-
I'm pretty new at this, so this is use at your own risk,


-----Original Message-----
From: David Liles []
Sent: Tuesday, July 01, 2003 4:54 PM
To: Maven Users List
Subject: RE: build maven

I was under the impression that there was a generic call that could be
made that basically downloads all of the available jars and places them
in the repository strucuture.

	-----Original Message----- 
	From: Moretti, Luciano (MED) []

	Sent: Tue 7/1/2003 4:47 PM 
	To: 'Maven Users List' 
	Subject: RE: build maven

	Maven will automatically generate the repository on the 1st run.
	is no specific step needed to build a local repository- it will
	the needed jars off the web when they are called for.
	Just create your file, make sure that you
have the
	proxy configuration stuff if you need it, and go ahead and start
	defining & building your project.
	It's one of the coolest things about maven that I've run into so
	Have fun,
	-----Original Message-----
	From: David Liles []
	Sent: Tuesday, July 01, 2003 4:29 PM
	Subject: build maven
	I just downloaded and installed maven 1.0 b9.
	What is the syntax I need to use to begin the process to have
	generate all of the repository jar files?
	To unsubscribe, e-mail:
	For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message