开发者

Repository to download jsf 2 for maven 2

开发者 https://www.devze.com 2023-03-18 05:36 出处:网络
I am trying to download the jsf-api.jar and jsf-Impl.jar in maven 2. I tried using the following repository but couldn\'t able to download from the repository. I am new to this maven tool, help me to

I am trying to download the jsf-api.jar and jsf-Impl.jar in maven 2. I tried using the following repository but couldn't able to download from the repository. I am new to this maven tool, help me to resolve this.

        <repository>
            <id>jsf</id>
            <url>http://download.java.net/mav开发者_JS百科en/2/com/sun/faces/jsf-api/2.0.3-SNAPSHOT</url>
        </repository>

<dependency>
    <groupId>com.sun.faces</groupId>
    <artifactId>jsf-api</artifactId>
    <version>2.0.3</version>
</dependency>
<dependency>
    <groupId>com.sun.faces</groupId>
    <artifactId>jsf-impl</artifactId>
    <version>2.0.3</version>
</dependency>


Your repository url should look like:

    <repository>
        <id>jsf</id>
        <url>http://download.java.net/maven/2/</url>
    </repository>

groupId, artifactId and version number are appended automatically appended to the URL when resolving.

0

精彩评论

暂无评论...
验证码 换一张
取 消