the stacktrace looks alike there is no camel catalog available.
need to add in dependency of the tests plugin or in the configuration of
the tycho-surefire-plugin
On Wed, Sep 7, 2016 at 5:25 PM, Fuse Jenkins <fuse-infra(a)redhat.com> wrote:
See
<
http://10.8.63.16/job/SwitchYard-Tools-2.1.x-Update-Site/25/>
------------------------------------------
[...truncated 44561 lines...]
at org.fusesource.ide.camel.model.service.core.model.
AbstractCamelModelElement.<init>(AbstractCamelModelElement.java:99)
at org.fusesource.ide.camel.model.service.core.model.
CamelContextElement.<init>(CamelContextElement.java:49)
at org.fusesource.ide.camel.model.service.core.io.CamelIOHandler.
readDocumentToModel(CamelIOHandler.java:153)
at org.fusesource.ide.camel.model.service.core.io.
CamelIOHandler.loadCamelModel(CamelIOHandler.java:110)
at org.fusesource.ide.camel.model.service.core.io.
CamelIOHandler.loadCamelModel(CamelIOHandler.java:71)
at org.fusesource.ide.camel.validation.xml.
XMLCamelRoutesValidator.loadCamelFile(XMLCamelRoutesValidator.java:65)
at org.fusesource.ide.camel.validation.xml.
XMLCamelRoutesValidator.validate(XMLCamelRoutesValidator.java:50)
at org.eclipse.wst.validation.Validator$V2.validate(
Validator.java:1158)
at org.eclipse.wst.validation.internal.ValManager.validate(
ValManager.java:704)
at org.eclipse.wst.validation.internal.ValManager$1.visit(
ValManager.java:665)
at org.eclipse.wst.validation.internal.ValManager.accept(
ValManager.java:783)
at org.eclipse.wst.validation.internal.ValManager.validate(
ValManager.java:669)
at org.eclipse.wst.validation.internal.ValBuilderJob$
Visitor.visit(ValBuilderJob.java:299)
at org.eclipse.core.internal.resources.Resource$2.visit(
Resource.java:119)
at org.eclipse.core.internal.resources.Resource$1.
visitElement(Resource.java:83)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:82)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
iterate(ElementTreeIterator.java:129)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:93)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:51)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:116)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:104)
at org.eclipse.wst.validation.internal.ValBuilderJob.
fullBuild(ValBuilderJob.java:219)
at org.eclipse.wst.validation.internal.ValBuilderJob.run(
ValBuilderJob.java:178)
at org.eclipse.wst.validation.internal.ValBuilderJob.
runInWorkspace(ValBuilderJob.java:126)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(
InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.fusesource.ide.camel.model.service.core 4 0 2016-09-07
11:12:15.531
!MESSAGE Error loading Camel XML file from <
http://10.8.63.16/job/
SwitchYard-Tools-2.1.x-Update-Site/ws/sources/eclipse/tests/
org.switchyard.tools.ui.tests/target/work/data/camel-route-
tests/target/classes/correctroute.xml>
!STACK 0
java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1439)
at java.util.HashMap$KeyIterator.next(HashMap.java:1461)
at org.fusesource.ide.camel.model.service.core.catalog.
CamelModelFactory.getLatestCamelVersion(CamelModelFactory.java:102)
at org.fusesource.ide.camel.model.service.core.model.
AbstractCamelModelElement.getEipByName(AbstractCamelModelElement.
java:1263)
at org.fusesource.ide.camel.model.service.core.model.
AbstractCamelModelElement.<init>(AbstractCamelModelElement.java:99)
at org.fusesource.ide.camel.model.service.core.model.
CamelContextElement.<init>(CamelContextElement.java:49)
at org.fusesource.ide.camel.model.service.core.io.CamelIOHandler.
readDocumentToModel(CamelIOHandler.java:153)
at org.fusesource.ide.camel.model.service.core.io.
CamelIOHandler.loadCamelModel(CamelIOHandler.java:110)
at org.fusesource.ide.camel.model.service.core.io.
CamelIOHandler.loadCamelModel(CamelIOHandler.java:71)
at org.fusesource.ide.camel.validation.xml.
XMLCamelRoutesValidator.loadCamelFile(XMLCamelRoutesValidator.java:65)
at org.fusesource.ide.camel.validation.xml.
XMLCamelRoutesValidator.validate(XMLCamelRoutesValidator.java:50)
at org.eclipse.wst.validation.Validator$V2.validate(
Validator.java:1158)
at org.eclipse.wst.validation.internal.ValManager.validate(
ValManager.java:704)
at org.eclipse.wst.validation.internal.ValManager$1.visit(
ValManager.java:665)
at org.eclipse.wst.validation.internal.ValManager.accept(
ValManager.java:810)
at org.eclipse.wst.validation.internal.ValManager.validate(
ValManager.java:669)
at org.eclipse.wst.validation.internal.ValBuilderJob$
Visitor.visit(ValBuilderJob.java:299)
at org.eclipse.core.internal.resources.Resource$2.visit(
Resource.java:119)
at org.eclipse.core.internal.resources.Resource$1.
visitElement(Resource.java:83)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:82)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
iterate(ElementTreeIterator.java:129)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:93)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:51)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:116)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:104)
at org.eclipse.wst.validation.internal.ValBuilderJob.
fullBuild(ValBuilderJob.java:219)
at org.eclipse.wst.validation.internal.ValBuilderJob.run(
ValBuilderJob.java:178)
at org.eclipse.wst.validation.internal.ValBuilderJob.
runInWorkspace(ValBuilderJob.java:126)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(
InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.fusesource.ide.camel.model.service.core 4 0 2016-09-07
11:12:15.532
!MESSAGE Error loading Camel XML file from <
http://10.8.63.16/job/
SwitchYard-Tools-2.1.x-Update-Site/ws/sources/eclipse/tests/
org.switchyard.tools.ui.tests/target/work/data/camel-route-
tests/target/classes/route.xml>
!STACK 0
java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1439)
at java.util.HashMap$KeyIterator.next(HashMap.java:1461)
at org.fusesource.ide.camel.model.service.core.catalog.
CamelModelFactory.getLatestCamelVersion(CamelModelFactory.java:102)
at org.fusesource.ide.camel.model.service.core.model.
AbstractCamelModelElement.getEipByName(AbstractCamelModelElement.
java:1263)
at org.fusesource.ide.camel.model.service.core.model.
AbstractCamelModelElement.<init>(AbstractCamelModelElement.java:99)
at org.fusesource.ide.camel.model.service.core.model.
CamelContextElement.<init>(CamelContextElement.java:49)
at org.fusesource.ide.camel.model.service.core.io.CamelIOHandler.
readDocumentToModel(CamelIOHandler.java:153)
at org.fusesource.ide.camel.model.service.core.io.
CamelIOHandler.loadCamelModel(CamelIOHandler.java:110)
at org.fusesource.ide.camel.model.service.core.io.
CamelIOHandler.loadCamelModel(CamelIOHandler.java:71)
at org.fusesource.ide.camel.validation.xml.
XMLCamelRoutesValidator.loadCamelFile(XMLCamelRoutesValidator.java:65)
at org.fusesource.ide.camel.validation.xml.
XMLCamelRoutesValidator.validate(XMLCamelRoutesValidator.java:50)
at org.eclipse.wst.validation.Validator$V2.validate(
Validator.java:1158)
at org.eclipse.wst.validation.internal.ValManager.validate(
ValManager.java:704)
at org.eclipse.wst.validation.internal.ValManager$1.visit(
ValManager.java:665)
at org.eclipse.wst.validation.internal.ValManager.accept(
ValManager.java:810)
at org.eclipse.wst.validation.internal.ValManager.validate(
ValManager.java:669)
at org.eclipse.wst.validation.internal.ValBuilderJob$
Visitor.visit(ValBuilderJob.java:299)
at org.eclipse.core.internal.resources.Resource$2.visit(
Resource.java:119)
at org.eclipse.core.internal.resources.Resource$1.
visitElement(Resource.java:83)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:82)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
iterate(ElementTreeIterator.java:129)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:93)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:51)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:116)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:104)
at org.eclipse.wst.validation.internal.ValBuilderJob.
fullBuild(ValBuilderJob.java:219)
at org.eclipse.wst.validation.internal.ValBuilderJob.run(
ValBuilderJob.java:178)
at org.eclipse.wst.validation.internal.ValBuilderJob.
runInWorkspace(ValBuilderJob.java:126)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(
InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.fusesource.ide.camel.model.service.core 4 0 2016-09-07
11:12:18.435
!MESSAGE Error loading Camel XML file from <
http://10.8.63.16/job/
SwitchYard-Tools-2.1.x-Update-Site/ws/sources/eclipse/tests/
org.switchyard.tools.ui.tests/target/work/data/camel-route-
tests/src/main/resources/correctroute.xml>
!STACK 0
java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1439)
at java.util.HashMap$KeyIterator.next(HashMap.java:1461)
at org.fusesource.ide.camel.model.service.core.catalog.
CamelModelFactory.getLatestCamelVersion(CamelModelFactory.java:102)
at org.fusesource.ide.camel.model.service.core.model.
AbstractCamelModelElement.getEipByName(AbstractCamelModelElement.
java:1263)
at org.fusesource.ide.camel.model.service.core.model.
AbstractCamelModelElement.<init>(AbstractCamelModelElement.java:99)
at org.fusesource.ide.camel.model.service.core.model.
CamelContextElement.<init>(CamelContextElement.java:49)
at org.fusesource.ide.camel.model.service.core.io.CamelIOHandler.
readDocumentToModel(CamelIOHandler.java:153)
at org.fusesource.ide.camel.model.service.core.io.
CamelIOHandler.loadCamelModel(CamelIOHandler.java:110)
at org.fusesource.ide.camel.model.service.core.io.
CamelIOHandler.loadCamelModel(CamelIOHandler.java:71)
at org.fusesource.ide.camel.validation.xml.
XMLCamelRoutesValidator.loadCamelFile(XMLCamelRoutesValidator.java:65)
at org.fusesource.ide.camel.validation.xml.
XMLCamelRoutesValidator.validate(XMLCamelRoutesValidator.java:50)
at org.eclipse.wst.validation.Validator$V2.validate(
Validator.java:1158)
at org.eclipse.wst.validation.internal.ValManager.validate(
ValManager.java:704)
at org.eclipse.wst.validation.internal.ValManager$1.visit(
ValManager.java:665)
at org.eclipse.wst.validation.internal.ValManager.accept(
ValManager.java:783)
at org.eclipse.wst.validation.internal.ValManager.validate(
ValManager.java:669)
at org.eclipse.wst.validation.internal.ValBuilderJob$
Visitor.visit(ValBuilderJob.java:299)
at org.eclipse.core.internal.resources.Resource$2.visit(
Resource.java:119)
at org.eclipse.core.internal.resources.Resource$1.
visitElement(Resource.java:83)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:82)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
iterate(ElementTreeIterator.java:129)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:93)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:51)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:116)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:104)
at org.eclipse.wst.validation.internal.ValBuilderJob.
fullBuild(ValBuilderJob.java:219)
at org.eclipse.wst.validation.internal.ValBuilderJob.run(
ValBuilderJob.java:178)
at org.eclipse.wst.validation.internal.ValBuilderJob.
runInWorkspace(ValBuilderJob.java:126)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(
InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.fusesource.ide.camel.model.service.core 4 0 2016-09-07
11:12:18.446
!MESSAGE Error loading Camel XML file from <
http://10.8.63.16/job/
SwitchYard-Tools-2.1.x-Update-Site/ws/sources/eclipse/tests/
org.switchyard.tools.ui.tests/target/work/data/camel-route-
tests/src/main/resources/route.xml>
!STACK 0
java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1439)
at java.util.HashMap$KeyIterator.next(HashMap.java:1461)
at org.fusesource.ide.camel.model.service.core.catalog.
CamelModelFactory.getLatestCamelVersion(CamelModelFactory.java:102)
at org.fusesource.ide.camel.model.service.core.model.
AbstractCamelModelElement.getEipByName(AbstractCamelModelElement.
java:1263)
at org.fusesource.ide.camel.model.service.core.model.
AbstractCamelModelElement.<init>(AbstractCamelModelElement.java:99)
at org.fusesource.ide.camel.model.service.core.model.
CamelContextElement.<init>(CamelContextElement.java:49)
at org.fusesource.ide.camel.model.service.core.io.CamelIOHandler.
readDocumentToModel(CamelIOHandler.java:153)
at org.fusesource.ide.camel.model.service.core.io.
CamelIOHandler.loadCamelModel(CamelIOHandler.java:110)
at org.fusesource.ide.camel.model.service.core.io.
CamelIOHandler.loadCamelModel(CamelIOHandler.java:71)
at org.fusesource.ide.camel.validation.xml.
XMLCamelRoutesValidator.loadCamelFile(XMLCamelRoutesValidator.java:65)
at org.fusesource.ide.camel.validation.xml.
XMLCamelRoutesValidator.validate(XMLCamelRoutesValidator.java:50)
at org.eclipse.wst.validation.Validator$V2.validate(
Validator.java:1158)
at org.eclipse.wst.validation.internal.ValManager.validate(
ValManager.java:704)
at org.eclipse.wst.validation.internal.ValManager$1.visit(
ValManager.java:665)
at org.eclipse.wst.validation.internal.ValManager.accept(
ValManager.java:783)
at org.eclipse.wst.validation.internal.ValManager.validate(
ValManager.java:669)
at org.eclipse.wst.validation.internal.ValBuilderJob$
Visitor.visit(ValBuilderJob.java:299)
at org.eclipse.core.internal.resources.Resource$2.visit(
Resource.java:119)
at org.eclipse.core.internal.resources.Resource$1.
visitElement(Resource.java:83)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:82)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
doIteration(ElementTreeIterator.java:87)
at org.eclipse.core.internal.watson.ElementTreeIterator.
iterate(ElementTreeIterator.java:129)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:93)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:51)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:116)
at org.eclipse.core.internal.resources.Resource.accept(
Resource.java:104)
at org.eclipse.wst.validation.internal.ValBuilderJob.
fullBuild(ValBuilderJob.java:219)
at org.eclipse.wst.validation.internal.ValBuilderJob.run(
ValBuilderJob.java:178)
at org.eclipse.wst.validation.internal.ValBuilderJob.
runInWorkspace(ValBuilderJob.java:126)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(
InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 402.112
sec - in org.switchyard.tools.ui.tests.SwitchYardValidatorTest
testWiringValidation(org.switchyard.tools.ui.tests.SwitchYardValidatorTest)
Time elapsed: 383.367 sec
testCamelRouteValidation(org.switchyard.tools.ui.tests.SwitchYardValidatorTest)
Time elapsed: 17.661 sec
Running org.switchyard.tools.ui.tests.CreateSwitchYardProjectTest
TEST-SETUP: testCreateSwitchYardProjectOperationWithIntegrationBits
/CreateSwitchYardProjectTestWithIntegration/pom.xml
Actual string: <?xml version="1.0"
encoding="UTF-8"?><project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.
org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>test.project.group</groupId>
<artifactId>CreateSwitchYardProjectTestWithIntegration</artifactId>
<version>0.0.1-SNAPSHOT</version> <name>test.project.group:
CreateSwitchYardProjectTestWithIntegration</name> <properties>
<switchyard.version>2.1.0.Final</switchyard.version>
<kie.version>6.4.0.Final</kie.version> <integration.version>1.4.0.
redhat-621043</integration.version>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target> </properties>
<dependencyManagement> <dependencies> <dependency>
<groupId>org.jboss.integration.fuse</groupId>
<artifactId>fuse-integration-bom</artifactId> !
<version>${integration.version}</version>
<type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.kie</groupId>
<artifactId>kie-bom</artifactId>
<version>${kie.version}</version> <type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.drools</groupId>
<artifactId>drools-bom</artifactId>
<version>${kie.version}</version> <type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-bom</artifactId>
<version>${kie.version}</version> <type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.switchyard</groupId>
<artifactId>switchyard-bom</artifactId>
<version>${switchyard.version}</version>
<type>pom</type>
<scope>import</scope> </dependency> </dependencies>
</de!
pendencyManagement> <dependencies> <dependency> <grou!
pId>org.
switchyard</groupId> <artifactId>switchyard-api</artifactId>
</dependency> <dependency>
<groupId>org.switchyard</groupId>
<artifactId>switchyard-transform</artifactId> </dependency>
<dependency> <groupId>org.switchyard</groupId>
<artifactId>switchyard-validate</artifactId> </dependency>
<dependency> <groupId>org.switchyard</groupId>
<artifactId>switchyard-test</artifactId>
<scope>test</scope>
</dependency> <dependency>
<groupId>org.switchyard.components</groupId>
<artifactId>switchyard-component-test-mixin-cdi</artifactId>
<scope>test</scope> </dependency> </dependencies>
<build>
<plugins> <plugin> <groupId>org.switchyard</groupId>
<artifactId>switchyard-plugin</artifactId>
<version>${switchyard.version}</version> <executions>
<execution> <goals>
<goal>configure</goal>
</goals> </execution> </execu!
tions> <configuration> <scannerClassNames>
<param>org.switchyard.transform.config.model.TransformSwitchYardScanner</param>
</scannerClassNames> </configuration> </plugin>
</plugins> </build></project>
Expected string: <?xml version="1.0"
encoding="UTF-8"?><project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.
org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>test.project.group</groupId>
<artifactId>CreateSwitchYardProjectTestWithIntegration</artifactId>
<version>0.0.1-SNAPSHOT</version> <name>test.project.group:
CreateSwitchYardProjectTestWithIntegration</name> <properties>
<switchyard.version>2.1.0.Final</switchyard.version>
<kie.version>6.4.0.Final</kie.version> <integration.version>1.4.0.
redhat-621043</integration.version>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target> </properties>
<dependencyManagement> <dependencies> <dependency>
<groupId>org.jboss.integration.fuse</groupId>
<artifactId>fuse-integration-bom</artifactId> !
<version>${integration.version}</version>
<type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.kie</groupId>
<artifactId>kie-bom</artifactId>
<version>${kie.version}</version> <type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.drools</groupId>
<artifactId>drools-bom</artifactId>
<version>${kie.version}</version> <type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-bom</artifactId>
<version>${kie.version}</version> <type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.switchyard</groupId>
<artifactId>switchyard-bom</artifactId>
<version>${switchyard.version}</version>
<type>pom</type>
<scope>import</scope> </dependency> </dependencies>
</!
dependencyManagement> <dependencies> <dependency> <gr!
oupId>or
g.switchyard</groupId> <artifactId>switchyard-api</artifactId>
</dependency> <dependency>
<groupId>org.switchyard</groupId>
<artifactId>switchyard-transform</artifactId> </dependency>
<dependency> <groupId>org.switchyard</groupId>
<artifactId>switchyard-validate</artifactId> </dependency>
<dependency> <groupId>org.switchyard</groupId>
<artifactId>switchyard-test</artifactId>
<scope>test</scope>
</dependency> <dependency>
<groupId>org.switchyard.components</groupId>
<artifactId>switchyard-component-test-mixin-cdi</artifactId>
<scope>test</scope> </dependency> </dependencies>
<build>
<plugins> <plugin> <groupId>org.switchyard</groupId>
<artifactId>switchyard-plugin</artifactId>
<version>${switchyard.version}</version> <executions>
<execution> <goals>
<goal>configure</goal>
</goals> </execution> </exe!
cutions> <configuration> <scannerClassNames>
<param>org.switchyard.transform.config.model.TransformSwitchYardScanner</param>
</scannerClassNames> </configuration> </plugin>
</plugins> </build></project>
/CreateSwitchYardProjectTestWithIntegration/pom.xml
Actual string: <?xml version="1.0"
encoding="UTF-8"?><project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.
org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>test.project.group</groupId>
<artifactId>CreateSwitchYardProjectTestWithIntegration</artifactId>
<version>0.0.1-SNAPSHOT</version> <name>test.project.group:
CreateSwitchYardProjectTestWithIntegration</name> <properties>
<switchyard.version>2.1.0.Final</switchyard.version>
<kie.version>6.4.0.Final</kie.version> <integration.version>1.4.0.
redhat-621043</integration.version>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target> </properties>
<dependencyManagement> <dependencies> <dependency>
<groupId>org.jboss.integration.fuse</groupId>
<artifactId>fuse-integration-bom</artifactId> !
<version>${integration.version}</version>
<type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.kie</groupId>
<artifactId>kie-bom</artifactId>
<version>${kie.version}</version> <type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.drools</groupId>
<artifactId>drools-bom</artifactId>
<version>${kie.version}</version> <type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-bom</artifactId>
<version>${kie.version}</version> <type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.switchyard</groupId>
<artifactId>switchyard-bom</artifactId>
<version>${switchyard.version}</version>
<type>pom</type>
<scope>import</scope> </dependency> </dependencies>
</de!
pendencyManagement> <dependencies> <dependency> <grou!
pId>org.
switchyard</groupId> <artifactId>switchyard-api</artifactId>
</dependency> <dependency>
<groupId>org.switchyard</groupId>
<artifactId>switchyard-transform</artifactId> </dependency>
<dependency> <groupId>org.switchyard</groupId>
<artifactId>switchyard-validate</artifactId> </dependency>
<dependency> <groupId>org.switchyard</groupId>
<artifactId>switchyard-test</artifactId>
<scope>test</scope>
</dependency> <dependency>
<groupId>org.switchyard.components</groupId>
<artifactId>switchyard-component-test-mixin-cdi</artifactId>
<scope>test</scope> </dependency> <dependency>
<groupId>org.switchyard.components</groupId>
<artifactId>switchyard-component-bpm</artifactId> </dependency>
</dependencies> <build> <plugins> <plugin>
<groupId>org.switchyard</groupId>
<artifactId>switchyard-plugin</artifactId>
<version>${switchyard.version}</version> <executio!
ns> <execution> <goals>
<goal>configure</goal> </goals> </execution>
</executions> <configuration> <scannerClassNames>
<param>org.switchyard.transform.config.model.
TransformSwitchYardScanner</param> </scannerClassNames>
</configuration> </plugin> </plugins>
</build></project>
Expected string: <?xml version="1.0"
encoding="UTF-8"?><project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.
org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>test.project.group</groupId>
<artifactId>CreateSwitchYardProjectTestWithIntegration</artifactId>
<version>0.0.1-SNAPSHOT</version> <name>test.project.group:
CreateSwitchYardProjectTestWithIntegration</name> <properties>
<switchyard.version>2.1.0.Final</switchyard.version>
<kie.version>6.4.0.Final</kie.version> <integration.version>1.4.0.
redhat-621043</integration.version>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target> </properties>
<dependencyManagement> <dependencies> <dependency>
<groupId>org.jboss.integration.fuse</groupId>
<artifactId>fuse-integration-bom</artifactId> !
<version>${integration.version}</version>
<type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.kie</groupId>
<artifactId>kie-bom</artifactId>
<version>${kie.version}</version> <type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.drools</groupId>
<artifactId>drools-bom</artifactId>
<version>${kie.version}</version> <type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-bom</artifactId>
<version>${kie.version}</version> <type>pom</type>
<scope>import</scope> </dependency> <dependency>
<groupId>org.switchyard</groupId>
<artifactId>switchyard-bom</artifactId>
<version>${switchyard.version}</version>
<type>pom</type>
<scope>import</scope> </dependency> </dependencies>
</!
dependencyManagement> <dependencies> <dependency> <gr!
oupId>or
g.switchyard</groupId> <artifactId>switchyard-api</artifactId>
</dependency> <dependency>
<groupId>org.switchyard</groupId>
<artifactId>switchyard-transform</artifactId> </dependency>
<dependency> <groupId>org.switchyard</groupId>
<artifactId>switchyard-validate</artifactId> </dependency>
<dependency> <groupId>org.switchyard</groupId>
<artifactId>switchyard-test</artifactId>
<scope>test</scope>
</dependency> <dependency>
<groupId>org.switchyard.components</groupId>
<artifactId>switchyard-component-test-mixin-cdi</artifactId>
<scope>test</scope> </dependency> <dependency>
<groupId>org.switchyard.components</groupId>
<artifactId>switchyard-component-bpm</artifactId>
</dependency> </dependencies> <build> <plugins>
<plugin>
<groupId>org.switchyard</groupId>
<artifactId>switchyard-plugin</artifactId>
<version>${switchyard.version}</version> <exec!
utions> <execution> <goals>
<goal>configure</goal> </goals> </execution>
</executions> <configuration> <scannerClassNames>
<param>org.switchyard.transform.config.model.
TransformSwitchYardScanner</param> </scannerClassNames>
</configuration> </plugin> </plugins>
</build></project>
TEST-SETUP: testCreateSwitchYardProjectOperation
[ERROR] Timeout 1200 s exceeded. Process was killed.
[INFO] ------------------------------------------------------------
------------
[INFO] Reactor Summary:
[INFO]
[INFO] SwitchYard: Tools Parent ........................... SUCCESS [
45.797 s]
[INFO] SwitchYard: Eclipse Tools Parent ................... SUCCESS [
1.750 s]
[INFO] SwitchYard: Eclipse Tools Plugins .................. SUCCESS [
0.180 s]
[INFO] SwitchYard: SCA Core EMF Model Plugin .............. SUCCESS [
8.394 s]
[INFO] SwitchYard: SCA Core EMF.EDIT Model Plugin ......... SUCCESS [
0.326 s]
[INFO] SwitchYard: SCA 1.1 EMF Model Plugin ............... SUCCESS [
0.967 s]
[INFO] SwitchYard: SCA 1.1 EMF.EDIT Model Plugin .......... SUCCESS [
0.527 s]
[INFO] SwitchYard: SwitchYard EMF Model Plugin ............ SUCCESS [
3.092 s]
[INFO] SwitchYard: Eclipse Tools Plugin ................... SUCCESS [
0.198 s]
[INFO] SwitchYard: CXF Libraries Plugin ................... SUCCESS [01:39
min]
[INFO] SwitchYard: Eclipse XSD Catalog .................... SUCCESS [
27.506 s]
[INFO] SwitchYard: Eclipse M2E Extensions ................. SUCCESS [
1.912 s]
[INFO] SwitchYard: Eclipse Tools Core Plugin .............. SUCCESS [
17.256 s]
[INFO] SwitchYard: Eclipse Tools UI Plugin ................ SUCCESS [01:00
min]
[INFO] SwitchYard: Eclipse Tools Debug Support ............ SUCCESS [
3.745 s]
[INFO] SwitchYard: SwitchYard Configuration Editor Plugin . SUCCESS [
7.030 s]
[INFO] SwitchYard: Eclipse BPMN2 Editor Extensions ........ SUCCESS [
4.311 s]
[INFO] SwitchYard: BPEL Extensions ........................ SUCCESS [
4.105 s]
[INFO] SwitchYard: Eclipse Tools Test Plugins ............. SUCCESS [
0.162 s]
[INFO] SwitchYard: Eclipse M2E Extensions Plugin Tests .... SUCCESS [19:47
min]
[INFO] SwitchYard: Eclipse Tools UI Plugin Tests .......... FAILURE [21:08
min]
[INFO] Switchyard: Eclipse Tools Features ................. SKIPPED
[INFO] SwitchYard: Eclipse Tools Feature .................. SKIPPED
[INFO] SwitchYard: Eclipse SwitchYard BPEL Feature ........ SKIPPED
[INFO] SwitchYard: Eclipse SwitchYard BPMN2 Feature ....... SKIPPED
[INFO] SwitchYard: Eclipse Tools Update Site .............. SKIPPED
[INFO] ------------------------------------------------------------
------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------
------------
[INFO] Total time: 56:53 min
[INFO] Finished at: 2016-09-07T11:25:32-04:00
[INFO] Final Memory: 239M/751M
[INFO] ------------------------------------------------------------
------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.23.1:test
(default-test) on project org.switchyard.tools.ui.tests: An unexpected
error occured while launching the test runtime (return code 143). See log
for details. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/
MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :org.switchyard.tools.ui.tests
Build step 'Invoke top-level Maven targets' marked build as failure
Terminating xvnc.
$ vncserver -kill :43
Killing Xvnc process ID 11202
Archiving artifacts
Recording test results
_______________________________________________
jbosstools-fuse-dev mailing list
jbosstools-fuse-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-fuse-dev
--
Aurelien Pupier
Senior Software Engineer in JBoss Fuse Tooling team
@apupier