This pom is the one that come with net.sf.jt400 : http://repo1.maven.org/maven2/net/sf/jt400/jt400-full/6.0/jt400-full-6.0.pom
2008/1/12, Baptiste MATHUS <[EMAIL PROTECTED]>: > > 2008/1/11, Henri Gomez <[EMAIL PROTECTED]>: > > Here is one error seen with eclipse plugin and not with mvn or in IDEA : > > > > 11/01/08 15:29:44 CET: Parsing error > > > c:\maven-repository\net\sf\jt400\jt400-full\6.0\jt400-full-6.0.pom; > > org.codehaus.plexus.util.xml.pull.XmlPullParserException > : Duplicated > > tag: 'name' (position: START_TAG seen ...<license>\n\t\t\t<name>... > > @11:10) > > 11/01/08 15:29:44 CET: Unable to read slib-jutils/pom.xml; > > org.eclipse.core.runtime.CoreException: Parsing error > > > c:\maven-repository\net\sf\jt400\jt400-full\6.0\jt400-full-6.0.pom; > > org.codehaus.plexus.util.xml.pull.XmlPullParserException: > Duplicated > > tag: 'name' (position: START_TAG seen ...<license>\n\t\t\t<name>... > > @11:10) > > > > Here is the jt400-full-6.0.pom : > > > > <project> > > <modelVersion>4.0.0</modelVersion> > > <groupId>net.sf.jt400</groupId> > > <artifactId>jt400-full</artifactId> > > <packaging>jar</packaging> > > <name>JT400</name> > > <version>6.0</version> > > <url>http://jt400.sourceforge.net/ </url> > > <licences> > > <license> > > <name>IBM Public License Version > 1.0</name> > > <url> > http://downloads.sourceforge.net/jt400/license_6_0.html</url> > > > <distribution>repo</distribution> > > </license> > > </licences> > > <scm> > > > <url>http://jt400.cvs.sourceforge.net/jt400/</url> > > </scm> > > </project> > > > > Mix between licence/license may be but it seems the parser is running > > in more strict mode in plugin... > > Hi. I tried validating your pom.xml against the maven xsd ant it seems it's > not correct. My xsd knowlegde is not important at all, so I have > difficulties understanding exactly what's wrong. Maybe the tag order ? > > I tested with two different tools after having replaced the beginning of > your pom with : > <?xml version="1.0" ?> > <project xmlns="http://maven.apache.org/POM/4.0.0 " > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > > Namely with the Eclipse XML editor and xmlstarlet (CLI tool under Linux) and > both said your pom was invalid according to the XSD. So maybe there's > something to look at in this area. > > Cheers. > > -- > Baptiste <Batmat> MATHUS > BMathus at Batmat point net - http://batmat.net > Si chacun de nous a une idée et que nous les partageons, nous > repartirons tous les deux avec deux idées... C'est ça le Libre. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
