I have an ant task to download all the jar artifacts but it won't
download new SNAPSHOTs if there is already a snapshot in the local user
repository.

The relavant parts of my ant build file:

<artifact:remoteRepository id="jar.repo.cu" url="${jar.repo.cu.url}"
layout="default">
        <snapshots updatePolicy="always" />
</artifact:remoteRepository>

<artifact:dependencies verbose="true" useScope="compile"
filesetId="jar.libs.fileset">
        <pom refid="jar.pom" />
        <remoteRepository refid="jar.repo.suppl" />
        <remoteRepository refid="jar.repo.cu" />
        <remoteRepository refid="jar.repo.m2" />
</artifact:dependencies>



And the dependencies that are declared like this:
<dependency>
  <groupId>edu.cornerstone.portal.jsf-utilities</groupId>
  <artifactId>jsf-utilities</artifactId>
  <version>1.0-SNAPSHOT</version>
</dependency>


According to my apache logs (which serves the repository at
${jar.repo.cu.url}) maven never accesses the repository.

Am I doing something wrong?

-- 
Dave Brondsema
Software Developer
Cornerstone University

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to