Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-alpha-19
-
Fix Version/s: 1.0-alpha-20
-
Component/s: None
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
the bcel:bcel:5.1 POM (http://repo1.maven.org/maven2/bcel/bcel/5.1/bcel-5.1.pom) contains:
<dependencies> <groupId>regexp</groupId> <artifactId>regexp</artifactId> <version>1.2</version> </dependencies>
Since the generated maven-model code expects elements named 'dependency' inside the 'dependencies' element, and doesn't consider whether the parse is being handled in strict mode or not, an XmlPullParserException is always thrown.
Same goes when you have a resource defined as:
<resource> <directory>blah</directory> <includes> <includes>**/*</includes> </includes> </resource>
as is done in http://repo1.maven.org/maven2/org/mortbay/jetty/jsp-2.1/6.1.11/jsp-2.1-6.1.11.pom
Issue Links
- is depended upon by
-
MNG-3680
POM validation fails on projects in central repo starting with 2.0.10 RCs
-
see revIds 908 and 909. The second revision is unit testing.