Łukasz Dywicki created KARAF-6997:
-------------------------------------
Summary: Regression in GenerateFeaturesMojo KARAF-5939 MNG-7072
Key: KARAF-6997
URL: https://issues.apache.org/jira/browse/KARAF-6997
Project: Karaf
Issue Type: Bug
Components: karaf
Affects Versions: 4.2.9
Reporter: Łukasz Dywicki
Refactoring in KARAF-5939 which was intended to support maven-install-plugin
3.0 M1 introduced an edge condition described in MNG-7072.
The primary build artifact should not use classifier. Not sure why but generate
features mojo assumes that *it is* making a primary artifact without chances to
specify attach flag (as it is for achive mojo).
The ultimate result is that releases which try to use generate features mojo +
maven gpg plugin fail to pass signature verification. While it can be
work-arounded with POM packaging (same way is used in Karaf to make spring
features). Still we should stick with Maven core principles to minimize
interferences in future releases of Maven.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)