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)
Fixed upstream: https://github.com/fedora-java/xmvn/commit/0168fb6 Integration test: https://github.com/fedora-java/xmvn/commit/68d0731
Fixed in xmvn-3.0.0-14
xmvn-3.0.0-14.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-77d9bf36e5
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
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.
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
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