actually it was for not having the <include/> node insde the <includes/> :) and maven 1.0.2 didn't complain of this...
now i got another challenge. I had the following: <build> <sourceDirectory>src/main/java</sourceDirectory> <filters> <filter>src/main/filters/local.properties</filter> </filters> but now maven doesn't recognise the <filters> tag. In this page: http://maven.apache.org/maven-1.x/reference/project-descriptor.html#class_Build it just shows a <filtering> tag, which is only a boolean. How i get the same behaviour of the other one? On 20/04/07, Lukas Theussl <[EMAIL PROTECTED]> wrote:
It seems like you have a problem with line endings (</directory>\r\n\t\t\t\t\t<includes>), try to remove that block and run a dummy goal, (maven clean), if that succeeds, the pom was parsed correctly. -Lukas emerson cargnin wrote: > well, another problem :) > > i have the follwing snippet from a project.xml: > > <resource> > > <directory>src/test/resources/spring</directory> > <includes>**/*.xml</includes> > </resource> > <resource> > > <directory>src/test/resources/spring/adverts</directory> > <includes>**/*.xml</includes> > </resource> > <resource> > > and it gives the following error: > > --- Nested Exception --- > org.codehaus.plexus.util.xml.pull.XmlPullParserException: expected > START_TAG or END_TAG not TEXT (position: TEXT seen > ...</directory>\r\n\t\t\t\t\t<includes>**/*.xml</... @54:26) > at > org.codehaus.plexus.util.xml.pull.MXParser.nextTag(MXParser.java:1080) > > > thanks again and sorry for so many question :) > Emerson > --------------------------------------------------------------------- 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]