|
From: Thorsten H. <th...@gm...> - 2007-03-29 11:54:19
|
Hi André,
> I've recently set up artifactory for my company, and followed the standard
> setup. It's working fine for caching requests to external repositories,
> including our own. I also tried to set up a local snapshot repository in
> artifactory. When I deploy snapshots to this (using the http address of
> the
> repo in the repository definition) the artifacts end up with the names
> like
> <artifactname>-1.2-SNAPSHOT-SNAPSHOT.jar
I assume you have already checked that your pom.xml is correct...?
Have you configured separate repositories for releases and snapshots in your artifactory.config.xml or do you use only one? I'm using the following configuration that works quite fine for me:
<localRepositories>
<localRepository>
<key>local-repo</key>
<description>Local Releasess</description>
<handleReleases>true</handleReleases>
<handleSnapshots>false</handleSnapshots>
</localRepository>
<localRepository>
<key>local-snapshots</key>
<description>Local Snapshots</description>
<handleReleases>false</handleReleases>
<handleSnapshots>true</handleSnapshots>
</localRepository>
</localRepositories>
HTH
Thorsten
|