Bug 1225698
| Summary: | BRMS Quickstarts has dependencies on parent pom.xml. | ||
|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Ryan Zhang <rzhang> |
| Component: | Quickstarts | Assignee: | Bill Rainford <brainfor> |
| Status: | CLOSED EOL | QA Contact: | Tomas David <tdavid> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2.0 | CC: | kverlaen |
| Target Milestone: | ER3 | Keywords: | Reopened |
| Target Release: | 6.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-27 20:06:27 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1227861 | ||
| Bug Blocks: | |||
|
Description
Ryan Zhang
2015-05-28 02:42:51 UTC
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 Thanks Petr for fixing! Verified on 6.2.0.ER3. |