On Wed, Sep 29, 2010 at 9:02 AM, Greg Akins <[email protected]> wrote:
> I'm trying to use some spare time to update the Maven FAQ Wiki
>
> In that document, an unanswered question is:
>
> "How about making sure all files needed are available so I can run
> disconnected?"
>
> My first impression is to run the goals successfully before running
> disconnected (mvn -o goal).
>
> However, it occurs to me that there might be a way to use the
> dependency goal, or something else to make sure that all dependencies
> are available, even those for targets that aren't commonly run.  I'm
> thinking of something along the line of download all dependencies
> instead of just those associated with a single goal.
>
> Does that make sense?  Or is my first impression correct?

Be aware that it is easy to include URLs in plugin configurations -
which obviously won't work in offline mode.
e.g. Checkstyle configuration files, javadoc links to Java APIs, etc.

I know when our build server went SNAFU we couldn't easily go offline.
We also needed to use -DskipTests and -Dcheckstyle.skip

If you can add some notes to that effect that would be tops.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to