3 Replies Latest reply on May 27, 2014 10:26 AM by jbertram

    How does one, via git/maven, build specific hornetq library versions (e.g. hornetq-server-2.3.12.Final.jar)?

    toddler

      How I find out what "version" of hornetq maps to specific library versions (so I know what to "git checkout 'X'") when I build hornetq via maven?

       

      I'm learning hornetq/maven/git etc, and I would like to download/build hornetq so a specific version of the hornetq jar files get created, e.g:

      hornetq-jms-client-2.3.12.Final.jar

      hornetq-jms-server-2.3.12.Final.jar

      hornetq-server-2.3.12.Final.jar

       

       

      What fails:

      git clone https://github.com/hornetq/hornetq.git

      cd hornetq/

      git describe

      HornetQ_2_4_1_Final-136-gf7ef2a2

      git checkout 2.3.12.Final

      error: pathspec '2.3.12.Final' did not match any file(s) known to git.

       

      ==

      I've been able to perform the above "git checkout X" on other github: clones, but that was only when a single jar file was being created....e,gL

       

      git clone https://github.com/jbossas/remoting-jmx.git

      cd remoting-jmx

      git describe

      git checkout 1.1.2.Final

      git describe

      mvm package

       

       

      For hornetq, many jar files get created create on a build and a different naming technique must be used between the "tag" and the jar "versions" [not sure the git tag/branch/etc. terminology...

       

      ==

      I am able to clone the master hornetq and build it OK.

      ====

      git clone https://github.com/hornetq/hornetq.git

      cd hornetq/

      git describe

      HornetQ_2_4_1_Final-136-gf7ef2a2

      mvn install

      ...

      all ok

      ...

      [INFO] BUILD SUCCESS

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 07:15 min

      [INFO] Finished at: 2014-05-21T17:06:32-05:00

      [INFO] Final Memory: 102M/2087M

      ===

        • 1. Re: How does one, via git/maven, build specific hornetq library versions (e.g. hornetq-server-2.3.12.Final.jar)?
          jbertram

          It's common for different projects to have different naming conventions for their tags.  If you want to see all the available tags (which are created for a release) then simply execute:

           

          git tag
          

           

          Then find the tag that corresponds to the version you want (e.g. "HornetQ_2_3_12_Final") and then check it out.

           

          To build a release execute this:

           

          mvn -Prelease install
          
          • 2. Re: How does one, via git/maven, build specific hornetq library versions (e.g. hornetq-server-2.3.12.Final.jar)?
            toddler

            Justin ...thanks for the "git tag" tip...

             

            I can checkout the tag I want now, and perform a "mvn install" (and a few others), but when I tried your suggested

            mvn -Prelease install

             

            I get:

             

            [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar (javadocs) on project

            hornetq-journal: Execution javadocs of goal org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar failed: A

            required class was missing while executing org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar: org/apache/commons/httpclient/HttpConnectionManager

             

            I then used:

            mvn -Prelease -X -DskipTests=true install

             

             

            I observe:

            Caused by: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpConnectionManager

                at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.buildJavadocOptions(AbstractJavadocMojo.java:5792)

                at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1863)

                at org.apache.maven.plugin.javadoc.JavadocJar.execute(JavadocJar.java:179)

                at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)

                ... 20 more

            Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.HttpConnectionManager

                at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)

                ... 24 more

             

            I checked my repository and I do not have a directory "org/apache/commons/httpclient"

             

            ls -1 ~/.m2/repository/org/apache/commons/

            commons-exec

            commons-lang3

            commons-parent

             

            Do you have any suggestions on how I can fix this?

            I'm using mvn version 3.2.1 (also tried 3.1.1 and 3.0.5) - same issue...

             

            I ran into some "transitive dependencies" issues ....only solution I found was to delete the directories out

            of my repository ...when built, jars were downloaded again and this problem went away (don't know the correct way to solve these...)..

             

             

            Log details for what failed is below...

             

            [INFO] ---  ---

            [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2, ConflictMarker.markTime=1, ConflictMarker.nodeCount=256, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=53, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=8, ConflictResolver.conflictItemCount=132, DefaultDependencyCollector.collectTime=657, DefaultDependencyCollector.transformTime=12}

            [DEBUG] org.apache.maven.plugins:maven-javadoc-plugin:jar:2.8.1:

            [DEBUG]    org.apache.maven:maven-core:jar:2.0.9:compile

            [DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.9:compile

            [DEBUG]       org.apache.maven:maven-profile:jar:2.0.9:compile

            [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.9:compile

            [DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.0.9:compile

            [DEBUG]       commons-cli:commons-cli:jar:1.0:compile

            [DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.0.9:compile

            [DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile

            [DEBUG]       org.apache.maven:maven-monitor:jar:2.0.9:compile

            [DEBUG]       classworlds:classworlds:jar:1.1:compile

            [DEBUG]    org.apache.maven:maven-project:jar:2.0.9:compile

            [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.9:compile

            [DEBUG]    org.apache.maven:maven-model:jar:2.0.9:compile

            [DEBUG]    org.apache.maven:maven-settings:jar:2.0.9:compile

            [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.9:compile

            [DEBUG]    org.apache.maven:maven-artifact:jar:2.0.9:compile

            [DEBUG]    org.apache.maven:maven-artifact-manager:jar:2.0.9:compile

            [DEBUG]    org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile

            [DEBUG]    org.apache.maven:maven-archiver:jar:2.3:compile

            [DEBUG]    org.apache.maven.shared:maven-invoker:jar:2.0.9:compile

            [DEBUG]    org.apache.maven.shared:maven-common-artifact-filters:jar:1.3:compile

            [DEBUG]    org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile

            [DEBUG]    org.apache.maven.doxia:doxia-site-renderer:jar:1.0:compile

            [DEBUG]       org.apache.maven.doxia:doxia-core:jar:1.0:compile

            [DEBUG]       org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile

            [DEBUG]       org.codehaus.plexus:plexus-velocity:jar:1.1.7:compile

            [DEBUG]       org.apache.velocity:velocity:jar:1.5:compile

            [DEBUG]          oro:oro:jar:2.0.8:compile

            [DEBUG]       org.apache.maven.doxia:doxia-decoration-model:jar:1.0:compile

            [DEBUG]       commons-collections:commons-collections:jar:3.2:compile

            [DEBUG]       org.apache.maven.doxia:doxia-module-apt:jar:1.0:compile

            [DEBUG]       org.apache.maven.doxia:doxia-module-fml:jar:1.0:compile

            [DEBUG]       org.apache.maven.doxia:doxia-module-xdoc:jar:1.0:compile

            [DEBUG]       org.apache.maven.doxia:doxia-module-xhtml:jar:1.0:compile

            [DEBUG]    org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile

            [DEBUG]    commons-lang:commons-lang:jar:2.4:compile

            [DEBUG]    commons-httpclient:commons-httpclient:jar:3.1:compile

            [DEBUG]       commons-codec:commons-codec:jar:1.2:compile

            [DEBUG]    commons-logging:commons-logging:jar:1.1.1:compile

            [DEBUG]    log4j:log4j:jar:1.2.14:compile

            [DEBUG]    com.thoughtworks.qdox:qdox:jar:1.12:compile

            [DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile

            [DEBUG]       junit:junit:jar:3.8.1:compile

            [DEBUG]    org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9:compile

            [DEBUG]       org.codehaus.plexus:plexus-io:jar:1.0-alpha-1:compile

            [DEBUG]    org.apache.maven:maven-toolchain:jar:1.0:compile

            [DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.8:compile

            [DEBUG]    org.mockito:mockito-core:jar:1.8.5:compile

            [DEBUG]       org.hamcrest:hamcrest-core:jar:1.1:compile

            [DEBUG]       org.objenesis:objenesis:jar:1.0:compile

            [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-javadoc-plugin:2.8.1

            [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-javadoc-plugin:2.8.1

            [DEBUG]   Imported:  < maven.api

            [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-javadoc-plugin:2.8.1

            [DEBUG]   Included: org.apache.maven.plugins:maven-javadoc-plugin:jar:2.8.1

            [DEBUG]   Included: commons-cli:commons-cli:jar:1.0

            [DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4

            [DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0

            [DEBUG]   Included: org.apache.maven:maven-archiver:jar:2.3

            [DEBUG]   Included: org.apache.maven.shared:maven-invoker:jar:2.0.9

            [DEBUG]   Included: org.apache.maven.shared:maven-common-artifact-filters:jar:1.3

            [DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0

            [DEBUG]   Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.0

            [DEBUG]   Included: org.apache.maven.doxia:doxia-core:jar:1.0

            [DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7

            [DEBUG]   Included: org.codehaus.plexus:plexus-velocity:jar:1.1.7

            [DEBUG]   Included: org.apache.velocity:velocity:jar:1.5

            [DEBUG]   Included: oro:oro:jar:2.0.8

            [DEBUG]   Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.0

            [DEBUG]   Included: commons-collections:commons-collections:jar:3.2

            [DEBUG]   Included: org.apache.maven.doxia:doxia-module-apt:jar:1.0

            [DEBUG]   Included: org.apache.maven.doxia:doxia-module-fml:jar:1.0

            [DEBUG]   Included: org.apache.maven.doxia:doxia-module-xdoc:jar:1.0

            [DEBUG]   Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.0

            [DEBUG]   Included: commons-lang:commons-lang:jar:2.4

            [DEBUG]   Included: commons-httpclient:commons-httpclient:jar:3.1

            [DEBUG]   Included: commons-codec:commons-codec:jar:1.2

            [DEBUG]   Included: commons-logging:commons-logging:jar:1.1.1

            [DEBUG]   Included: log4j:log4j:jar:1.2.14

            [DEBUG]   Included: com.thoughtworks.qdox:qdox:jar:1.12

            [DEBUG]   Included: junit:junit:jar:3.8.1

            [DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9

            [DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:1.0-alpha-1

            [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.8

            [DEBUG]   Included: org.mockito:mockito-core:jar:1.8.5

            [DEBUG]   Included: org.hamcrest:hamcrest-core:jar:1.1

            [DEBUG]   Included: org.objenesis:objenesis:jar:1.0

            [DEBUG]   Excluded: org.apache.maven:maven-core:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven:maven-monitor:jar:2.0.9

            [DEBUG]   Excluded: classworlds:classworlds:jar:1.1

            [DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.9

            [DEBUG]   Excluded: org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6

            [DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9

            [DEBUG]   Excluded: org.apache.maven:maven-toolchain:jar:1.0

            [DEBUG] Configuring mojo org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-javadoc-plugin:2.8.1, parent: sun.misc.Launcher$AppClassLoader@713c817]

            [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar' with basic configurator -->

            [DEBUG]   (f) aggregate = true

            [DEBUG]   (f) attach = true

            [DEBUG]   (f) author = true

            [DEBUG]   (f) bootclasspathArtifacts = []

            [DEBUG]   (f) bottom = Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.

            [DEBUG]   (f) breakiterator = false

            [DEBUG]   (f) debug = false

            [DEBUG]   (f) defaultManifestFile = /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-journal/target/classes/META-INF/MANIFEST.MF

            [DEBUG]   (f) detectJavaApiLink = true

            [DEBUG]   (f) detectLinks = false

            [DEBUG]   (f) detectOfflineLinks = true

            [DEBUG]   (f) docencoding = UTF-8

            [DEBUG]   (f) docfilessubdirs = false

            [DEBUG]   (f) doclet = org.jboss.apiviz.APIviz

            [DEBUG]   (s) groupId = org.jboss.apiviz

            [DEBUG]   (s) artifactId = apiviz

            [DEBUG]   (s) version = 1.3.1.GA

            [DEBUG]   (f) docletArtifact = groupId = 'org.jboss.apiviz'

            artifactId = 'apiviz'

            version = '1.3.1.GA'

            [DEBUG]   (f) docletArtifacts = []

            [DEBUG]   (f) doctitle = HornetQ Journal 2.3.12.Final API

            [DEBUG]   (f) encoding = UTF-8

            [DEBUG]   (f) excludePackageNames = org.hornetq.core:org.hornetq.utils

            [DEBUG]   (f) failOnError = true

            [DEBUG]   (f) finalName = hornetq-journal-2.3.12.Final

            [DEBUG]   (f) groups = []

            [DEBUG]   (f) includeDependencySources = false

            [DEBUG]   (f) includeTransitiveDependencySources = false

            [DEBUG]   (f) isOffline = false

            [DEBUG]   (f) jarOutputDirectory = /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-journal/target

            [DEBUG]   (f) javaApiLinks = {}

            [DEBUG]   (f) javadocDirectory = /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-journal/src/main/javadoc

            [DEBUG]   (f) javadocOptionsDir = /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-journal/target/javadoc-bundle-options

            [DEBUG]   (f) keywords = false

            [DEBUG]   (f) links = []

            [DEBUG]   (f) linksource = false

            [DEBUG]   (f) localRepository =        id: local

                  url: file:///users/tsandor/.m2/repository/

               layout: default

            snapshots: [enabled => true, update => always]

            releases: [enabled => true, update => always]

             

            [DEBUG]   (f) maxmemory = 512m

            [DEBUG]   (f) minmemory = 128m

            [DEBUG]   (f) nocomment = false

            [DEBUG]   (f) nodeprecated = false

            [DEBUG]   (f) nodeprecatedlist = false

            [DEBUG]   (f) nohelp = false

            [DEBUG]   (f) noindex = false

            [DEBUG]   (f) nonavbar = false

            [DEBUG]   (f) nooverview = false

            [DEBUG]   (f) nosince = false

            [DEBUG]   (f) notimestamp = false

            [DEBUG]   (f) notree = false

            [DEBUG]   (f) offlineLinks = []

            [DEBUG]   (f) old = false

            [DEBUG]   (f) outputDirectory = /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-journal/target/apidocs

            [DEBUG]   (f) overview = /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-journal/src/main/javadoc/overview.html

            [DEBUG]   (f) project = MavenProject: org.hornetq:hornetq-journal:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-journal/pom.xml

            [DEBUG]   (f) quiet = false

            [DEBUG]   (f) reactorProjects = [MavenProject: org.hornetq:hornetq-pom:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/pom.xml, MavenProject: org.hornetq:hornetq-bootstrap:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-bootstrap/pom.xml, MavenProject: org.hornetq:hornetq-commons:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-commons/pom.xml, MavenProject: org.hornetq:hornetq-journal:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-journal/pom.xml, MavenProject: org.hornetq:hornetq-core-client:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-core-client/pom.xml, MavenProject: org.hornetq:hornetq-server:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-server/pom.xml, MavenProject: org.hornetq:hornetq-jms-client:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-jms-client/pom.xml, MavenProject: org.hornetq:hornetq-jms-server:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-jms-server/pom.xml, MavenProject: org.hornetq:hornetq-ra:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-ra/pom.xml, MavenProject: org.hornetq.rest:hornetq-rest:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-rest/pom.xml, MavenProject: org.hornetq:hornetq-jboss-as-integration:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/integration/hornetq-jboss-as-integration/pom.xml, MavenProject: org.hornetq:hornetq-service-sar:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-service-sar/pom.xml, MavenProject: org.hornetq:hornetq-native:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-native/pom.xml, MavenProject: org.hornetq:hornetq-spring-integration:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/integration/hornetq-spring-integration/pom.xml, MavenProject: org.hornetq:hornetq-twitter-integration:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/integration/hornetq-twitter-integration/pom.xml, MavenProject: org.hornetq.examples:hornetq-examples:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/examples/pom.xml, MavenProject: org.hornetq.examples.core:core-examples:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/examples/core/pom.xml, MavenProject: org.hornetq.examples.jms:jms-examples:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/examples/jms/pom.xml, MavenProject: org.hornetq.examples.jms:hornetq-jms-examples-common:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/examples/jms/hornetq-jms-examples-common/pom.xml, MavenProject: org.hornetq.docs:hornetq-docs:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/docs/pom.xml, MavenProject: org.hornetq.docs:user-manual:1.0 @ /home/builds/jbossEAP6src/hornetq/hornetq/docs/user-manual/pom.xml, MavenProject: org.hornetq.docs:quickstart-guide:1.0 @ /home/builds/jbossEAP6src/hornetq/hornetq/docs/quickstart-guide/pom.xml, MavenProject: org.hornetq:hornetq-distribution:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/distribution/pom.xml, MavenProject: org.hornetq:jnp-client:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/distribution/jnp-client/pom.xml, MavenProject: org.hornetq:jboss-mc:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/distribution/jboss-mc/pom.xml, MavenProject: org.hornetq:hornetq:2.3.12.Final @ /home/builds/jbossEAP6src/hornetq/hornetq/distribution/hornetq/pom.xml]

            [DEBUG]   (f) remoteRepositories = [       id: jboss.release

                  url: https://repository.jboss.org/nexus/content/groups/public/

               layout: default

            snapshots: [enabled => false, update => never]

            releases: [enabled => true, update => interval:10080]

            ,        id: central

                  url: http://repo.maven.apache.org/maven2

               layout: default

            snapshots: [enabled => false, update => daily]

            releases: [enabled => true, update => daily]

            ]

            [DEBUG]   (f) resourcesArtifacts = []

            [DEBUG]   (f) serialwarn = false

            [DEBUG]   (f) session = org.apache.maven.execution.MavenSession@58bce76

            [DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@2860d9c

            [DEBUG]   (f) show = protected

            [DEBUG]   (f) skip = false

            [DEBUG]   (f) sourceDependencyCacheDir = /home/builds/jbossEAP6src/hornetq/hornetq/hornetq-journal/target/distro-javadoc-sources

            [DEBUG]   (f) splitindex = false

            [DEBUG]   (f) stylesheet = java

            [DEBUG]   (f) tagletArtifact = groupId = 'null'

            artifactId = 'null'

            version = 'null'

            [DEBUG]   (f) tagletArtifacts = []

            [DEBUG]   (f) taglets = []

            [DEBUG]   (f) tags = []

            [DEBUG]   (f) use = true

            [DEBUG]   (f) useDefaultManifestFile = false

            [DEBUG]   (f) useStandardDocletOptions = true

            [DEBUG]   (f) validateLinks = false

            [DEBUG]   (f) verbose = false

            [DEBUG]    (f) version = true

            [DEBUG]   (f) windowtitle = HornetQ Journal 2.3.12.Final API

            [DEBUG] -- end configuration --

            [INFO] ------------------------------------------------------------------------

            [INFO] Reactor Summary:

            [INFO]

            [INFO] HornetQ Parent ............................ ........ SUCCESS [  1.017 s]

            [INFO] HornetQ Bootstrap ................................. SUCCESS [  3.100 s]

            [INFO] HornetQ Commons ................................... SUCCESS [  1.378 s]

            [INFO] HornetQ Journal ................................... FAILURE [  1.557 s]

            [INFO] HornetQ Core Client ............................... SKIPPED

            [INFO] HornetQ Server .................................... SKIPPED

            [INFO] HornetQ JMS Client ................................ SKIPPED

            [INFO] HornetQ JMS Server ................................ SKIPPED

            [INFO] HornetQ RAR POM ................................... SKIPPED

            [INFO] HornetQ REST Interface Implementation ............. SKIPPED

            [INFO] HornetQ JBoss AS Integration ...................... SKIPPED

            [INFO] HornetQ JBoss AS4 Integration ..................... SKIPPED

            [INFO] HornetQ Native POM ................................ SKIPPED

            [INFO] HornetQ Spring Integration ........................ SKIPPED

            [INFO] HornetQ Twitter Integration ....................... SKIPPED

            [INFO] HornetQ Examples .................................. SKIPPED

            [INFO] HornetQ Core Examples ............................. SKIPPED

            [INFO] HornetQ JMS Examples .............................. SKIPPED

            [INFO] HornetQ Examples common ........................... SKIPPED

            [INFO] HornetQ Documentation ............................. SKIPPED

            [INFO] user-manual ....................................... SKIPPED

            [INFO] quickstart-guide .................................. SKIPPED

            [INFO] HornetQ Distribution .............................. SKIPPED

            [INFO] JBoss jnp client jar .............................. SKIPPED

            [INFO] JBoss Microcontainer jar .......................... SKIPPED

            [INFO] Actual HornetQ Distribution ....................... SKIPPED

            [INFO] ------------------------------------------------------------------------

            [INFO] BUILD FAILURE

            [INFO] ------------------------------------------------------------------------

            [INFO] Total time: 10.935 s

            [INFO] Finished at: 2014-05-22T09:58:36-05:00

            [INFO] Final Memory: 25M/360M

            [INFO] ------------------------------------------------------------------------

            [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar (javadocs) on project hornetq-journal: Execution javadocs of goal org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar failed: A required class was missing while executing org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar: org/apache/commons/httpclient/HttpConnectionManager

            [ERROR]  -----------------------------------------------------

             

             

            Caused by: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpConnectionManager

                at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.buildJavadocOptions(AbstractJavadocMojo.java:5792)

                at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1863)

                at org.apache.maven.plugin.javadoc.JavadocJar.execute(JavadocJar.java:179)

                at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)

                ... 20 more

            Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.HttpConnectionManager

                at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)

                at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)

                ... 24 more

             

             

            Cheers

            • 3. Re: How does one, via git/maven, build specific hornetq library versions (e.g. hornetq-server-2.3.12.Final.jar)?
              jbertram

              I'm not sure what's wrong on your system.  As a sanity check I did the following:

               

               

              The build completed successfully.