Using mvn to download jars to local repository (without pom/project)

2006-07-31 Thread Jan Galinski

Hi,

on a server, I want to use mvn (2.0.4) to manage a central jar repository.
Even non maven applications should benifit from this, beacause there
will be be on common repository from where to link commons, db-drivers
etc. Its not going to be a real mirror, merely an on demand storage
folder.

So my question is:  How can I (using the mvn cli) just download and
store a jar from the central repo to my local repo without creating a
fake project and a pom?


pseudo
mvn download  -package=mysql -file=driver -version=3.10
/pseudo

Seems to be rather simple, but its hard to search for (maven,
download, jar, repository ... gives me anything but an answer to my
problem).

Any hint, sytnax, cli-line appreciated

thanks
Jan

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



Re: Re[2]: Middlgen (Plugin)

2005-08-26 Thread Jan Galinski
 We see you.

so its just that none of you knows how to combine middlegen and maven. 
Or wont tell if he knows.

Thanks Dmitry

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



Middlgen (Plugin)

2005-08-23 Thread Jan Galinski
Hello,

I'm new to Maven (cur. using 1.0.2 with MevenIDE and Eclipse). I want
to use Maven to automatically generate Hibernate Data Classes from an
DB.
I understood that middlegen does the job and that there is a plugin for Maven.

But when I download from ibiblio , I just get a 2k file consisting
only of the Manifest. Maven complains about irregular plugin file and
aborts compilation.

I even tried building the plugin myself, but the file created (BUILD
SUCCESSFUL) is just as useless as the one downloaded.

Anyone had been more lucky than me so far?
Any hints appreciated.

regards

Jan

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