Bug 869197 - Errai CDI examples - Importing of all projects to the JBDS is impossible due to parsing error in the parent pom.xml
Summary: Errai CDI examples - Importing of all projects to the JBDS is impossible due ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Examples, Errai
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR1
: 2.1.0
Assignee: Karel Piwko
QA Contact: Stefan Miklosovic
URL:
Whiteboard: errai-example
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-23 09:02 UTC by Stefan Miklosovic
Modified: 2015-08-02 23:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-30 15:34:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Error while parsing the parent pom.xml (527 bytes, text/plain)
2012-10-23 09:04 UTC, Stefan Miklosovic
no flags Details

Description Stefan Miklosovic 2012-10-23 09:02:44 UTC
Description of problem:
While trying to import all projects to JBDS in the CDI example suite of Errai example distribution as an existing Maven project, it is impossible to do so because of the parsing error in the parent pom.xml where all projects are added as modules. 

Version-Release number of selected component (if applicable):
jboss-wfk-2.1.0.ER2/demo/errai-2.1.0.Final-redhat-1/cdi-examples

How reproducible:
Always unless the version tag in the parent pom.xml is commented out.

Steps to Reproduce:
Do not import an CDI project individually, try to import them all at once by importing the parent directory where parent pom.xml is present.

Please see attachment in orded to see the error.
  
Actual results:
Impossibility of importing the whole Errai CDI example suite via JBDS.

Expected results:
The opposite of actual results.

Additional info:

Comment 1 Stefan Miklosovic 2012-10-23 09:04:07 UTC
Created attachment 631975 [details]
Error while parsing the parent pom.xml

Comment 2 Pavel SLegr 2012-10-23 13:14:44 UTC
Errai CDI demos parent.pom after verification didn't show up as invalid, as well as effective pom were ok.
However the plugin managment configuration in cdi demos parent pom caused the problem with examples import into JBDS - out of box... therefore plugin management was slightly modified to fix the issue.

fixed with: http://git.app.eng.bos.redhat.com/?p=errai/errai.git;a=commit;h=b8fa989a1c42b6ce573f687e3aa325042be23b94

Comment 3 Stefan Miklosovic 2012-10-23 13:18:50 UTC
I verify Pavel's fix has solved the issue.

Comment 4 Pavel SLegr 2012-10-23 13:23:26 UTC
changed Status back to:ON_DEV .. as target is CR01 and QA does not have CR01 release... :)
Stefan thanks for pre-verification for this issue, however there is need to verify this on CR01 release once it reaches QA
thanks !

Comment 7 Karel Piwko 2012-11-12 13:58:17 UTC
Verified in WFK 2.1.0.CR1 using both JBDS 5.0.1 and JBDS 6.0.0.Beta1

Comment 8 Karel Piwko 2012-11-30 15:34:55 UTC
Distributed as a part of WFK 2.1.0.GA release.


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