https://bugzilla.redhat.com/show_bug.cgi?id=1225808
--- Comment #1 from Mikolaj Izdebski <mizdebsk(a)redhat.com> ---
Packaging is build-time information and as such it is intentionally excluded
from effective POMs generated by XMvn, which are meant to be used for
dependency resolution, and nothing else - you shouldn't expect them to contain
build-time information such as packaging type.
Possible solutions to the problem:
- patch plugin to not rely on build-time information in POMs, for example:
* try to resolve HPI artifact (instead of POM), if it is found then assume
it's Jenkins plugin
* resolve JAR (instead of POM) and check if manifest contains
"Hudson-Version" or "Jenkins-Version" attribute
- force resolution of raw POM:
* set system property "xmvn.resolver.disableEffectivePom" to "true"
when
resolving POM (and then reset it to original value)
* add property "xmvn.resolver.disableEffectivePom" to every Jenkins plugin
packaged in Fedora
* add "-Dxmvn.resolver.disableEffectivePom=true" argument to xmvn (not
recommended)
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=AdhDCM8nYy&a=cc_unsubscribe