由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Maven's newbie question
相关主题
有人用过 ObjectDB in Maven 没有?那里能下载到ibatis 2.3.2或者以上版本?
in eclipse, how do you use inter dependencies?GIT一问
现在学Spring需要装Maven吗?mvn真是让人头疼
ivy问题问个 Maven 的问题
帮忙看看maven 的问题怎么 submit 到 maven central repository ?
maven真是个好东东Argh, maven sucks
Maven浅淡(一)dependency version collision problem
Maven questionjetty疑问
相关话题的讨论汇总
话题: maven话题: repository话题: ide话题: archiva话题: central
进入Java版参与讨论
1 (共1页)
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.
1 (共1页)
进入Java版参与讨论
相关主题
jetty疑问帮忙看看maven 的问题
一个class file dependencies 太多怎么搞?maven真是个好东东
没法用Re: netbeans 4.0 is very goodMaven浅淡(一)
有谁来给比较下 netbeans 和 myeclipse?Maven question
有人用过 ObjectDB in Maven 没有?那里能下载到ibatis 2.3.2或者以上版本?
in eclipse, how do you use inter dependencies?GIT一问
现在学Spring需要装Maven吗?mvn真是让人头疼
ivy问题问个 Maven 的问题
相关话题的讨论汇总
话题: maven话题: repository话题: ide话题: archiva话题: central