You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Dan Tran <da...@gmail.com> on 2007/08/14 06:01:21 UTC

proxy maven2 snapshot with no timestamp on the version

Hello, I have Achiva proxying

http://people.apache.org/repo/m2-snapshot-repository

However, achiva could not locate apache's myfaces artifact which does not
deploy snapshot using timestamp.

see link
http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/maven/myfaces-master/1.0.6-SNAPSHOT/

can some one confirm this a bug?

Thanks



here is my error


GroupId: org.apache.myfaces.maven
ArtifactId: myfaces-master
Version: 1.0.6-SNAPSHOT

Reason: Unable to locate resource in repository

  org.apache.myfaces.maven:myfaces-master:pom:1.0.6-SNAPSHOT

from the specified remote repositories:
  central (http://dtran.iplocks.com:9080/archiva/repository/internal),
  apache-maven-snapshots (
http://people.apache.org/repo/m2-snapshot-repository),

  myfaces-staging (
http://people.apache.org/builds/myfaces/m2-staging-repository
),
  java-net (http://download.java.net/maven/1),
  snapshots (http://dtran.iplocks.com:9080/archiva/repository/snapshots)

Re: proxy maven2 snapshot with no timestamp on the version

Posted by Dan Tran <da...@gmail.com>.
My bad,

I did not enable

      <snapshots>
        <enabled>true</enabled>
      </snapshots>

to the my internal snapshot proxy in my repositories pom configuration.

Thanks

-D



On 8/13/07, Dan Tran <da...@gmail.com> wrote:
>
> Hi Wendy,
>
> I am archiva-beta-1
>
> here is the log
>
> 417065628 [SocketListener0-4] DEBUG
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Didn't
> pass the [snapshots] policy.
> 417065628 [SocketListener0-4] INFO
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default   -
> Failed pre-download policies -
> C:\dev\archiva\repositories\internal\org\apache\myfaces\maven\myfaces-master\1.0.6-SNAPSHOT\myfaces-
> master-1.0.6-SNAPSHOT.pom
> 417065628 [SocketListener0-4] DEBUG
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default   -
> Attempting connector: ProxyConnector[
>
> So i need to fix up my policy, but how?
>
> any help is greatly appreciated.
>
> Thanks
>
> -Dan
>
>
>  On 8/13/07, Wendy Smoak <ws...@gmail.com> wrote:
> >
> > On 8/13/07, Dan Tran <da...@gmail.com> wrote:
> > > Hello, I have Achiva proxying
> > >
> > > http://people.apache.org/repo/m2-snapshot-repository
> > >
> > > However, achiva could not locate apache's myfaces artifact which does
> > not
> > > deploy snapshot using timestamp.
> >
> > What's in the Archiva log?  I'm not set up to try it atm, but it might
> > have just refused to proxy the artifact because it failed one of the
> > policies.
> >
> > (We also need to know what version of Archiva, etc.)
> >
> > --
> > Wendy
> >
>
>

Re: proxy maven2 snapshot with no timestamp on the version

Posted by Dan Tran <da...@gmail.com>.
Hi Wendy,

I am archiva-beta-1

here is the log

417065628 [SocketListener0-4] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Didn't
pass the [snapshots] policy.
417065628 [SocketListener0-4] INFO
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - Failed
pre-download policies -
C:\dev\archiva\repositories\internal\org\apache\myfaces\maven\myfaces-master\1.0.6-SNAPSHOT\myfaces-
master-1.0.6-SNAPSHOT.pom
417065628 [SocketListener0-4] DEBUG
org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Attempting connector: ProxyConnector[

So i need to fix up my policy, but how?

any help is greatly appreciated.

Thanks

-Dan


On 8/13/07, Wendy Smoak <ws...@gmail.com> wrote:
>
> On 8/13/07, Dan Tran <da...@gmail.com> wrote:
> > Hello, I have Achiva proxying
> >
> > http://people.apache.org/repo/m2-snapshot-repository
> >
> > However, achiva could not locate apache's myfaces artifact which does
> not
> > deploy snapshot using timestamp.
>
> What's in the Archiva log?  I'm not set up to try it atm, but it might
> have just refused to proxy the artifact because it failed one of the
> policies.
>
> (We also need to know what version of Archiva, etc.)
>
> --
> Wendy
>

Re: proxy maven2 snapshot with no timestamp on the version

Posted by Wendy Smoak <ws...@gmail.com>.
On 8/13/07, Dan Tran <da...@gmail.com> wrote:
> Hello, I have Achiva proxying
>
> http://people.apache.org/repo/m2-snapshot-repository
>
> However, achiva could not locate apache's myfaces artifact which does not
> deploy snapshot using timestamp.

What's in the Archiva log?  I'm not set up to try it atm, but it might
have just refused to proxy the artifact because it failed one of the
policies.

(We also need to know what version of Archiva, etc.)

-- 
Wendy