Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] Downloading the latest Snapshot

I already changed it and create a new DefaultArtifact but I havent noticed the return type.
Thanks
 
Gesendet: Mittwoch, 20. August 2014 um 16:31 Uhr
Von: "Benjamin Bentmann" <bentmann@xxxxxxxxxxxx>
An: aether-users@xxxxxxxxxxx
Betreff: Re: [aether-users] Downloading the latest Snapshot
Marc Schlegel wrote:

> artifact.setVersion(newest.toString());

You likely want

artifact = artifact.setVersion(...)

cf. the API docs of the Artifact interface and the doc on the method's
return value.


Benjamin
_______________________________________________
aether-users mailing list
aether-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aether-users

Back to the top