Re: repository definition

2008-09-04 Thread Wendy Smoak
On Thu, Sep 4, 2008 at 6:06 AM,  [EMAIL PROTECTED] wrote:

 From intuitive feeling I would say: there is a reference to a defined 
 repository in settings.xml, so Maven will find the missing attributes, but no 
 it does not, it does like this:
...
 not very helpful this error message. It seems that I have to force my 
 developers to define the URL two times in their settings.xml: First in the 
 repositories/repository tag, second in the distributionManagement/repository 
 tag. Not very convenient.

I agree there should be a better error message and not a NPE.

However the urls for repositories and distribution management are
usually different-- file:// urls may be the only time they could be
shared.  For example, you may pull from a repository as http:// , but
publish to it with dav:http:// or scp:// .

Further, distributionManagement is often set once, up in an
organization level pom, and repositories can go in a shared
conf/settings.xml, neither of which developers need to maintain.

HTH,
-- 
Wendy

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



Re: repository definition

2006-12-21 Thread mylene

You should set the version number...

Mylene

On 12/21/06, serafettin senturk [EMAIL PROTECTED] wrote:


  Hello,

  I used in my pom.xml the following repositories.

repositories
repository
idandromda/id
nameAndroMDA Repository/name
urlhttp://team.andromda.org/maven2/url
/repository

repository
idandromda/id
nameAndroMDA Repository/name
urlhttp://team.andromda.org/maven/url
/repository

  repository
idandromda/id
nameAndroMDA Repository/name
urlhttp://www.ibiblio.org/maven/url
/repository

/repositories


But still I get the below warning messages. How can I fix this problem?


Downloading:
http://team.andromda.org/maven2/org/andromda/cartridges/andromda-bp
m4struts-cartridge/${andromda.version}/andromda-bpm4struts-cartridge-${andromda.
version}.jar
[WARNING] Unable to get resource from repository andromda
(http://team.andromda.
org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/andromda/cartridges/andromda-bpm4
struts-cartridge/${andromda.version}/andromda-bpm4struts-cartridge-${andromda.ve
rsion}.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org
/maven2)
Downloading:
http://team.andromda.org/maven2/andromda/andromda-profile-datatype/
${andromda.version}/andromda-profile-datatype-${andromda.version}.xml.zip
[WARNING] Unable to get resource from repository andromda
(http://team.andromda.
org/maven2)
Downloading:
http://repo1.maven.org/maven2/andromda/andromda-profile-datatype/${
andromda.version}/andromda-profile-datatype-${andromda.version}.xml.zip
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org
/maven2)
Downloading:
http://team.andromda.org/maven2/andromda/andromda-profile-persisten
ce/${andromda.version}/andromda-profile-persistence-${andromda.version}.xml.zip
[WARNING] Unable to get resource from repository andromda
(http://team.andromda.
org/maven2)
Downloading:
http://repo1.maven.org/maven2/andromda/andromda-profile-persistence
/${andromda.version}/andromda-profile-persistence-${andromda.version}.xml.zip
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org
/maven2)
Downloading:
http://team.andromda.org/maven2/org/andromda/cartridges/andromda-ja
va-cartridge/${andromda.version}/andromda-java-cartridge-${andromda.version}.jar

[WARNING] Unable to get resource from repository andromda
(http://team.andromda.
org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/andromda/cartridges/andromda-java
-cartridge/${andromda.version}/andromda-java-cartridge-${andromda.version}.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org




htmlDIVFONT color=#330099
PSerafettin SenturkBRBRComputer Engineer (BSc)
BRBRMScin Software Technology - Stuttgart Uni. of Applied Sciences
BRBRTel. (0532)4037784 BRBRAddress.Haci Hesna Hatun Mah.
Yeni Dunya Sok. DeryaApt. 21/4 Üsküdar/P/FONT
P/P
P/P
P/P/DIV/html

_
En etkili ve güvenilir PC Korumayi tercih edin, rahat edin!
http://www.msn.com.tr/security/


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





--
Mylene

Books just wanna be FREE! See what I mean at:
http://bookcrossing.com/friend/mylene

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