For a REST service environment I am writing the REST server application along with a client library in order to use the same model objects on server and client side.
For local development it would be great if I could include the latest build SNAPSHOT from my local maven repository as current version.
In my pom.xml I have
<dependency>
    <groupId>com.mygroup</groupId>
    <artifactId>backoffice-client</artifactId>
    <version>LATEST</version>
</dependency>
My local repository holds versions 1.0.0-SNAPSHOT, 1.0.0 and 1.0.1-SNAPSHOT.
The imported version in this case is 1.0.0 but I would expect it to be 1.0.1-SNAPSHOT.
On gradle this is working by using compile(com.mygroup:backoffice-client:+).
I already tried setting -DignoreSnapshots=false on maven command line without success.
What can I do to get the latest snapshot from my local repository loaded properly?
 
     
    