maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "emerson cargnin" <echofloripa.y...@gmail.com>
Subject Re: maven 1.0.2 to 1.1 beta 3
Date Fri, 20 Apr 2007 09:25:15 GMT
I corrected those problems, now i'm getting the following:

     [exec] Unable to obtain goal [site] -- file:/C:/Documents and
Settings/EmersonC/.maven/cache/maven-emma-plugin-0.5/plugin.jelly:69:25:
<ant:taskdef> taskdef A class needed by class
com.vladium.emma.emmajavaTask cannot be found:
org/apache/tools/ant/taskdefs/Java
     [exec] Total time   : 21 seconds
     [exec] Finished at  : 20 April 2007 10:23:34 BST

Is it the right version of emma for use with mave 1.1 beta 3?

thanks

On 12/04/07, Arnaud HERITIER <aheritier@gmail.com> wrote:
> It's properties/scope
>
> <dependency>
>  <groupId>junit</groupId>
>  <artifactId>junit</artifactId>
>  <version>3.8.1</version>
>  <properties>
>    <scope>test</scope>
>  </properties>
> </dependency>
>
> Arnaud
>
> On 12/04/07, Lukas Theussl <ltheussl@apache.org> wrote:
> >
> > AFAIK, <scope> is not used in m1, but it is 'supported', and its use is
> > even recommended, also in m1, see eg
> > http://jira.codehaus.org/browse/MPXDOC-191.
> >
> > Cheers,
> > -Lukas
> >
> >
> > Arnaud HERITIER wrote:
> > > <scope>provided</scope> isn't supported in maven 1
> > > Your pom is for maven 2 ?
> > >
> > > Arnaud
> > >
> > > On 12/04/07, Lukas Theussl <ltheussl@apache.org> 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: users-unsubscribe@maven.apache.org
> > >> > For additional commands, e-mail: users-help@maven.apache.org
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >> For additional commands, e-mail: users-help@maven.apache.org
> > >>
> > >>
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message