<scope>provided</scope> isn't supported in maven 1 Your pom is for maven 2 ?
Arnaud On 12/04/07, Lukas Theussl <[EMAIL PROTECTED]> wrote:
The tag <modelVersion>4.0.0</modelVersion> is for an m2 pom.xml, in m1 you need <pomVersion>3</pomVersion>. HTH, -Lukas emerson cargnin wrote: > Hi there > > I'm trying to convert our 1.0.2 project.xml to 1.1 beta 3. > > i'm getting the following error for the project.xml down below: > > [exec] Starting the reactor... > > [exec] BUILD FAILED > [exec] File...... file:/C:/Documents and > Settings/EmersonC/.maven/cache/maven-multiproject-plugin-1.5 /plugin.jelly > [exec] Element... maven:reactor > [exec] Line...... 63 > [exec] Column.... 9 > [exec] Error parsing project.xml > 'C:\n&a_reports\site_ucssearch\modules\.\com.company.java\project.xml' > [exec] Total time : 1 minutes 16 seconds > [exec] Finished at : 12 April 2007 09:39:16 BST > > thanks > emerson > > <?xml version="1.0" encoding="ISO-8859-1"?> > <project> > <modelVersion>4.0.0</modelVersion> > <groupId>com.company</groupId> > <artifactId>com.company.java</artifactId> > <name>com.company.java</name> > <currentVersion>1.0-SNAPSHOT</currentVersion> > <build> > <sourceDirectory>src/java</sourceDirectory> > <unitTestSourceDirectory>src/java</unitTestSourceDirectory> > <unitTest> > <resources> > <resource> > <directory>src/resources</directory> > </resource> > </resources> > <includes> > <include>**/*Test.java</include> > </includes> > <excludes> > <exclude>**/Abstract*Test.java</exclude> > </excludes> > </unitTest> > <resources> > <resource> > <directory>src/resources</directory> > </resource> > </resources> > </build> > <dependencies> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>3.8.1</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>javax.servlet</groupId> > <artifactId>servlet-api</artifactId> > <version>2.3</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>regexp</groupId> > <artifactId>regexp</artifactId> > <version>1.2</version> > </dependency> > <dependency> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > <version>1.1.3</version> > </dependency> > <dependency> > <groupId>spring</groupId> > <artifactId>spring</artifactId> > <version>2.0.0</version> > </dependency> > </dependencies> > <reports> > <report>maven-junit-report-plugin</report> > </reports> > </project> > > --------------------------------------------------------------------- > 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]
