maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lakshman Srilakshmanan" <>
Subject RE: Making a single independent and offline maven build directory
Date Wed, 06 Sep 2006 00:13:50 GMT
Hi Sepand,

If you don't want access to the internet and no access to
~/.m2/repository where are you going to get your dependencies from ? an
internal (company) Repository.

If you are going to get it from an internal repository, then just remove
~/.m2/repository and run your build. This will download all the jars &
plugins again and build it. 

On the other hand if you are trying to prevent the creation of
~/.m2/repository then I don't think it is possible. You may want to
understand what you are trying to do.


> -----Original Message-----
> From: Sepand M []
> Sent: Wednesday, 6 September 2006 8:07 AM
> To:
> Subject: Making a single independent and offline maven build directory
> Hi,
> I need to make a maven project build with no dependency on the
> I also need this to be over the network (so no access to ~/.m2) and
> without write permissions (except for the built files).
> If you're wondering, I'm hoping to check a copy of this into a source
> control system.
> Can maven to this easily? I know of the -o option, but I don't know
how to
> make it work without the ~/.m2. I'd rather not touch the project POMs
and I
> would really hate to have to create my own ftp/sftp/... local
> Any help would be greatly appreciated.
> Regards,
> Sepand

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

View raw message