https://bugzilla.redhat.com/show_bug.cgi?id=1556974
Bug ID: 1556974 Summary: Aliases don't behave correctly for plugins Product: Fedora Version: rawhide Component: xmvn Assignee: mizdebsk@redhat.com Reporter: msimacek@redhat.com QA Contact: extras-qa@fedoraproject.org CC: java-sig-commits@lists.fedoraproject.org, mat.booth@redhat.com, mizdebsk@redhat.com, msimacek@redhat.com, msrb@redhat.com
Description of problem: Plugins used via an alias don't work correctly. For example: hawtjni recently renamed their maven-hawtjni-plugin to hawtjni-maven-plugin. I added an alias: %mvn_alias :hawtjni-maven-plugin :maven-hawtjni-plugin The plugin works fine when used via the primary name (hawtjni-maven-plugin), but doesn't work when used via the alias (maven-hawtjni-plugin). It resolves fine, but executes the plugin with incorrect configuration.
Version-Release number of selected component (if applicable): xmvn-minimal-3.0.0-13.fc28.noarch maven-lib-3.5.3-1.fc29.noarch
How reproducible: always
Steps to Reproduce: 1. Clone netty (commit a001671 = current master) and try to build it in f29 mock with -X passed to %mvn_build 2. Observe it fails 3. Add the following to %prep: sed -i s/hawtjni-maven-plugin/maven-hawtjni-plugin/g `find -name pom.xml` 4. Observe it succeeds and was executed with different config (now contains generatedNativeSourceDirectory key)
https://bugzilla.redhat.com/show_bug.cgi?id=1556974
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
https://bugzilla.redhat.com/show_bug.cgi?id=1556974
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Upstream, VerifiedUpstream
--- Comment #1 from Mikolaj Izdebski mizdebsk@redhat.com --- Fixed upstream: https://github.com/fedora-java/xmvn/commit/0168fb6 Integration test: https://github.com/fedora-java/xmvn/commit/68d0731
https://bugzilla.redhat.com/show_bug.cgi?id=1556974
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED Fixed In Version| |3.0.0-14
--- Comment #2 from Mikolaj Izdebski mizdebsk@redhat.com --- Fixed in xmvn-3.0.0-14
https://bugzilla.redhat.com/show_bug.cgi?id=1556974
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- xmvn-3.0.0-14.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-77d9bf36e5
https://bugzilla.redhat.com/show_bug.cgi?id=1556974
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- xmvn-3.0.0-14.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-77d9bf36e5
https://bugzilla.redhat.com/show_bug.cgi?id=1556974
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- xmvn-3.0.0-14.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1556974
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |RAWHIDE Last Closed| |2018-04-03 02:21:43
--- Comment #6 from Mikolaj Izdebski mizdebsk@redhat.com --- I believe that this bug is fixed in xmvn-3.0.0-14, which is available in Fedora Rawhide, so I am closing this bug now.
The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=1058974
https://bugzilla.redhat.com/show_bug.cgi?id=1556974
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |ON_QA Resolution|RAWHIDE |--- Keywords| |Reopened
https://bugzilla.redhat.com/show_bug.cgi?id=1556974
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|rawhide |28
https://bugzilla.redhat.com/show_bug.cgi?id=1556974
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |CURRENTRELEASE Last Closed|2018-04-03 02:21:43 |2018-04-03 02:31:48
--- Comment #7 from Mikolaj Izdebski mizdebsk@redhat.com --- I believe that this bug is fixed in xmvn-3.0.0-14, which is available in Fedora 28, so I am closing this bug now.
The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=1058977
java-sig-commits@lists.fedoraproject.org