Bug 1227861

Summary: Plugin execution not covered in JBDS by BRMS Quickstart
Product: [Retired] JBoss BRMS Platform 6 Reporter: Rafael Benevides <benevides>
Component: QuickstartsAssignee: Ryan Zhang <rzhang>
Status: CLOSED EOL QA Contact: Tomas David <tdavid>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 6.1.0CC: kverlaen, max.andersen
Target Milestone: ER4   
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 19:07:26 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:    
Bug Blocks: 1225698    
Attachments:
Description Flags
Plugin execution not covered in JBDS by BRMS Quickstart none

Description Rafael Benevides 2015-06-03 16:28:18 UTC
Description of problem:

When I import the quickstarts to JBDS, it shows the following message:

"Plugin execution not covered by lifecycle configuration: org.commonjava.maven.plugins:project-sources-maven-plugin:0.3:archive (execution: project-sources-archive, phase: initialize)"

Since there's no m2e connectors for it, It forces me to disable the plugin to have the quickstarts working inside JBDS



How reproducible: jboss-brms-bpmsuite-quickstarts quickstarts to JBDS


Steps to Reproduce:
1. Inside JBDS, Open brms-helloworld-brms
2. Realize that there's an error on the <parent> (line 21)
3. Place your mouse over to read the error message.

Actual results:
Error message: Plugin execution not covered by lifecycle configuration: org.commonjava.maven.plugins:project-sources-
 maven-plugin:0.3:archive (execution: project-sources-archive, phase: initialize)

Expected results:
No error messages about this plugin.

Additional info:
To have it build fine, it may also need to enable brms and enable-test profiles clicking on Maven->Select Maven Profiles, but that's somehow expected.

Comment 2 Ryan Zhang 2015-06-04 04:07:46 UTC
This seems to me likely a bug in JBDS instead of BRMS quickstarts.
should the "product" to be Jboss Developer Studio?

Comment 3 Rafael Benevides 2015-06-04 12:58:59 UTC
I'll send this question to jbossdeveloper list

Comment 4 Max Rydahl Andersen 2015-06-04 15:21:13 UTC
Just to be clear - did the build really fail ? was it not just marking this plugin as not covered ?

Comment 5 Rafael Benevides 2015-06-04 16:56:05 UTC
I tried it and it doesn't really fail. I thought it did because of of the import error.

I attached the screenshot that shows the test execution complete and the import error marker.

Comment 6 Rafael Benevides 2015-06-04 16:58:09 UTC
Created attachment 1034791 [details]
Plugin execution not covered in JBDS by BRMS Quickstart

Comment 7 Max Rydahl Andersen 2015-06-04 22:00:25 UTC
okey so to answer what recommendation is then it is (assuming this plugin is actually needed) is to mark in the pom.xml the execution should be ignored if it is not relevant for the general development.

But this error does raise to me a few questions:

a) why are they using something like version 0.3 for this plugin - that is ancient afaics.

b) why is this plugin used in any quickstart ? what is the value of this plugin to quickstart user ?

c) looks like it is coming from some overall product parent pom -  I thought quickstarts were not supposed to have such parents ?

Comment 8 Ryan Zhang 2015-06-05 10:50:54 UTC
The reason it was added is that we use it to produce a source package which contains the real product version changes applied by Pom-Manipulator-Ext. It work with PME and has been applied to all project source we shipped to customer.
I agree that the plugin is irrelevant to customer usage on quickstarts and we can provide the correct source based on  assembly instead of relying on the project-source-plugin. So we decided we can drop it from quickstarts.
(In reply to Max Rydahl Andersen from comment #7)
> okey so to answer what recommendation is then it is (assuming this plugin is
> actually needed) is to mark in the pom.xml the execution should be ignored
> if it is not relevant for the general development.
> 
> But this error does raise to me a few questions:
> 
> a) why are they using something like version 0.3 for this plugin - that is
> ancient afaics.
> 
> b) why is this plugin used in any quickstart ? what is the value of this
> plugin to quickstart user ?
> 
> c) looks like it is coming from some overall product parent pom -  I thought
> quickstarts were not supposed to have such parents ?
There are many properties sharing between quickstarts which is defined in quickstarts-parent. 
individual quickstarts should be able to build or import as long as it can assess a online or offiline maven repository .

Comment 9 Ryan Zhang 2015-10-13 11:28:32 UTC
I have modifed our tooling to allow removal of the proejct source plugin in quickstarts.

Comment 10 Tomas David 2015-10-16 08:20:13 UTC
Verified on BRMS 6.2.0.ER4.