Great, and Thanks Mang Jun Lau, it works. Thanks again! Regards. -----Original Message----- From: Mang Jun Lau [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 7:18 PM To: Maven Users List Subject: Re: POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM)
<modelVersion>4.0</modelVersion> needs to be <modelVersion>4.0.0</modelVersion> instead. Try and see if that works. _Mang Lau "Sharma, Jaikumar" <[EMAIL PROTECTED]> 04/03/2006 06:20 AM Please respond to "Maven Users List" <users@maven.apache.org> To Maven Users List <users@maven.apache.org> cc Subject POM : Not a v4.0.0 POM / Error building POM (may not be this proj ect's POM) Dear Maven users, When trying to execute : mvn compile I get the following error, I am not sure I am missing something or what is wrong . Could somebody help on this please ? Regards. ________________________________________________________________________ ___ [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: unknown POM Location: D:\Users\Alpha0\pom.xml Reason: Not a v4.0.0 POM. ________________________________________________________________________ ___ <project xmlns="http://maven.apache.org/POM/4.0.0 <http://maven.apache.org/POM/4.0.0> " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance <http://www.w3.org/2001/XMLSchema-instance> " xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 <http://maven.apache.org/POM/4.0.0> http://maven.apache.org/maven-v4_0_0.xsd <http://maven.apache.org/maven-v4_0_0.xsd> "> <modelVersion>4.0</modelVersion> <groupId>com.mycompany.sample</groupId> <artifactId>test</artifactId> <packaging>pom</packaging> <name>test</name> <version>4.0</version> <properties> <subsystem.home>${basedir}</subsystem.home> </properties> <plugins> <plugin> <groupId>org.apache.maven.plugins.maven-archetype-plugin.1.0-alpha-3</gr oupI d> <artifactId>maven-archetype-plugin-1.0-alpha-3.jar</artifactId> <version>1.0-alpha-3</version> </plugin> <plugin> <groupId>org.apache.maven.plugins.maven-compiler-plugin.2.0</groupId> <artifactId>maven-compiler-plugin-2.0.jar</artifactId> <version>2.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins.maven-install-plugin.2.1</groupId> <artifactId>maven-install-plugin-2.1.jar</artifactId> <version>2.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins.maven-jar-plugin.2.0</groupId> <artifactId>maven-compiler-plugin-2.0.jar</artifactId> <version>2.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins.maven-resources-plugin.2.1</groupId> <artifactId>maven-resources-plugin-2.1.jar</artifactId> <version>2.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins.maven-surefire-plugin.2.1.2</groupId> <artifactId>maven-compiler-plugin-2.1.2.jar</artifactId> <version>2.1.2</version> </plugin> </plugins> <organization> <name>my company</name> <url>http://www.mycompany.com</url> </organization> <modules> <module>${basedir}/java/BusinessLogic/</module> <module>${basedir}/java/ClientUI/</module> </modules> <build> <sourceDirectory>${basedir}/java/BusinessLogic/src/</sourceDirectory> <outputDirectory>${basedir}/java/BusinessLogic/classes/</outputDirectory > <sourceDirectory>${basedir}/java/ClientUI/</sourceDirectory> <outputDirectory>${basedir}/java/ClientUI/classes/</outputDirectory> <defaultGoal>compile</defaultGoal> </build> </project> ________________________________________________________________________ ____ ____ - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.