struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <wsm...@gmail.com>
Subject Re: Maven Reorg (Was --> Re: [shale] Maven 2 build -- Help Wanted)
Date Fri, 02 Jun 2006 05:19:46 GMT
On 6/1/06, Craig McClanahan <craigmcc@apache.org> wrote:
> In addition, I wanted to try this using the JSF RI too, because (in theory)
> everything should still work.  So I tried
>
>     mvn clean install -Pjsfri
>
> It looks like Maven is trying to download the RI stuff from ibiblio, which
> isn't correct ... the necessary files are on the java.net repository (
> https://maven-repository.dev.java.net/nonav/repository/)
>
> How does one go about telling Maven to get the "javax.faces" artifacts from
> here instead?

Put this in the shale parent pom, then adjust the version numbers on
the RI dependencies.

    <repositories>
        <repository>
            <id>java.net</id>
            <name>java.net Maven 1 Repository</name>
            <url>https://maven-repository.dev.java.net/nonav/repository/</url>
            <layout>legacy</layout>
        </repository>
    </repositories>

-- 
Wendy

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


Mime
View raw message