SwitchYard quickstarts cannot be built using Maven in FSW 6
Issue
- I am trying to build a SwitchYard quickstart project.
- However, when running
mvn clean install
inswitchyard-quickstart-bean-service
, I'm getting below error inpom.xml
:
[ERROR] Failed to execute goal on project switchyard-quickstart-bean-service: Could not resolve dependencies for project org.switchyard.quickstarts:switchyard-quickstart-bean-service:jar:1.1.1-p5-redhat-1: Failed to collect dependencies for [org.switchyard:switchyard-api:jar:1.1.1-p5-redhat-1 (compile), org.switchyard:switchyard-plugin:jar:1.1.1-p5-redhat-1 (compile), org.switchyard.components:switchyard-component-bean:jar:1.1.1-p5-redhat-1 (compile), org.switchyard.components:switchyard-component-soap:jar:1.1.1-p5-redhat-1 (compile), org.switchyard:switchyard-test:jar:1.1.1-p5-redhat-1 (test), org.switchyard.components:switchyard-component-test-mixin-cdi:jar:1.1.1-p5-redhat-1 (test), org.switchyard.components:switchyard-component-test-mixin-http:jar:1.1.1-p5-redhat-1 (test), junit:junit:jar:4.11 (test), log4j:log4j:jar:1.2.16-redhat-2 (provided)]: Failed to read artifact descriptor for xmlunit:xmlunit:jar:1.3-redhat-2: Could not find artifact org.jboss:jboss-parent:pom:9-redhat-1 in jboss-ga-repository (file:///opt/jboss-maven-repository/fsw-6.0.0.GA-redhat-2) -> [Help 1]
- My
settings.xml
is as follows:
<profiles>
<profile>
<id>jboss-ga-repository</id>
<repositories>
<repository>
<id>jboss-ga-repository</id>
<url>file:///path/to/repo/jboss-fsw-6.0.0-maven-repository</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-ga-plugin-repository</id>
<url>file:///path/to/repo/jboss-fsw-6.0.0-maven-repository</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>jboss-ga-repository</activeProfile>
</activeProfiles>
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.