Hi,

I'm having a problem with Maven caching and snapshots. I am using
Artifactory as a repository cache, which everybody is configured to use. If
a release version is needed, everything is fetched into the users' local
repository as expected. However the same is not happening with snapshots. I
know the snapshots are there - I can see them, and if I do a manual copy
out of Artifactory and place them in the local repository everything is
fine.

I'm not sure whether the problem is my Maven configuration, or an
Artifactory configuration. Are there any diagnostics I can turn on to
determine where the problem is? I've included the relevant bits of the
(customised) settings.xml which everybody is using. This happens with Maven
2.0.7 and 2.0.8.

Thanks,

Ian


<settings>
  <servers>
    <server>
      <id>artifactory.releases</id>
      <username>admin</username>
      <password>password</password>
    </server>
    <server>
      <id>artifactory.snapshots</id>
      <username>admin</username>
      <password>password</password>
    </server>
  </servers>
  <mirrors>
    <mirror>
      <id>artifactory</id>
      <mirrorOf>*</mirrorOf>
      <url>http://ebizci/artifactory/all/</url>
      <name>Artifactory</name>
    </mirror>
  </mirrors>
  <profiles>
    <!-- Default profile, which should always be set -->
    <profile>
      <id>default</id>
      <!-- Need this repository until the dashboard plugin becomes ready
for release -->
      <pluginRepositories>
        <pluginRepository>
          <id>Codehaus Snapshots</id>
          <url> http://snapshots.repository.codehaus.org/</url>
        </pluginRepository>
        <pluginRepository>
          <id>Codehaus Snapshots</id>
          <url> http://snapshots.repository.codehaus.org/</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
  <!-- activeProfiles
   | List of profiles that are active for all builds.
   |-->
  <activeProfiles>
    <activeProfile>default</activeProfile>
  </activeProfiles>
</settings>





Disclaimer: The information transmitted is intended only for the person or 
entity to which it is addressed and may contain confidential and/or privileged 
material. Any review, retransmission, dissemination or other use of, or taking 
of any action in reliance upon, this information by persons or entities other 
than the intended recipient is prohibited. If you received this in error, 
please contact the sender and delete the material from your computer.
Privacy: If you are responding to this email or providing personal information 
to the SRO for the purposes of one of the Acts it administers, such information 
 is used only for the purpose for which it was collected (administration of SRO 
legislation ) and is protected by the Information Privacy Act 2000 and secrecy 
provisions contained in legislation administered by SRO. It is not disclosed 
otherwise than in accordance with the law. If you would like a copy of the SRO 
Privacy Policy please refer to SRO website (www.sro.vic.gov.au) or contact SRO 
on 9628 0556 and request a copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to