Hello,

I'm trying to get seam version 2.1.1.GA  from
http://repository.jboss.org/maven2/org/jboss/seam/jboss-seam/

My pom.xml looks like,

   <repositories>
                <repository>
                        <id>jboss-seam</id>
                        <name>JBoss Maven Repository</name>
                        <url>http://repository.jboss.org/maven2</url>
                </repository>
        </repositories>
        <properties>
                <seam-version>2.1.1.GA</seam-version>
                <jboss-app-version>4.2.3.GA</jboss-app-version>
        </properties>

        <dependencies>
                <dependency>
                        <groupId>org.jboss.seam</groupId>
                        <artifactId>jboss-seam</artifactId>
                        <version>${seam-version}</version>
                        <exclusions>
                                <exclusion>
                                        <groupId>javax.servlet</groupId>
                                        <artifactId>servlet-api</artifactId>
                                </exclusion>
                                <exclusion>
                                        <groupId>jboss</groupId>
                                        <artifactId>javassist</artifactId>
                                </exclusion>
                        </exclusions>
                </dependency>


When I run mvn compile, maven looks for seam 2.1.1.GA file in,

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://repository.jboss.org/maven2/jboss/jboss-seam/2.1.1.GA/jboss-seam-2.1.1.GA.pom
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-seam/2.1.1.GA/jboss-seam-2.1.1.GA.pom
Downloading: 
http://repository.jboss.org/maven2/jboss/jboss-seam/2.1.1.GA/jboss-seam-2.1.1.GA.jar
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-seam/2.1.1.GA/jboss-seam-2.1.1.GA.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

If i specify seam version as 2.0.0.BETA1 it gets it from
http://repository.jboss.org/maven2/jboss/jboss-seam/

How do i tell maven to use this path instead?
http://repository.jboss.org/maven2/org/jboss/seam/jboss-seam/

Adding

<repositories>
                <repository>
                        <id>jboss-seam</id>
                        <name>JBoss Maven Repository</name>

<url>http://repository.jboss.org/maven2/org/jboss/seam</url>
                </repository>
        </repositories>

does not work... since "jboss/jboss-seam" is automatically added to
the repository url...

[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://repository.jboss.org/maven2/org/jboss/seam/jboss/jboss-seam/2.1.1.GA/jboss-seam-2.1.1.GA.pom
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-seam/2.1.1.GA/jboss-seam-2.1.1.GA.pom
Downloading: 
http://repository.jboss.org/maven2/org/jboss/seam/jboss/jboss-seam/2.1.1.GA/jboss-seam-2.1.1.GA.jar
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-seam/2.1.1.GA/jboss-seam-2.1.1.GA.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Thanks in advance!
Joey

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to