Description of problem: This issue is copied from https://issues.jboss.org/browse/BPMSPL-167 Thanks Rafael Benevides for reporting this issue. "BRMS Quickstarts are now using parent pom.xml. This should be avoid because it causes errors when importing individual Quickstarts to JBDS (cc Max Rydahl Andersen ). This commit: https://github.com/jboss-developer/jboss-brms-quickstarts/commit/2108562ebcccc6c66dc24f7a45a464372e19753a should be reverted. " Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
A little bit more investigation: The error shown is "Plugin execution not covered by lifecycle configuration: org.commonjava.maven.plugins:project-sources- maven-plugin:0.3:archive (execution: project-sources-archive, phase: initialize)" It's is showing at the line for <parent /> definition which made me think that JBDS was not resolving the parent pom.xml dependencies. The fact is: - The error is not related to parent pom.xml dependency. - Anyway parent pom.xml dependency should be avoided in quickstarts (as it can be imported individually) Thanks.
(In reply to Rafael Benevides from comment #1) > A little bit more investigation: > > The error shown is "Plugin execution not covered by lifecycle configuration: > org.commonjava.maven.plugins:project-sources- > maven-plugin:0.3:archive (execution: project-sources-archive, phase: > initialize)" > > It's is showing at the line for <parent /> definition which made me think > that JBDS was not resolving the parent pom.xml dependencies. > > The fact is: > > - The error is not related to parent pom.xml dependency. > - Anyway parent pom.xml dependency should be avoided in quickstarts (as it > can be imported individually) > > > Thanks. Hi, Rafael Thanks for your investigation! I am re-thinking on this issue. To revert the parent pom.xml dependency will cause certain code duplication. It 's error prone to maintain those properties. Could you let me know which usercase it would cause problem when imported individually. I thought that the parent pom should be available though maven repository, right?
Hi Ryan. In the beginning, the EAP Quickstarts used to have all properties in the parent pom.xml, but we had issues when importing individually the quickstarts. It seems that this issue doesn't happen anymore today with JBDS. I don't see any issue/bug if we can build it individually. We can change the focus of this bugzilla to investigate the "Plugin execution not covered by lifecycle configuration" by JBDS.
(In reply to Rafael Benevides from comment #3) > Hi Ryan. > > In the beginning, the EAP Quickstarts used to have all properties in the > parent pom.xml, but we had issues when importing individually the > quickstarts. It seems that this issue doesn't happen anymore today with JBDS. > > I don't see any issue/bug if we can build it individually. We can change the > focus of this bugzilla to investigate the "Plugin execution not covered by > lifecycle configuration" by JBDS. OK, I see. Is it worth to create one bugzilla for JBDS for investigating the "Plugin execution not covered by lifecycle configuration"? If so, could you please raise a new one? Then I can close this one.
Sounds good. I opened https://bugzilla.redhat.com/show_bug.cgi?id=1227861 and I'll also start a discussion on jboss-developer list about non supported plugins in JBDS, ok ? Thanks for the support.
Great, Thanks!
Reopen this since it turn out that it is a problem in quickstarts. Rafael, Thanks for the investigation.
See JDF guidelines where it says that the quickstarts should not have parent POM: https://github.com/jboss-developer/jboss-developer-shared-resources/blob/master/guides/CONTRIBUTING.md
PR created: https://github.com/jboss-developer/jboss-brms-quickstarts/pull/19
Thanks Petr for fixing!
Verified on 6.2.0.ER3.