Its the same site, you just need to use repository instead of
pluginRepository...

    <repository>
      <id>Maven Snapshots</id>
      <url>http://snapshots.maven.codehaus.org/maven2/</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <releases>
        <enabled>false</enabled>
      </releases>
    </repository>

But I don't see maven-core:2.1-SNAPSHOT there, just 2.0-SNAPSHOT.
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven-core/

Wayne

On 3/15/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
> Ok now assembly plugin works, but what about snapshot repositories for
> maven components?
>
> I am trying to resolve:
> ---------------------------------
> required artifacts missing:
>  org.apache.maven:maven-core:jar:2.1-SNAPSHOT
> ---------------------------------
>
> >However, you can always just pull the code for maven-assembly-plugin
> >as well from SVN and package it up and install locally?
>
> Sure I can :) But wouldn't it be cool to checkout maven from svn, go
> to selected component (I need to play with embedder), run 'mvn
> package', see 'BUILD SUCCESSFUL'  ?
>
> Currently I have to deal with snapshot dependecies that are not
> available on remote repositories (or those repositories are not
> included in POMs). When I want to install those dependencies locally,
> those need other dependencies and so on. I am forced to play with
> commands/poms, I just need to package embedder...
>
> Thanks,
> Szczepan
>
> On 3/14/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > Maven plugin snapshots are hosted:
> > <pluginRepository>
> >       <id>Maven Snapshots</id>
> >       <url>http://snapshots.maven.codehaus.org/maven2/</url>
> >       <snapshots>
> >         <enabled>true</enabled>
> >       </snapshots>
> >       <releases>
> >         <enabled>false</enabled>
> >       </releases>
> >     </pluginRepository>
> >
> > However, you can always just pull the code for maven-assembly-plugin
> > as well from SVN and package it up and install locally? Then you
> > aren't dependent on yet another repo...
> >
> > Wayne
> >
> >
> > On 3/14/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
> > > I need to change maven embedder to force him to go through proxy. The
> > > problem is that 'mvn package' command fails in maven-embedder
> > > directory. The reason is that default snaphot repository does not have
> > > appropriate artifacts.
> > >
> > > --------------
> > >
> > > Reason: Unable to download the artifact from any repository
> > >
> > >  org.apache.maven.plugins:maven-assembly-plugin:pom:2.1-SNAPSHOT
> > >
> > > from the specified remote repositories:
> > >  central (http://repo1.maven.org/maven2),
> > >  apache.snapshots (http://svn.apache.org/maven-snapshot-repository)
> > >
> > > -------------
> > >
> > > Are there snaphot repositories maintained?
> > >
> > > ---------------------------------------------------------------------
> > > 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