-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
3.1.3
-
None
-
None
Maven repositories can be marked as for release or snapshot, but Shrinkwrap does not allow to specify this, so you have to "workaround" this by using reflection.
So you need to use the eclipse aether APIs -
- org.eclipse.aether.repository.RemoteRepository
- org.eclipse.aether.repository.RepositoryPolicy
Where you can specify is the repo is release or snapshot, and then configure them on shrinkwrap via reflection. See the code link above what we have done in Apache Camel.
So what ShrinkWrap need to do is to expose a public API to set the Maven repository as release or snapshot.