This content has been marked as final.
Show 3 replies
-
1. Re: AS Trunk : Repeated download attempts for jna artifact
jaikiran Jul 8, 2009 5:48 AM (in response to jaikiran)"jaikiran" wrote:
The net/java/dev/jna/jna/... artifact(s) are not available in our JBoss repo and not even the Maven central repo. Looks like they are hosted at http://download.java.net/maven/2/net/java/dev/jna/jna/3.0.5/.
From what i see in the buildnumber-maven-plugin dependencies http://mojo.codehaus.org/buildnumber-maven-plugin/dependencies.html , the jna is a transitive dependency for the project.
Hmm, i had always thought that for a artifact to be hosted on the Maven central repo, all it's dependencies (including transitive) should be available in that same repo. Was i wrong? -
2. Re: AS Trunk : Repeated download attempts for jna artifact
pgier Jul 8, 2009 10:58 AM (in response to jaikiran)I added an exclusion in the AS root pom so that it won't try to download this anymore, since it's not actually used anyway. Thanks for finding this. I didn't notice because that jar was in my local repo and so it never tried to download it.
I will bring this up on the codehaus mojo list since you are right, at least IMO, the central repo jars shouldn't require you to go to other repositories. The root of this is a problem in Maven that repositories defined in dependency POMs are automatically added to the list of repositories to download from. So things like this aren't always noticed. -
3. Re: AS Trunk : Repeated download attempts for jna artifact
jaikiran Jul 8, 2009 12:01 PM (in response to jaikiran)Thanks Paul.