nebula-plugins / gradle-extra-configurations-plugin

Gradle plugin introducing a provided dependency configuration and marking a dependency as optional.
Apache License 2.0
139 stars 18 forks source link

Published POM has runtime dependency on nebula-test and spock-core #9

Closed pniederw closed 10 years ago

pniederw commented 10 years ago

The generated POM for 1.12.1 and 1.12.2-SNAPSHOT defines a runtime dependency on nebula-test. As a result, nebula-test and spock-core-groovy-1.8 will end up on the consuming build's buildscript classpath, which will blow up immediately under Gradle 2.0/Groovy 2.3.

Not sure how nebula-test makes it into the POM as a runtime dependency. Workaround is to add an exclude for nebula-test.

rspieldenner commented 10 years ago

We have a bug in the publishing plugin I'm tracking down

On Aug 13, 2014, at 5:54 PM, Peter Niederwieser notifications@github.com wrote:

The published POM for 1.12.1 and 1.12.2-SNAPSHOT defines a runtime dependency on nebula-test. As a result, nebula-test and spock-core-groovy-1.8 will end up on the consuming build's buildscript classpath, which will blow up immediately under Gradle 2.0/Groovy 2.3.

Not sure how nebula-test makes it into the POM as a runtime dependency. Workaround is to add an exclude for nebula-test.

— Reply to this email directly or view it on GitHub.

bmuschko commented 10 years ago

@rspieldenner Is this still an issue?

rspieldenner commented 10 years ago

We stopped auto publishing test jars and so that removed the weird runtime dependency on spock.

On Tue, Sep 23, 2014 at 11:53 AM, Benjamin Muschko <notifications@github.com

wrote:

@rspieldenner https://github.com/rspieldenner Is this still an issue?

— Reply to this email directly or view it on GitHub https://github.com/nebula-plugins/gradle-extra-configurations-plugin/issues/9#issuecomment-56570713 .

bmuschko commented 10 years ago

@rspieldenner @pniederw The published POM of version 1.12.3 and 2.0.0 do not include a dependency on nebula-test anymore. Good to close this issue?

rspieldenner commented 10 years ago

I think so.

On Tue, Sep 23, 2014 at 12:10 PM, Benjamin Muschko <notifications@github.com

wrote:

@rspieldenner https://github.com/rspieldenner @pniederw https://github.com/pniederw The POM of version 1.12.3 and 2.0.0 do not include a dependency on nebula-test anymore. Good to close this issue?

— Reply to this email directly or view it on GitHub https://github.com/nebula-plugins/gradle-extra-configurations-plugin/issues/9#issuecomment-56573375 .

bmuschko commented 10 years ago

OK, I am going to close this issue for now. Please reopened if needed.