Re: Complete offline? was: (Re: Dummy question" my first Maven project[...])

2006-10-19 Thread Xavier Outhier

Nicolas DE LOOF wrote:


Maven is "only" a container for plugins. The installation includes the 
required base to run maven, but all plugin and the libs they required 
are downloaded.

This make the first maven runs "long" as lot's of jars are downloaded.
After a first run worked, no more internet connexion is required to 
run maven.


Nico.

[...]
Is there a way to download all at once?

X.


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



Re: Complete offline? was: (Re: Dummy question" my first Maven project[...])

2006-10-19 Thread Wayne Fay

No internet connection is "required" but you should probably run "mvn
-o ..." to specify "offline" or else you will get some complaints (and
possibly error out rather than building successfully) due to not being
online while building with Maven.

Also if you start using a new plugin in your project or add a new
dependency, you **will** need to connect to the internet while you run
Maven to download the files.

Wayne

On 10/19/06, Xavier Outhier <[EMAIL PROTECTED]> wrote:

Nicolas DE LOOF wrote:
>
> Maven is "only" a container for plugins. The installation includes the
> required base to run maven, but all plugin and the libs they required
> are downloaded.
> This make the first maven runs "long" as lot's of jars are downloaded.
> After a first run worked, no more internet connexion is required to
> run maven.
>
> Nico.
OK. Thanx.

X.


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




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



Re: Complete offline? was: (Re: Dummy question" my first Maven project[...])

2006-10-19 Thread Xavier Outhier

Nicolas DE LOOF wrote:


Maven is "only" a container for plugins. The installation includes the 
required base to run maven, but all plugin and the libs they required 
are downloaded.

This make the first maven runs "long" as lot's of jars are downloaded.
After a first run worked, no more internet connexion is required to 
run maven.


Nico.

OK. Thanx.

X.


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



Re: Complete offline? was: (Re: Dummy question" my first Maven project[...])

2006-10-19 Thread Nicolas DE LOOF


Maven is "only" a container for plugins. The installation includes the 
required base to run maven, but all plugin and the libs they required 
are downloaded.

This make the first maven runs "long" as lot's of jars are downloaded.
After a first run worked, no more internet connexion is required to run 
maven.


Nico.


Yes. I fixed it by creating a settings.xml in the .m2 directory.
Now even without this file, I'm able to run the simple command.
Does it mean that Maven need always to access internet to work?
For me it seems like it's not a complete installation. I suppose it's
a JIT philosophy. Where can I find more information about this topic?

Maven seems a quite interesting tool. I'll continue to dig. :)
[...]

Thanks for the very fast answers. :)

Xavier.


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



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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



Complete offline? was: (Re: Dummy question" my first Maven project[...])

2006-10-19 Thread Xavier Outhier

Wendy Smoak wrote:

On 10/19/06, Xavier Outhier <[EMAIL PROTECTED]> wrote:

2) But here is what I get:
D:\tmp\sandbox>mvn --version
Maven version: 2.0.4


(Strange, since above you say you installed 2.0.3.)

It was just a copy/paste from the page mentionned above. So no magic here.



D:\tmp\sandbox>*mvn archetype:create -DgroupId=com.mycompany.app
-DartifactId=myApp*
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does
not exist or no valid version could be found


It should look like this:
http://wiki.wsmoak.net/cgi-bin/wiki.pl?ArchetypeCreate

(Without the checksum errors, and with a lot more things downloaded,
since you're starting from an empty local repository.)

In your case, it doesn't look like it even *tries* to download
anything.  Is there a firewall or a proxy involved?


Yes. I fixed it by creating a settings.xml in the .m2 directory.
Now even without this file, I'm able to run the simple command.
Does it mean that Maven need always to access internet to work?
For me it seems like it's not a complete installation. I suppose it's
a JIT philosophy. Where can I find more information about this topic?

Maven seems a quite interesting tool. I'll continue to dig. :)
[...]

Thanks for the very fast answers. :)

Xavier.


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