Just to add Dominico, in my RHEL linux environment which is also at maven 3
and java 8, i dont get such issues.

On Wed, 8 Apr 2020 at 16:00, Michael Pearce <[email protected]>
wrote:

> Hi Domenico
>
>
> Last release it failed somewhere else, but just took current master and
> re-checked it, seems its currently failing at this point on windows, this
> is doing just a normal build, not even the larger release build with all
> tests.
>
> Windows 10
>
> RedHat\java-1.8.0-openjdk-1.8.0.212-3
>
> Maven 3
>
> Best
> Mike
>
> [INFO] --- maven-remote-resources-plugin:1.5:process
> (process-resource-bundles) @ artemis-mqtt-protocol ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> artemis-mqtt-protocol ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
> artemis-mqtt-protocol ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (default) @
> artemis-mqtt-protocol ---
> [INFO]
> [INFO] --- apache-rat-plugin:0.12:check (default) @ artemis-mqtt-protocol
> ---
> [INFO] RAT will not execute since it is configured to be skipped via
> system property 'rat.skip'.
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources
> (default-testResources) @ artemis-mqtt-protocol ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
> artemis-mqtt-protocol ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @
> artemis-mqtt-protocol ---
> [INFO] Surefire report directory:
> C:\Users\Michael.Pearce\Git\activemq-artemis\artemis-protocols\artemis-mqtt-protocol\target\surefire-reports
> [WARNING] The system property basedir is configured twice! The property
> appears in <argLine/> and any of <systemPropertyVariables/>,
> <systemProperties/> or user property.
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running
> org.apache.activemq.artemis.core.protocol.mqtt.MQTTRetainMessageManagerTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009 sec
> <<< FAILURE! - in
> org.apache.activemq.artemis.core.protocol.mqtt.MQTTRetainMessageManagerTest
> initializationError(org.apache.activemq.artemis.core.protocol.mqtt.MQTTRetainMessageManagerTest)
>  Time elapsed: 0.008 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: LEmbeddedJMSResource;
> at java.lang.Class.getDeclaredFields0(Native Method)
> at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
> at java.lang.Class.getDeclaredFields(Class.java:1916)
> at org.junit.runners.model.TestClass.<init>(TestClass.java:49)
> at org.junit.runners.ParentRunner.<init>(ParentRunner.java:75)
> at
> org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:57)
> at
> org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
> at
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at
> org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
> at
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Caused by: java.lang.ClassNotFoundException: EmbeddedJMSResource
> at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at java.lang.Class.getDeclaredFields0(Native Method)
> at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
> at java.lang.Class.getDeclaredFields(Class.java:1916)
> at org.junit.runners.model.TestClass.<init>(TestClass.java:49)
> at org.junit.runners.ParentRunner.<init>(ParentRunner.java:75)
> at
> org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:57)
> at
> org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
> at
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at
> org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
> at
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> Results :
> Tests in error:
>   MQTTRetainMessageManagerTest.initializationError ยป NoClassDefFound
> LEmbeddedJM...
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [ERROR] There are test failures.
> Please refer to
> C:\Users\Michael.Pearce\Git\activemq-artemis\artemis-protocols\artemis-mqtt-protocol\target\surefire-reports
> for the individual test results.
> [INFO]
> [INFO] --- maven-bundle-plugin:3.0.0:bundle (default-bundle) @
> artemis-mqtt-protocol ---
> [ERROR] Bundle
> org.apache.activemq:artemis-mqtt-protocol:bundle:2.12.0-SNAPSHOT : The
> default package '.' is not permitted by the Import-Package syntax.
>  This can be caused by compile errors in Eclipse because Eclipse creates
> valid class files regardless of compile errors.
> The following package(s) import from the default package
> [org.apache.activemq.artemis.core.protocol.mqtt]
> [ERROR] Error(s) found in bundle configuration
>
>
>
>
> On Wed, 8 Apr 2020 at 12:04, brusdev <[email protected]> wrote:
>
>> Hi Micheal,
>>
>> I have successfully built the current master on Windows 10 with the
>> following environment:
>>
>> Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
>> 2018-06-17T20:33:14+02:00)
>> Maven home: C:\Program Files\apache-maven-3.5.4\bin\..
>> Java version: 1.8.0_231, vendor: Oracle Corporation, runtime: C:\Program
>> Files\Java\jdk1.8.0_231\jre
>> Default locale: en_US, platform encoding: Cp1252
>> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>>
>> <
>> http://activemq.2283324.n4.nabble.com/file/t379565/Screenshot-20200408130132-1106x966.png>
>>
>>
>> What is your environment?
>> What errors are you getting?
>>
>> Regards,
>> Domenico
>>
>>
>>
>> --
>> Sent from:
>> http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html
>>
>

Reply via email to