Your plugins section is not inside the build section. An XML aware
editor could help you there :)

On 4/3/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote:
> 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</groupI
> 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.
>
>


--
Alexandre Poitras
Québec, Canada

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to