I have errors while building ActiveMQ-5.15.9 from sources from github.
I'm using maven 3.6.0
My WARNINGS and ERRORS (all mvn output in an attached file )
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model
for org.apache.activemq:activemq-osgi:bundle:5.15.9
[WARNING] 'dependencies.dependency.exclusions.exclusion.groupId' for
org.apache.activemq:activemq-web:jar is missing. @
org.apache.activemq:activemq-osgi:[unknown-version],
/home/nikolay/TMP/activemq-activemq-5.15.9
(1)/activemq-activemq-5.15.9/activemq-osgi/pom.xml, line 166, column 18
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING] 
........................................

[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @
activemq-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 712 source files to
/home/nikolay/TMP/activemq-activemq-5.15.9
(1)/activemq-activemq-5.15.9/activemq-client/target/classes
[WARNING] /home/nikolay/TMP/activemq-activemq-5.15.9
(1)/activemq-activemq-5.15.9/activemq-client/src/main/java/org/apache/activemq/transport/udp/UdpTransportServer.java:[35,46]
org.apache.activemq.transport.reliable.ReliableTransport in
org.apache.activemq.transport.reliable has been deprecated
[WARNING] /home/nikolay/TMP/activemq-activemq-5.15.9
(1)/activemq-activemq-5.15.9/activemq-client/src/main/java/org/apache/activemq/transport/udp/UdpTransportFactory.java:[35,46]
org.apache.activemq.transport.reliable.ReliableTransport in
org.apache.activemq.transport.reliable has been deprecated
[WARNING] /home/nikolay/TMP/activemq-activemq-5.15.9
(1)/activemq-activemq-5.15.9/activemq-client/src/main/java/org/apache/activemq/transport/multicast/MulticastTransportFactory.java:[25,41]
org.apache.activemq.transport.udp.UdpTransportFactory in
org.apache.activemq.transport.udp has been deprecated
[WARNING] /home/nikolay/TMP/activemq-activemq-5.15.9
(1)/activemq-activemq-5.15.9/activemq-client/src/main/java/org/apache/activemq/transport/reliable/ReplayStrategy.java:[38,30]
org.apache.activemq.transport.reliable.ReliableTransport in
org.apache.activemq.transport.reliable has been deprecated
[WARNING] /home/nikolay/TMP/activemq-activemq-5.15.9
(1)/activemq-activemq-5.15.9/activemq-client/src/main/java/org/apache/activemq/transport/reliable/ReplayStrategy.java:[40,27]
org.apache.activemq.transport.reliable.ReliableTransport in
org.apache.activemq.transport.reliable has been deprecated
[WARNING] /home/nikolay/TMP/activemq-activemq-5.15.9
(1)/activemq-activemq-5.15.9/activemq-client/src/main/java/org/apache/activemq/transport/reliable/ExceptionIfDroppedReplayStrategy.java:[38,37]
org.apache.activemq.transport.reliable.ReliableTransport in
org.apache.activemq.transport.reliable has been deprecated
[WARNING] /home/nikolay/TMP/activemq-activemq-5.15.9
(1)/activemq-activemq-5.15.9/activemq-client/src/main/java/org/apache/activemq/transport/reliable/ExceptionIfDroppedReplayStrategy.java:[49,34]
org.apache.activemq.transport.reliable.ReliableTransport in
org.apache.activemq.transport.reliable has been deprecated
[WARNING] /home/nikolay/TMP/activemq-activemq-5.15.9
(1)/activemq-activemq-5.15.9/activemq-client/src/main/java/org/apache/activemq/transport/reliable/DefaultReplayStrategy.java:[38,37]
org.apache.activemq.transport.reliable.ReliableTransport in
org.apache.activemq.transport.reliable has been deprecated
[WARNING] /home/nikolay/TMP/activemq-activemq-5.15.9
(1)/activemq-activemq-5.15.9/activemq-client/src/main/java/org/apache/activemq/transport/reliable/DefaultReplayStrategy.java:[53,34]
org.apache.activemq.transport.reliable.ReliableTransport in
org.apache.activemq.transport.reliable has been deprecated
[WARNING] /home/nikolay/TMP/activemq-activemq-5.15.9
(1)/activemq-activemq-5.15.9/activemq-client/src/main/java/org/apache/activemq/transport/multicast/MulticastTransportFactory.java:[33,48]
org.apache.activemq.transport.udp.UdpTransportFactory in
org.apache.activemq.transport.udp has been deprecated
........................................................................................................
[INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @
activemq-client ---
java.lang.ArrayIndexOutOfBoundsException: 18
        at aQute.lib.osgi.Clazz.parseClassFile(Clazz.java:448)
        at aQute.lib.osgi.Clazz.parseClassFile(Clazz.java:369)
        at aQute.lib.osgi.Clazz.parseClassFileWithCollector(Clazz.java:359)
        at aQute.lib.osgi.Clazz.parseClassFile(Clazz.java:349)
        at aQute.lib.osgi.Analyzer.analyzeJar(Analyzer.java:1725)
        at aQute.lib.osgi.Analyzer.analyzeBundleClasspath(Analyzer.java:1595)
        at aQute.lib.osgi.Analyzer.analyze(Analyzer.java:124)
        at aQute.lib.osgi.Builder.analyze(Builder.java:306)
        at aQute.lib.osgi.Analyzer.calcManifest(Analyzer.java:301)
        at aQute.lib.osgi.Builder.build(Builder.java:73)
        at
org.apache.felix.bundleplugin.BundlePlugin.buildOSGiBundle(BundlePlugin.java:547)
        at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:347)
        at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:264)
        at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:255)
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR] Bundle org.apache.activemq:activemq-client:bundle:5.15.9 :
Exception: 18
[ERROR] Bundle org.apache.activemq:activemq-client:bundle:5.15.9 : Invalid
class file: org/apache/activemq/filter/DestinationMap.class

AND MORE
please see attached file.
activeMQ-build-errors.txt
<http://activemq.2283324.n4.nabble.com/file/t379470/activeMQ-build-errors.txt>  




--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html

Reply via email to