Absolutely correct - it was only the schema that was wrong. Thanks!

- Brett

Fabrizio Giustina wrote:

>I just encountered a small issue with the beta 2 candidate:
>if the pom contains a "packageName" element Maven fails:
>
>org.apache.maven.MavenException: Unknown error reading project
>       [...]
>--- Nested Exception ---
>org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised
>tag: 'packageName' (position: START_TAG seen ...</organization>\n 
><packageName>... @189:16)
>
>However, "packageName" is valid according to
>http://maven.apache.org/maven-v3_0_0.xsd : it was called "package" in
>the past and then renamed to "packageName" for some reason.
>Maven now still expects a tag called "package": renaming it makes
>maven happy, but project.xml doesn't validate anymore...
>
>probably the best solution could be leaving the release as is and just
>update the xml schema (also if it's not so nice changing things while
>leaving the version number unchanged...). According to the javadoc
>plugin "package" is actually the expected name.
>
>
>fabrizio
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to