Xavier,

does the pom on the test computer enable snapshots for that repository?

http://www.sonatype.com/books/mvnref-book/reference/pom-relationships-sect-pom-syntax.html
"As a default setting, Maven will not check for SNAPSHOT releases on remote repositories. To depend on SNAPSHOT releases, users must explicitly enable the ability to download snapshots using a repository or pluginRepository element in the POM."

Do you have something like this in your pom repositories section?:

<repositories>
    <repository>
        <id>[...]</id>
        <name>[...]</name>
        <url>[...]</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

Kind regards,
Ben.


On 07/05/12 15:06, Xavier NOPRE wrote:
Hi all,

I'm using Maven, deploying JARs on Artifactory. I launch my application on
a test computer, with Maven, and I want to launch with last SNQPSHOT
versions.

When I deploy the current SNAPSHOT version from my computer, the JAR is not
updated on test computer. I can see the new JAR in artifactory.

I don't know if it's a Maven configuration problem or an Artifactory
problem.

Thanks for your help,

Xavier


--
Ben Caradoc-Davies <[email protected]>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to