Maven issue with SwitchYard project on Jboss Developer Studio
nitinkalra2000 Nov 19, 2015 4:34 AMI am trying to create a fresh SwitchYard project on JBoss Developer studio. I am using JBoss developer studio 8 Maven 3.3 Java 8
I am referring settings.xml file in Windows->preferences->maven->user settings. Content of settings.xml are
<settings> <profiles> <profile> <id>jboss-public-repository-group</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>jboss-public-repository-group</id> <name>JBoss Public Repository Group</name> <url>http://repository.jboss.org/nexus/content/groups/public/</url> <layout>default</layout> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </snapshots> </repository> <repository> <id>jboss-enterprise-repository-group</id> <name>JBoss Enterprise Maven Repository Group</name> <url>http://maven.repository.redhat.com/techpreview/all/</url> <layout>default</layout> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </snapshots> </repository> <repository> <id>fusesource-public-release-repository-group</id> <url>https://repository.jboss.org/nexus/content/repositories/fs-releases</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>jboss-public-repository-group</id> <name>JBoss Public Maven Repository Group</name> <url>https://repository.jboss.org/nexus/content/groups/public/</url> <layout>default</layout> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles>
After this, when I create a new SwitchYard project in JBoss DS 8, I get below notification.
Project gets created but with errors. Because nothing got downloaded from Maven repository. Below are the errors :
Error
Failure to transfer org.switchyard:Switchyard-plugin:Pom:2.0.0.Final from https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced. Original error: Could not transfer artifact org.switchyard:Switchyard-plugin:Pom:2.0.0.Final from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/): repository.jboss.org
When I am doing same steps on my laptop, there isn't problem. The issue is coming when I am using my office machine. Even on my laptop there are different library versions being shown in dropdown while creating switchyard project but on office machine where I am getting the issue there is only one library version 2.0.0.Final.
Can anybody please point out the mistake ?
Thanks Nitin