Re: Pulling API and SRC Jars from Repos

2005-10-24 Thread Sal Campana
Brett, So are you saying that if the jars are named correctly (i.e. xxx-javadoc and xxx-src) that Maven2 will automatically pull them to the local repository? So if my project has a dep on a 3rd party jar, and they've included the src and api jars, then Maven2 will pull them to my local repo as

Re: Pulling API and SRC Jars from Repos

2005-10-24 Thread Arik Kfir
That doesn't work for me - I have to delcare an additional dependency, and a classifier. Like this: dependency groupId... artifactId... version... classifiersources/classifier /dependency same for javadoc (no s in the end of javadocs... ;-) As for deploying them - I bind the

Re: Pulling API and SRC Jars from Repos

2005-10-24 Thread Brett Porter
On 10/24/05, Arik Kfir [EMAIL PROTECTED] wrote: That doesn't work for me - I have to delcare an additional dependency, Yes, that's correct, but I believe the eclipse plugin automates this and the others can too. As for deploying them - I bind the sources/javadoc plugins to the install/deploy

Re: Pulling API and SRC Jars from Repos

2005-10-24 Thread Arik Kfir
cool! On 10/24/05, Brett Porter [EMAIL PROTECTED] wrote: On 10/24/05, Arik Kfir [EMAIL PROTECTED] wrote: That doesn't work for me - I have to delcare an additional dependency, Yes, that's correct, but I believe the eclipse plugin automates this and the others can too. As for deploying

Re: Pulling API and SRC Jars from Repos

2005-10-23 Thread Wim Deblauwe
Cool, hopefully the idea plugin will take advantage of this soon! (and the documentation of maven will mention how to generate such artifacts) regards, Wim 2005/10/22, Brett Porter [EMAIL PROTECTED]: In Maven2, yes, it is standardised (-src and -javadoc) and they can be published to the

Re: Pulling API and SRC Jars from Repos

2005-10-23 Thread Milos Kleint
well, javadocs culd be published easily in maven 1.x but AFAIK it was almost completely unused (try searching the ibiblio.org http://ibiblio.orgrepository) So to get the feature useful, there should be a more aggressive policy IMHO. Like when uploading to remote repository always upload javadocs

Re: Pulling API and SRC Jars from Repos

2005-10-23 Thread Ralph Pöllath
On 23.10.2005, at 14:08, Milos Kleint wrote: well, javadocs culd be published easily in maven 1.x but AFAIK it was almost completely unused (try searching the ibiblio.org http:// ibiblio.orgrepository) So to get the feature useful, there should be a more aggressive policy IMHO. Like when

Re: Pulling API and SRC Jars from Repos

2005-10-23 Thread Wim Deblauwe
Wow, I was unaware of that being possible. How do you do it? regards, Wim 2005/10/23, Ralph Pöllath [EMAIL PROTECTED]: On 23.10.2005, at 14:08, Milos Kleint wrote: well, javadocs culd be published easily in maven 1.x but AFAIK it was almost completely unused (try searching the

Re: Pulling API and SRC Jars from Repos

2005-10-23 Thread Brett Porter
We are going to add this to the recommended upload request, and it is by default in m2 using the release plugin. Just using deploy without the profile activated does not do it, but this is because we don't want to build them for snapshots and development builds due to the time involved. We'll get

Pulling API and SRC Jars from Repos

2005-10-21 Thread Sal Campana
Are there any plans to add support of optionally specifying API and SRC jars for a given dependency? We've built a plugin to do this, and then update our IDE, but its not standard...but if it were standard in Maven (extra xml tags?) then all the IDE plugins would support it Based on this

Re: Pulling API and SRC Jars from Repos

2005-10-21 Thread Brett Porter
In Maven2, yes, it is standardised (-src and -javadoc) and they can be published to the repository by default. - Brett On 10/21/05, Sal Campana [EMAIL PROTECTED] wrote: Are there any plans to add support of optionally specifying API and SRC jars for a given dependency? We've built a plugin