You mean the "POM relocation to an other version number is not fully supported 
in Gradle" message?

If you look at the pom it has a relocation element (bit like a symbolic link):

        
http://search.maven.org/remotecontent?filepath=xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.pom

        
http://maven.apache.org/guides/mini/guide-relocation.html#How_to_relocate_a_Maven_2_artifact_to_a_different_groupId

you'd have to ask the Gradle team why they don't fully support this.

As a workaround you could force the version to 1.0.b2 in your 
dependencyManagement section:

    <dependency>
        <groupId>xml-apis</groupId>
        <artifactId>xml-apis</artifactId>
        <version>1.0.b2</version>
    </dependency>

http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Management
  (see part about managing versions of transitive dependencies)

On 14 Nov 2013, at 14:32, Jason Tesser wrote:

> you are referring to the maven-plugins I think
> 
> But what about the xml-api thing?
> 
> On Thu, Nov 14, 2013 at 9:29 AM, Stuart McCulloch <[email protected]> wrote:
> 
>> Try adding:
>> 
>>        <type>plugin</type>
>> 
>> to those 2 dependency exclusions.
>> 
>> ( the jaxen pom:
>> http://search.maven.org/remotecontent?filepath=jaxen/jaxen/1.1.3/jaxen-1.1.3.pomdeclares
>>  those dependencies to be of type "plugin" )
>> 
>> On 14 Nov 2013, at 13:14, Jason Tesser wrote:
>> 
>>> I have the following POM http://pastebin.com/P4TvzqJn but my exclusion
>> for
>>> <artifactId>abdera-client</artifactId> are not being respected.  Actually
>>> only 2 of them are not
>>> the 2 not working are maven-plugins and maven-plugins
>>> they are coming down anyways
>>> see http://pastebin.com/c59HM8Bj
>>> what am I missing
>>> I have altered the POM but I cleared my local cache and refreshed
>>> dependencies
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to