d**k 发帖数: 1223 | 1 Just start learning Maven. Every time when I try to create a Maven project,
seems IDE need to download something from maven's central repository by
internet. Is that mean if one day that maven's central repository down, or
my network down, then the whole project is not going to work? Thanks a lot
in advance. |
o**1 发帖数: 6383 | 2 maven goes to central repository if the dependencies cannot be found in your
local repository.
if everything is downloaded, you are fine even if internet is down.
,
【在 d**k 的大作中提到】 : Just start learning Maven. Every time when I try to create a Maven project, : seems IDE need to download something from maven's central repository by : internet. Is that mean if one day that maven's central repository down, or : my network down, then the whole project is not going to work? Thanks a lot : in advance.
|
m******t 发帖数: 2416 | 3
,
If you are working on a serious project, usually you'll want to set up
a local repository using nexus or archiva. The public central repository
is not only unreliable, but also slow most of the time.
【在 d**k 的大作中提到】 : Just start learning Maven. Every time when I try to create a Maven project, : seems IDE need to download something from maven's central repository by : internet. Is that mean if one day that maven's central repository down, or : my network down, then the whole project is not going to work? Thanks a lot : in advance.
|
d**k 发帖数: 1223 | 4 Thanks a lot, dude.
your
【在 o**1 的大作中提到】 : maven goes to central repository if the dependencies cannot be found in your : local repository. : if everything is downloaded, you are fine even if internet is down. : : ,
|
d**k 发帖数: 1223 | 5 Thanks, man! Let me google what the hack it nexus or archiva. Are those easy
to use?
【在 m******t 的大作中提到】 : : , : If you are working on a serious project, usually you'll want to set up : a local repository using nexus or archiva. The public central repository : is not only unreliable, but also slow most of the time.
|
m******t 发帖数: 2416 | 6
easy
They are maven repository servers. You can host your own
repositories, and/or set up proxies for the public ones so
that artifacts can be cached.
I recently switched from nexus to archiva only because
the admin UI is cooler (web 2.0 baby!), but both are fairly
straightforward to set up and manage.
【在 d**k 的大作中提到】 : Thanks, man! Let me google what the hack it nexus or archiva. Are those easy : to use?
|
o**1 发帖数: 6383 | 7 another choice: artifactory.
【在 m******t 的大作中提到】 : : easy : They are maven repository servers. You can host your own : repositories, and/or set up proxies for the public ones so : that artifacts can be cached. : I recently switched from nexus to archiva only because : the admin UI is cooler (web 2.0 baby!), but both are fairly : straightforward to set up and manage.
|
d**k 发帖数: 1223 | 8 those are all look very cool. But currently I am using an IDE kind of like
eclipse, and it has built in Maven support. That is not very cool but seems
integrate with IDE pretty well. I think in eclipse it uses nexus. I am not
sure if it is possible to integrate artifactory or archiva with eclipse. |
m******t 发帖数: 2416 | 9
Somebody suggested artifactory to me before, but I didn't
quite like their idea of using a database as backend.
But I'm interested in hearing it if you have some first-hand
experience with it.
【在 o**1 的大作中提到】 : another choice: artifactory.
|