[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aether-users] Problem accessing snapshot artifacts
|
On 30.11.15 09:41, Paolo Di Tommaso wrote:
> OK, the "maven-metadata.xml" contains the following:
>
> <metadata>
> <groupId>io.nextflow</groupId>
> <artifactId>nextflow</artifactId>
> <version>0.16.3-SNAPSHOT</version>
> <versioning>
> <snapshot>
> <timestamp>20151129.152629</timestamp>
> <buildNumber>1</buildNumber>
> </snapshot>
> <lastUpdated>20151129152629</lastUpdated>
> </versioning>
> </metadata>
>
>
> It is referencing correctly the timestamp of the snapshot. Thus it looks
> that aether is not taking in consideration that because it is
> misconfigured.
>
> Could you please point me at what aether class or which property should
> be set to enable the mechanism you described ?
I am not an Aether expert, just another user, but have a look at the
Aether-Demo examples [1]. The ResolveArtifact [2] should also work with
a SNAPSHOT coordinate. Then have a look how the
RepositorySystem(Session) is constructed.
Hope that helps.
Andreas
[1] <http://git.eclipse.org/c/aether/aether-demo.git/>
[2]
<http://git.eclipse.org/c/aether/aether-demo.git/tree/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/ResolveArtifact.java>
--
Codetrails GmbH
The knowledge transfer company
Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791
http://www.codetrails.com/
Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940