im having some trouble with maven. i have a android project with a dependency on a module we wrote which i have source code for and is in my project . something like:
<dependencies>
<dependency>
<groupId>some.project/groupId>
<artifactId>some.artifact<artifactId>
<version>1.0.0-SNAPSHOT</version>
<type>apklib</type>
</dependency>
</dependencies>
problem is, we have autmated release build who increment the snapshot version of that artifact, so the snapshot version on the nexus repo will change over time. IntelliJ then pulls the apklib from nexus instead of using the local source code, this is really hard to work with.
i've tried checking the "Resolve workspace artifacts" check box as described here: http://www.jetbrains.com/idea/webhelp/run-debug-configuration-maven.html#parameters but it still pulls from nexus.
Any suggestions on how to resolve this?
Thanks in advance, Tal