Sorry... I've just found the answer ! The tag </project> was commented... not in the generated pom file, but in the parent pom file !
Regards, Eric Lewandowski -----Message d'origine----- De : Lewandowski, Eric [mailto:[email protected]] Envoyé : 3 décembre 2009 19:44 À : [email protected] Objet : problem when generating pom including parent tag Hi I've just installed Eclipse Galileo running under JDK 1.5.0_15 (Windows XP Pro). I installed the last version of M2Eclipse and I choose to create a Maven project. Here's the simple POM that m2Eclipse generated : <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"> <parent> <artifactId>sqag-parent</artifactId> <groupId>gov.dgsig.sqag</groupId> <version>1.5.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>gov.dgsig.sqag</groupId> <artifactId>sqag-commun</artifactId> <version>1.5.0-SNAPSHOT</version> </project> and here's the error message I received : no more data available - expected end tag </project> to close start tag <project> from line 2, parser stopped on END_TAG seen ...</project>-->... @332:14 The project cannot be built by Maven. What's wrong ? How can I solve this problem ? Regards, Eric Lewandowski --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
