Bug 1227861 - Plugin execution not covered in JBDS by BRMS Quickstart
Summary: Plugin execution not covered in JBDS by BRMS Quickstart
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Quickstarts
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ER4
: 6.2.0
Assignee: Ryan Zhang
QA Contact: Tomas David
URL:
Whiteboard:
Depends On:
Blocks: 1225698
TreeView+ depends on / blocked
 
Reported: 2015-06-03 16:28 UTC by Rafael Benevides
Modified: 2020-03-27 19:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:07:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Plugin execution not covered in JBDS by BRMS Quickstart (172.16 KB, image/png)
2015-06-04 16:58 UTC, Rafael Benevides
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.