You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Nils-Helge Garli Hegvik <ni...@gmail.com> on 2007/10/05 10:22:34 UTC

Re: xwork groupId change

Are there still no snapshot repository where xwork-2.1-SNAPSHOT is
available with the updated groupId? I know I can fix it by building it
myself, but I was hoping I could find it somewhere...

Nils-H

On 9/11/07, Nils-Helge Garli <ni...@gmail.com> wrote:
> I keep getting build failures saying maven can't find xwork 2.1-SNAPSHOT:
>
> ------------
>
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: com.opensymphony.xwork
> ArtifactId: xwork
> Version: 2.1-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>     mvn install:install-file -DgroupId=com.opensymphony.xwork -DartifactId=xwork
>  \
>         -Dversion=2.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>
>   com.opensymphony.xwork:xwork:jar:2.1-SNAPSHOT
>
> from the specified remote repositories:
>   Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
>   central (http://repo1.maven.org/maven2),
>   opensymphony (http://maven.opensymphony.com),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   snapshots-maven-codehaus (http://snapshots.maven.codehaus.org/maven2)
>
> -----------
>
> Is this in some way related to this? And how do I fix it? Is there a
> snapshot repository I'm missing in my local settings.xml file?
>
> Nils-H
>
> On 9/2/07, Wendy Smoak <ws...@gmail.com> wrote:
> > On 9/2/07, Konstantin Priblouda <kp...@yahoo.com> wrote:
> >
> > > diffucult to tell.   but recently ( friday )
> > > I got velocity included in war twice with different
> > > versions and that produced lot of weird errors
> > > on classloading and resolving methods *sometimes*
> > > (on different boxes)
> > >
> > > it turned out, that velocity is sometimes referred by
> > > group Id as org.apache.velocity or just velocity -
> > > when
> > > changing groups be carefull and check who uses it...
> >
> > This happens when a project changes groupIds without "relocating" the
> > old versions in the repository.  Maven has no way of knowing that
> > 'velocity' and 'org.apache.velocity' are the same thing.
> >
> > There's a guide here:  http://maven.apache.org/guides/mini/guide-relocation.html
> >
> > --
> > Wendy
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org