What do you have as your version and artifactId and groupId fields?

-----Original Message-----
From: John Patterson [mailto:[EMAIL PROTECTED] 
Sent: Friday, 2 May 2008 2:23 PM
To: [email protected]
Subject: Re: Missing SNAPSHOT jar




John Patterson wrote:
> 
> Hi,
> 
> I am a bit confused about deploying snapshots to my internal repository. 
> When I use the deploy:deploy-file command I get a  time-stamped jar
> uploaded to the repository but no myproject-1.0-SNAPSHOT.jar.
> 
> Then when I 'mvn install' a project that depends on the snapshot I get an
> error about the missing artifact.
> 
> Am I doing something obviously wrong here?
> 
> Thanks.
> 

Also, in the pom for the project I am building that depends on my snapshot I
include this:

        <repositories>
                <repository>
                        <id>org.wicketstuff</id>
                        <name>Wicket Stuff Repo</name>
                        <url>http://wicketstuff.org/maven/repository</url>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                </repository>
                <repository>
                        <id>internal</id>
                        <name>Internal repository</name>
                        <url>http://myserver.co.uk/mvn</url>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                </repository>
        </repositories>

I expected that maven would red the maven-metadata.xml file and determine
the correct jar to download.  Instead it seems to be looking for
xxx-SNAPSHOT.jar.

Thanks.

-- 
View this message in context:
http://www.nabble.com/Missing-SNAPSHOT-jar-tp16996685s177p16996686.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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




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

Reply via email to