I need to start build/testing extensions soon. Reason is to mix in additional features supported by the WildFly/JBoss Camel subsystem (and others). Additionally wanting to better take advantage of LDAP and WildFly’s new embedded ActiveMQ-Artemis (to name a few).
Also interested in the regression tests included with your build - maybe adding a few of my own.
So the question: looks like the 7.6.0-alpha3 build options/settings are a little out-of-date. I know they’re in there somewhere - but, need some help in pointing out their required values and application (where they’re used in the maven hierarchy).
Here’s my maven version:
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T11:29:23-06:00)
Maven home: /opt/maven
Java version: 1.8.0_101, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.101-3.b13.el7_2.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: “linux”, version: “3.10.0-327.13.1.el7.x86_64”, arch: “amd64”, family: “unix”
This doesn’t build:
mvn clean install -Pengine-integration,wildfly,h2
Reasonable and very good error:
[ERROR] The project org.camunda.bpm.qa:camunda-qa-wildfly-runtime:7.6.0-alpha3 (/proj/camunda/camunda-bpm-platform-7.6.0-alpha3/qa/wildfly-runtime/pom
[ERROR] ‘dependencies.dependency.artifactId’ for org.camunda.bpm.wildfly:camunda-${server}-assembly:pom with value ‘camunda-${server}-assembly’ doespm.qa:camunda-qa-wildfly-runtime:[unknown-version], /proj/camunda/camunda-bpm-platform-7.6.0-alpha3/qa/wildfly-runtime/pom.xml, line 207, column 23
So, adjusted options:
mvn clean install -Pengine-integration,wildfly10,h2
And, (with “skiptests”) this starts the build. But, noticed a general download of all platforms… including Glassfish, etc… Realized something must be wrong with my options.
Getting back to tests… wasn’t able to get past this error:
First: your documents state a requirement for Java JDK 6 or 7. Shouldn’t we be using JDK 1.8? (assumed this is out-of-date). But, I get the following error with both JDK 7 and 8.
The test failure:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project camunda-qa-integration-tests-engine: Compilation failure: Compilation failure:
[ERROR] /proj/camunda/camunda-bpm-platform-7.6.0-alpha3/qa/integration-tests-engine/src/test/java/org/camunda/bpm/integrationtest/functional/ejb/request/JobExecutorRequestContextLocalInvocationTest.java:[14,44] cannot find symbol
Given that your build reports “passing” on github, I’m assuming either the error is mine and/or I’m missing a required artifact. For example, the new wildfly-camel build requires a WildFly platform be available and alongside the build’s directory… easily fixed (and also noticed a general migration towards wildfly-10.1.0.CR1.
So, either what am I missing or where is the best place to look for general build requirements and/or assumptions?
- Thanks.