You are right, these should be valid in 1.1. Please file an issue in JIRA.

Thanks,
Brett

On 6/17/05, Schoenknecht,Andreas <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I just tried the Maven 1.1 beta. Unfortunately I get errors when my POMs
> contains custom properties.
> Here is an example: At the end of the POM I have a properties section:
> 
> ...
>     </dependencies>
>     <properties>
>         <deputy isAssembly="false" >
>             <rules>
>                 <default value="LATEST RELEASE" />
>                 <enforcements>
>                     <enforcement>
>                         <groupId>tui-iris</groupId>
>                         <artifactId>tuiiris</artifactId>
>                         <version>1.0.2</version>
>                     </enforcement>
>                 </enforcements>
>                 <deprecations />
>                 <replacements />
>                 <removals />
>             </rules>
>         </deputy>
>     </properties>
> </project>
> 
> As far as I understood it should be possible to have custom properties in the 
> POM.
> But when I execute any Maven goal I get:
> 
> org.codehaus.plexus.util.xml.pull.XmlPullParserException: TEXT must be 
> immediately followed by END_TAG and not START_TAG (position: START_TAG seen 
> ...<deputy isAssembly="false" >\r\n            <rules>... @185:20)
>         at 
> org.codehaus.plexus.util.xml.pull.MXParser.nextText(MXParser.java:1059)
>         at 
> org.apache.maven.project.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Reader.java:834)
>         at 
> org.apache.maven.project.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:1621)
>         at org.apache.maven.project.Project.<init>(Project.java:120)
>         at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:185)
>         at org.apache.maven.MavenUtils.getProject(MavenUtils.java:120)
>         at org.apache.maven.MavenUtils.getProject(MavenUtils.java:99)
>         at 
> org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
>         at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
>         at org.apache.maven.cli.App.doMain(App.java:498)
> 
> Any ideas?
> 
> Andreas Schönknecht
> 
> ---------------------------------------------------------------------
> 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