-
1. Re: Missing artifacts in switchyard-example using 2.15.1.redhat-620133 JBoss Tools version
dcrocker Aug 7, 2015 4:14 PM (in response to dcrocker)SOLVED
I ended up removing the entire JBDS installation and starting over again.
There are two critical pieces to add to the JBoss Tools Maven section. This piece requires clarification. You do NOT configure this through the Eclipse MAVEN GUI. Instead, you configure it through the following:
Window -> Preferences -> JBoss Tools -> JBoss Maven Integration -> Configure Maven Repositories
jboss-earlyaccess-repository
http://maven.repository.redhat.com/earlyaccess/all/
and
jboss-enterprise-repository-group
http://maven/repostory.redhat.com/techpreview/all/
I also had other stuff in there, but I'm not sure that it matters. A lot of stuff that I describe here might be unnecessary, but I'm a noob, so I just don't know. It would be great to understand how things work under the covers. Maybe someone more knowledgeable than I can comment.
I checked the Early Access box on JBoss Central -> Software/Update.
I added the tooling by going to
Help -> Install New Software
https://devstudio.redhat.com/updates/8.0/integration-stack/earlyaccess/
https://devstudio.redhat.com/updates/8.0/
https://devstudio.redhat.com/earlyaccess/8.0
https://download.jboss.org/jbosstools/updates/development/luna/integration-stack/earlyaccess
https://devstudio.redhat.com/updates/8.0/integration-stack
Some of these are probably unnecessary.
I still couldn't get the switch-yard example to work. So I ended up making a backup of the {user.home}/.m2/settings.xml file and replacing it with one from a working installation. Then I ran the following:
New -> Other -> SwitchYard -> SwitchYard Project
And the configuration jars got reloaded.
Here's the GOOD settings.xml file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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>
<profile>
<id>jboss-earlyaccess-repository</id>
<repositories>
<repository>
<id>jboss-earlyaccess-repository</id>
<name>jboss-earlyaccess-repository</name>
<url>http://maven.repository.redhat.com/earlyaccess/all/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-earlyaccess-repository</id>
<name>jboss-earlyaccess-repository</name>
<url>http://maven.repository.redhat.com/earlyaccess/all/</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>jboss-earlyaccess-repository</activeProfile>
</activeProfiles>
</settings>
The bad settings.xml file had all of the same stuff but in a different order.