On 4/9/06, Sean Schofield <[EMAIL PROTECTED]> wrote:
> Does that actually work? I figured Maven wouldn't look in the
> snapshot repo for non-snapshot artifacts. If this works you have
> found a useful hack ...
Yes, it works. Maven doesn't know it's a snapshot repository. (Maybe
you're thinking of <distributionManagement>/<snapshotRepository>?
Otherwise, there's only <repository> and <pluginRepository>.)
You can configure a repository to enable/disable snapshots/releases,
but the default seems to be to check for both. For example this would
prevent it from downloading releases:
<repository>
<id>Example Repository</id>
<url>http://www.example.com/maven-snapshot-repository</url>
<releases><enabled>false</enabled></releases>
</repository>
HTH,
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]