Hi there,
This is working ...
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>2.30</version>
<relativePath />
</parent>
<jenkins.version>2.73.3</jenkins.version>
.............
In the project I maintain, there is an external dependency on a plugin that
uses org.apache.commons.lang3
When I try and switch to plugin version 2.31 or above, I get an enforcer
error.
When I research, it appears that I need to Exclude org.apache.commons
lang3 from the <dependency>
When I do this, enforcer passes, clean, compile all work but when the
hpi:run actually tries and runs the code (during my manual test session), I
get an exception that the class org.apache.commons.lang3.ArrayUtil cannot
be loaded. (sorrry.. the case me be off on ArrayUtil).
When I use 2.37 as the version plugin, I get the following (which seems to
imply that the test harness has a similar problem).
I have no control over the pom of the dependency.
Require upper bound dependencies error for
org.apache.commons:commons-lang3:3.1 paths to dependency are:
+-org.jenkins-ci.plugins:ironmq-notifier:1.0.19-SNAPSHOT
+-io.iron.ironmq:ironmq:3.0.4
+-org.apache.commons:commons-lang3:3.1
and
+-org.jenkins-ci.plugins:ironmq-notifier:1.0.19-SNAPSHOT
+-org.jenkins-ci.main:jenkins-test-harness:2.31
+-org.jenkins-ci.main:jenkins-test-harness-htmlunit:2.18-1
+-org.apache.commons:commons-lang3:3.4
Any ideas or a direction (or samples) to go to next?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/9c97b945-441a-4ae8-93bc-f2435fe7fd66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.