Skip to content

Gradle plugin doesn't package org.apache.activemq.protobuf:activemq-protobuf:1.1 #489

@wilkinsona

Description

@wilkinsona

This question on Stack Overflow appears to be a bug. The problem can be reproduced with this build.gradle:

buildscript {
    repositories {
        maven { url "http://repo.spring.io/libs-snapshot" }
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:1.0.0.RC4")
    }
}

apply plugin: 'java'
apply plugin: 'spring-boot'

repositories {
    mavenCentral()
}

dependencies {
    compile('org.apache.activemq:activemq-client:5.9.0')
    compile('org.apache.activemq:activemq-broker:5.9.0')
    compile('org.apache.activemq:activemq-kahadb-store:5.9.0')
    compile('org.apache.activemq.protobuf:activemq-protobuf:1.1')
}

task wrapper(type: Wrapper) {
    gradleVersion = '1.11'
}

As reported on SO, the activemq-protobuf dependency is missing:

./gradlew clean build && unzip -l build/libs/gradle-test.jar | grep activemq
:clean
:compileJava
:processResources UP-TO-DATE
:classes
:jar
:bootRepackage
:assemble
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build

BUILD SUCCESSFUL

Total time: 6.418 secs
  1165912  03-13-14 17:13   lib/activemq-client-5.9.0.jar
  1002495  03-13-14 17:13   lib/activemq-broker-5.9.0.jar
   539427  03-13-14 17:13   lib/activemq-kahadb-store-5.9.0.jar
   685801  03-13-14 17:13   lib/activemq-openwire-legacy-5.9.0.jar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions