Adding JBoss repository to m2eclipse, no latest Hibernate version

Posted by Robert on Stack Overflow See other posts from Stack Overflow or by Robert
Published on 2010-04-20T21:44:14Z Indexed on 2010/04/20 22:23 UTC
Read the original article Hit count: 504

Filed under:
|
|
|

I'm trying to add JBoss repository to m2eclipse, mainly for Hibernate. It seems to work, but it can't find the latest version of Hibernate (3.5.1), only 3.5.0beta. I looked at some other packages, and they all seem a couple of months behind. What could be causing this? I'm running latest m2eclipse, and i guess latest Eclipse (it just says 20100218-1602, eclipse people think it's funny to not include version in the about dialog), on ubuntu 9.10.

This is my settings.xml

<settings>
<profiles>
    <profile>
        <id>jboss-maven2-release-repository</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>

        <repositories>
            <repository>
                <id>jboss-maven2-release-repository</id>
                <url>http://repository.jboss.org/maven2</url>
                <releases>
                    <enabled>true</enabled>
                </releases>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
            </repository>
            <repository>
                <id>jboss-snapshots</id>
                <url>http://snapshots.jboss.org/maven2</url>
                <releases>
                    <enabled>false</enabled>
                </releases>
                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
            </repository>
        </repositories>
        <pluginRepositories>
            <pluginRepository>
                <id>jboss-releases</id>
                <url>http://repository.jboss.org/maven2</url>
                <releases>
                    <enabled>true</enabled>
                </releases>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
            </pluginRepository>
            <pluginRepository>
                <id>jboss-snapshots</id>
                <url>http://snapshots.jboss.org/maven2</url>
                <releases>
                    <enabled>false</enabled>
                </releases>
                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
            </pluginRepository>
        </pluginRepositories>
    </profile>
</profiles>

© Stack Overflow or respective owner

Related posts about maven

Related posts about m2eclipse