My settings.xml is as follows:
<?xml version="1.0" encoding="UTF-8"
standalone="no"?>
<settings
xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/xsd/settings-1.0.0.xsd&q...
<localRepository/>
<proxies>
<proxy>
<id>assu200pxy</id>
<active>true</active>
<protocol>http</protocol>
<username>nduminil</username>
<password>assu2000</password>
<host>proxy2.assu2000.com</host>
<port>9090</port>
<nonProxyHosts>*.mycompany.com|127.0.0.1</nonProxyHosts>
</proxy>
</proxies>
<profiles>
<profile>
<id>jboss-ga</id>
<repositories>
<repository>
<id>jboss-ga-repository</id>
<name>JBoss GA Tech Preview Maven Repository</name>
<
url>http://maven.repository.redhat.com/techpreview/all</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-ga-plugin-repository</id>
<name>JBoss 6 Maven Plugin Repository</name>
<
url>http://maven.repository.redhat.com/techpreview/all</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>jboss-ga</activeProfile>
</activeProfiles>
</settings>
I modified the repositories from
https://repository.jboss.org/nexus/content to
http://maven.repository.redhat.com/techpreview as required by EAP6. As far as I
understood, this is mandatory in order to build against EAP6.
Posted by forums
Original post:
https://developer.jboss.org/message/912149#912149