You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by emerson cargnin <ec...@gmail.com> on 2007/04/12 10:42:54 UTC

maven 1.0.2 to 1.1 beta 3

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


Active profiles in settings.xml are wrong in maven-embedder

Posted by "Rahamim, Zvi (Zvi)" <zr...@avaya.com>.
Hi,
I've defined in settings.xml file (under M2_HOME/conf/) a profile
(my-profile) and set it to be activated.
I removed file "C:\Documents and Settings\<user name>\.m2\settings.xml".
When I run build using maven, it knows to uses my-profile, but when I
create a maven project using the maven-embedder, it doesn't have any
active profiles.
Please help,
Thanks!

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


Re: maven 1.0.2 to 1.1 beta 3

Posted by emerson cargnin <ec...@gmail.com>.
i get this error while executing the site:

[exec]     [junitreport] [Fatal Error] :-1:-1: Premature end of file.
     [exec]     [junitreport] The file
/subversion/users/svnclient/cruise/checkout/build-module1/modules/com.mycompany.indexing/target/test-reports/TEST-com.mycompany.indexing.framework.batch.MainTest.xml
is not a valid XML document. It is possibly corrupted.
     [exec]     [junitreport] [Fatal Error] :-1:-1: Premature end of file.
     [exec]     [junitreport] The file
/subversion/users/svnclient/cruise/checkout/build-module1/modules/com.mycompany.indexing/target/test-reports/TEST-com.mycompany.indexing.xmldatafeed.MainTest.xml
is not a valid XML document. It is possibly corrupted.

the file mentioned has 0 bytes.

does anyone have seem this?

emerson

On 20/04/07, Lukas Theussl <lt...@apache.org> wrote:
> See the bottom of this page:
> http://maven.apache.org/maven-1.x/using/resources.html
>
> HTH,
> -Lukas
>
> emerson cargnin wrote:
> > actually it was for not having the <include/> node insde the
> > <includes/> :) and maven 1.0.2 didn't complain of this...
> >
> > now i got another challenge. I had the following:
> >  <build>
> >                <sourceDirectory>src/main/java</sourceDirectory>
> >
> >                <filters>
> >                        <filter>src/main/filters/local.properties</filter>
> >                </filters>
> >
> > but now maven doesn't recognise the <filters> tag.
> > In this page:
> > http://maven.apache.org/maven-1.x/reference/project-descriptor.html#class_Build
> >
> > it just shows a <filtering> tag, which is only a boolean. How i get
> > the same behaviour of the other one?
> >
> >
>
> ---------------------------------------------------------------------
> 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


Re: maven 1.0.2 to 1.1 beta 3

Posted by Lukas Theussl <lt...@apache.org>.
See the bottom of this page: 
http://maven.apache.org/maven-1.x/using/resources.html

HTH,
-Lukas

emerson cargnin wrote:
> actually it was for not having the <include/> node insde the
> <includes/> :) and maven 1.0.2 didn't complain of this...
> 
> now i got another challenge. I had the following:
>  <build>
>                <sourceDirectory>src/main/java</sourceDirectory>
> 
>                <filters>
>                        <filter>src/main/filters/local.properties</filter>
>                </filters>
> 
> but now maven doesn't recognise the <filters> tag.
> In this page:
> http://maven.apache.org/maven-1.x/reference/project-descriptor.html#class_Build 
> 
> it just shows a <filtering> tag, which is only a boolean. How i get
> the same behaviour of the other one?
> 
>

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


Re: maven 1.0.2 to 1.1 beta 3

Posted by emerson cargnin <ec...@gmail.com>.
actually it was for not having the <include/> node insde the
<includes/> :) and maven 1.0.2 didn't complain of this...

now i got another challenge. I had the following:
  <build>
                <sourceDirectory>src/main/java</sourceDirectory>

                <filters>
                        <filter>src/main/filters/local.properties</filter>
                </filters>

but now maven doesn't recognise the <filters> tag.
In this page:
http://maven.apache.org/maven-1.x/reference/project-descriptor.html#class_Build
it just shows a <filtering> tag, which is only a boolean. How i get
the same behaviour of the other one?

On 20/04/07, Lukas Theussl <lt...@apache.org> wrote:
> It seems like you have a problem with line endings
> (</directory>\r\n\t\t\t\t\t<includes>), try to remove that block and run
> a dummy goal, (maven clean), if that succeeds, the pom was parsed correctly.
>
> -Lukas
>
>
> emerson cargnin wrote:
> > well, another problem :)
> >
> > i have the follwing snippet from a project.xml:
> >
> >                                <resource>
> >
> > <directory>src/test/resources/spring</directory>
> >                                        <includes>**/*.xml</includes>
> >                                </resource>
> >                                <resource>
> >
> > <directory>src/test/resources/spring/adverts</directory>
> >                                        <includes>**/*.xml</includes>
> >                                </resource>
> >                                <resource>
> >
> > and it gives the following error:
> >
> > --- Nested Exception ---
> > org.codehaus.plexus.util.xml.pull.XmlPullParserException: expected
> > START_TAG or END_TAG not TEXT (position: TEXT seen
> > ...</directory>\r\n\t\t\t\t\t<includes>**/*.xml</... @54:26)
> >        at
> > org.codehaus.plexus.util.xml.pull.MXParser.nextTag(MXParser.java:1080)
> >
> >
> > thanks again and sorry for so many question :)
> > Emerson
> >
>
> ---------------------------------------------------------------------
> 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


Re: maven 1.0.2 to 1.1 beta 3

Posted by Lukas Theussl <lt...@apache.org>.
It seems like you have a problem with line endings 
(</directory>\r\n\t\t\t\t\t<includes>), try to remove that block and run 
a dummy goal, (maven clean), if that succeeds, the pom was parsed correctly.

-Lukas


emerson cargnin wrote:
> well, another problem :)
> 
> i have the follwing snippet from a project.xml:
> 
>                                <resource>
> 
> <directory>src/test/resources/spring</directory>
>                                        <includes>**/*.xml</includes>
>                                </resource>
>                                <resource>
> 
> <directory>src/test/resources/spring/adverts</directory>
>                                        <includes>**/*.xml</includes>
>                                </resource>
>                                <resource>
> 
> and it gives the following error:
> 
> --- Nested Exception ---
> org.codehaus.plexus.util.xml.pull.XmlPullParserException: expected
> START_TAG or END_TAG not TEXT (position: TEXT seen
> ...</directory>\r\n\t\t\t\t\t<includes>**/*.xml</... @54:26)
>        at 
> org.codehaus.plexus.util.xml.pull.MXParser.nextTag(MXParser.java:1080)
> 
> 
> thanks again and sorry for so many question :)
> Emerson
>

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


Re: maven 1.0.2 to 1.1 beta 3

Posted by emerson cargnin <ec...@gmail.com>.
well, another problem :)

i have the follwing snippet from a project.xml:

                                <resource>

<directory>src/test/resources/spring</directory>
                                        <includes>**/*.xml</includes>
                                </resource>
                                <resource>

<directory>src/test/resources/spring/adverts</directory>
                                        <includes>**/*.xml</includes>
                                </resource>
                                <resource>

and it gives the following error:

--- Nested Exception ---
org.codehaus.plexus.util.xml.pull.XmlPullParserException: expected
START_TAG or END_TAG not TEXT (position: TEXT seen
...</directory>\r\n\t\t\t\t\t<includes>**/*.xml</... @54:26)
        at org.codehaus.plexus.util.xml.pull.MXParser.nextTag(MXParser.java:1080)


thanks again and sorry for so many question :)
Emerson
On 20/04/07, emerson cargnin <ec...@gmail.com> wrote:
> by the way, I'm using this on my build.properties:
>
> maven.repo.remote=http://localrepo/maven/,http://repo1.maven.org/maven,http://people.apache.org/repo/m1-snapshot-repository
>
> I tried to clean my .maven repository and cache, but it didn't solve
> the problem of hanging on the same point...
>
> thanks guys
>
> On 20/04/07, emerson cargnin <ec...@gmail.com> wrote:
> > ok
> >
> > thanks a lot
> >
> > would anyone else have a clue why my build hangs for so long on the
> > following point?
> >
> >     [exec] checkstyle:report-internal:
> >     [exec]     [mkdir] Created dir:
> > /subversion/users/client/cruise/checkout/build-projet/modules/com.company.java/target/generated-xdocs/checkstyle
> >
> >
> >
> > On 20/04/07, Lukas Theussl <lt...@apache.org> wrote:
> > >
> > >
> > > emerson cargnin wrote:
> > > > Thanks for the reply lukas.
> > > >
> > > > 1) do you run checkstyle? if so, you didn't noticed it takes a quite
> > > > while to generate the reports?
> > > > in this line it stops for 3 or 4 minutes....
> > > >
> > > >     [exec]     [checkstyle] Running Checkstyle 4.1 on 416 files
> > > >     [exec] checkstyle:report-internal:
> > > >     [exec]     [mkdir] Created dir:
> > > > /subversion/users/svnclient/cruise/checkout/build-ucssearch/modules/com.yell.searchengine/target/generated-xdocs/checkstyle
> > >
> > > Yes I do run checkstyle, and as I said, I haven't noticed any
> > > performance problems. However, if I understand correctly from your
> > > snippet, your build hangs in the checkstyle:report-internal goal. This
> > > goal is run after checkstyle has processed the source code and all it
> > > does is generate the xdocs from the checkstyle xml output via some jelly
> > > scripts. So the problem doesn't seem to be related to checkstyle, but I
> > > have no idea what it could be...
> > >
> > > > 2) Do you need to put the emma.jar in your jre lib/ext ???
> > >
> > > No, I just downloaded the emma plugin (maven plugin:download) and ran
> > > 'maven emma'. No other preparation needed.
> > >
> > > -Lukas
> > >
> > > ---------------------------------------------------------------------
> > > 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


Re: maven 1.0.2 to 1.1 beta 3

Posted by emerson cargnin <ec...@gmail.com>.
by the way, I'm using this on my build.properties:

maven.repo.remote=http://localrepo/maven/,http://repo1.maven.org/maven,http://people.apache.org/repo/m1-snapshot-repository

I tried to clean my .maven repository and cache, but it didn't solve
the problem of hanging on the same point...

thanks guys

On 20/04/07, emerson cargnin <ec...@gmail.com> wrote:
> ok
>
> thanks a lot
>
> would anyone else have a clue why my build hangs for so long on the
> following point?
>
>     [exec] checkstyle:report-internal:
>     [exec]     [mkdir] Created dir:
> /subversion/users/client/cruise/checkout/build-projet/modules/com.company.java/target/generated-xdocs/checkstyle
>
>
>
> On 20/04/07, Lukas Theussl <lt...@apache.org> wrote:
> >
> >
> > emerson cargnin wrote:
> > > Thanks for the reply lukas.
> > >
> > > 1) do you run checkstyle? if so, you didn't noticed it takes a quite
> > > while to generate the reports?
> > > in this line it stops for 3 or 4 minutes....
> > >
> > >     [exec]     [checkstyle] Running Checkstyle 4.1 on 416 files
> > >     [exec] checkstyle:report-internal:
> > >     [exec]     [mkdir] Created dir:
> > > /subversion/users/svnclient/cruise/checkout/build-ucssearch/modules/com.yell.searchengine/target/generated-xdocs/checkstyle
> >
> > Yes I do run checkstyle, and as I said, I haven't noticed any
> > performance problems. However, if I understand correctly from your
> > snippet, your build hangs in the checkstyle:report-internal goal. This
> > goal is run after checkstyle has processed the source code and all it
> > does is generate the xdocs from the checkstyle xml output via some jelly
> > scripts. So the problem doesn't seem to be related to checkstyle, but I
> > have no idea what it could be...
> >
> > > 2) Do you need to put the emma.jar in your jre lib/ext ???
> >
> > No, I just downloaded the emma plugin (maven plugin:download) and ran
> > 'maven emma'. No other preparation needed.
> >
> > -Lukas
> >
> > ---------------------------------------------------------------------
> > 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


Re: maven 1.0.2 to 1.1 beta 3

Posted by emerson cargnin <ec...@gmail.com>.
I was using standard CS configuration, when i switch for our own
configuration, it got a lot faster. Thanks for the help.
Emerson

On 23/04/07, Lukas Theussl <lt...@apache.org> wrote:
> 3Ms is certainly a big file especially since the raw reports are
> probably bigger... did you try already to disable some of the checks? I
> just ran checkstyle on a project with 207 files, the
> checkstyle-summary-report.xml is 5450 bytes and it took exactly 1
> minute, so 4mins for your project doesn't surprise me.
>
> -Lukas
>
>
> emerson cargnin wrote:
> > i found out that the part that takes the most of time (4 minutes for
> > 500 files) is
> >
> > <doc:jsl
> >      input="${maven.checkstyle.output.xml}"
> >      output="checkstyle-summary-report.xml"
> >      outputDirectory="${maven.checkstyle.dir}"
> >      stylesheet="${plugin.resources}/checkstyle-summary.jsl"
> >      encoding="${maven.docs.outputencoding}"
> >      outputMode="xml"
> >      prettyPrint="true"/>
> >
> > that's the raw report...
> >
> > and the file generated has 3088523 bytes. Is it normal?
> >
> > thanks
> > emerson
> >
> > On 23/04/07, emerson cargnin <ec...@gmail.com> wrote:
> >
> >> anyone has any clue how I could investigate this better???
> >>
> >> thanks
> >>
> >> On 20/04/07, emerson cargnin <ec...@gmail.com> wrote:
> >> > ok
> >> >
> >> > thanks a lot
> >> >
> >> > would anyone else have a clue why my build hangs for so long on the
> >> > following point?
> >> >
> >> >     [exec] checkstyle:report-internal:
> >> >     [exec]     [mkdir] Created dir:
> >> >
> >> /subversion/users/client/cruise/checkout/build-projet/modules/com.company.java/target/generated-xdocs/checkstyle
> >>
> >> >
> >> >
> >> >
> >> > On 20/04/07, Lukas Theussl <lt...@apache.org> wrote:
> >> > >
> >> > >
> >> > > emerson cargnin wrote:
> >> > > > Thanks for the reply lukas.
> >> > > >
> >> > > > 1) do you run checkstyle? if so, you didn't noticed it takes a
> >> quite
> >> > > > while to generate the reports?
> >> > > > in this line it stops for 3 or 4 minutes....
> >> > > >
> >> > > >     [exec]     [checkstyle] Running Checkstyle 4.1 on 416 files
> >> > > >     [exec] checkstyle:report-internal:
> >> > > >     [exec]     [mkdir] Created dir:
> >> > > >
> >> /subversion/users/svnclient/cruise/checkout/build-ucssearch/modules/com.yell.searchengine/target/generated-xdocs/checkstyle
> >>
> >> > >
> >> > > Yes I do run checkstyle, and as I said, I haven't noticed any
> >> > > performance problems. However, if I understand correctly from your
> >> > > snippet, your build hangs in the checkstyle:report-internal goal.
> >> This
> >> > > goal is run after checkstyle has processed the source code and all it
> >> > > does is generate the xdocs from the checkstyle xml output via some
> >> jelly
> >> > > scripts. So the problem doesn't seem to be related to checkstyle,
> >> but I
> >> > > have no idea what it could be...
> >> > >
> >> > > > 2) Do you need to put the emma.jar in your jre lib/ext ???
> >> > >
> >> > > No, I just downloaded the emma plugin (maven plugin:download) and ran
> >> > > 'maven emma'. No other preparation needed.
> >> > >
> >> > > -Lukas
> >> > >
> >> > > ---------------------------------------------------------------------
> >> > > 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


Re: maven 1.0.2 to 1.1 beta 3

Posted by Lukas Theussl <lt...@apache.org>.
3Ms is certainly a big file especially since the raw reports are 
probably bigger... did you try already to disable some of the checks? I 
just ran checkstyle on a project with 207 files, the 
checkstyle-summary-report.xml is 5450 bytes and it took exactly 1 
minute, so 4mins for your project doesn't surprise me.

-Lukas


emerson cargnin wrote:
> i found out that the part that takes the most of time (4 minutes for
> 500 files) is
> 
> <doc:jsl
>      input="${maven.checkstyle.output.xml}"
>      output="checkstyle-summary-report.xml"
>      outputDirectory="${maven.checkstyle.dir}"
>      stylesheet="${plugin.resources}/checkstyle-summary.jsl"
>      encoding="${maven.docs.outputencoding}"
>      outputMode="xml"
>      prettyPrint="true"/>
> 
> that's the raw report...
> 
> and the file generated has 3088523 bytes. Is it normal?
> 
> thanks
> emerson
> 
> On 23/04/07, emerson cargnin <ec...@gmail.com> wrote:
> 
>> anyone has any clue how I could investigate this better???
>>
>> thanks
>>
>> On 20/04/07, emerson cargnin <ec...@gmail.com> wrote:
>> > ok
>> >
>> > thanks a lot
>> >
>> > would anyone else have a clue why my build hangs for so long on the
>> > following point?
>> >
>> >     [exec] checkstyle:report-internal:
>> >     [exec]     [mkdir] Created dir:
>> > 
>> /subversion/users/client/cruise/checkout/build-projet/modules/com.company.java/target/generated-xdocs/checkstyle 
>>
>> >
>> >
>> >
>> > On 20/04/07, Lukas Theussl <lt...@apache.org> wrote:
>> > >
>> > >
>> > > emerson cargnin wrote:
>> > > > Thanks for the reply lukas.
>> > > >
>> > > > 1) do you run checkstyle? if so, you didn't noticed it takes a 
>> quite
>> > > > while to generate the reports?
>> > > > in this line it stops for 3 or 4 minutes....
>> > > >
>> > > >     [exec]     [checkstyle] Running Checkstyle 4.1 on 416 files
>> > > >     [exec] checkstyle:report-internal:
>> > > >     [exec]     [mkdir] Created dir:
>> > > > 
>> /subversion/users/svnclient/cruise/checkout/build-ucssearch/modules/com.yell.searchengine/target/generated-xdocs/checkstyle 
>>
>> > >
>> > > Yes I do run checkstyle, and as I said, I haven't noticed any
>> > > performance problems. However, if I understand correctly from your
>> > > snippet, your build hangs in the checkstyle:report-internal goal. 
>> This
>> > > goal is run after checkstyle has processed the source code and all it
>> > > does is generate the xdocs from the checkstyle xml output via some 
>> jelly
>> > > scripts. So the problem doesn't seem to be related to checkstyle, 
>> but I
>> > > have no idea what it could be...
>> > >
>> > > > 2) Do you need to put the emma.jar in your jre lib/ext ???
>> > >
>> > > No, I just downloaded the emma plugin (maven plugin:download) and ran
>> > > 'maven emma'. No other preparation needed.
>> > >
>> > > -Lukas
>> > >
>> > > ---------------------------------------------------------------------
>> > > 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


Re: maven 1.0.2 to 1.1 beta 3

Posted by emerson cargnin <ec...@gmail.com>.
i found out that the part that takes the most of time (4 minutes for
500 files) is

 <doc:jsl
      input="${maven.checkstyle.output.xml}"
      output="checkstyle-summary-report.xml"
      outputDirectory="${maven.checkstyle.dir}"
      stylesheet="${plugin.resources}/checkstyle-summary.jsl"
      encoding="${maven.docs.outputencoding}"
      outputMode="xml"
      prettyPrint="true"/>

that's the raw report...

and the file generated has 3088523 bytes. Is it normal?

thanks
emerson

On 23/04/07, emerson cargnin <ec...@gmail.com> wrote:
> anyone has any clue how I could investigate this better???
>
> thanks
>
> On 20/04/07, emerson cargnin <ec...@gmail.com> wrote:
> > ok
> >
> > thanks a lot
> >
> > would anyone else have a clue why my build hangs for so long on the
> > following point?
> >
> >     [exec] checkstyle:report-internal:
> >     [exec]     [mkdir] Created dir:
> > /subversion/users/client/cruise/checkout/build-projet/modules/com.company.java/target/generated-xdocs/checkstyle
> >
> >
> >
> > On 20/04/07, Lukas Theussl <lt...@apache.org> wrote:
> > >
> > >
> > > emerson cargnin wrote:
> > > > Thanks for the reply lukas.
> > > >
> > > > 1) do you run checkstyle? if so, you didn't noticed it takes a quite
> > > > while to generate the reports?
> > > > in this line it stops for 3 or 4 minutes....
> > > >
> > > >     [exec]     [checkstyle] Running Checkstyle 4.1 on 416 files
> > > >     [exec] checkstyle:report-internal:
> > > >     [exec]     [mkdir] Created dir:
> > > > /subversion/users/svnclient/cruise/checkout/build-ucssearch/modules/com.yell.searchengine/target/generated-xdocs/checkstyle
> > >
> > > Yes I do run checkstyle, and as I said, I haven't noticed any
> > > performance problems. However, if I understand correctly from your
> > > snippet, your build hangs in the checkstyle:report-internal goal. This
> > > goal is run after checkstyle has processed the source code and all it
> > > does is generate the xdocs from the checkstyle xml output via some jelly
> > > scripts. So the problem doesn't seem to be related to checkstyle, but I
> > > have no idea what it could be...
> > >
> > > > 2) Do you need to put the emma.jar in your jre lib/ext ???
> > >
> > > No, I just downloaded the emma plugin (maven plugin:download) and ran
> > > 'maven emma'. No other preparation needed.
> > >
> > > -Lukas
> > >
> > > ---------------------------------------------------------------------
> > > 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


Re: maven 1.0.2 to 1.1 beta 3

Posted by emerson cargnin <ec...@gmail.com>.
anyone has any clue how I could investigate this better???

thanks

On 20/04/07, emerson cargnin <ec...@gmail.com> wrote:
> ok
>
> thanks a lot
>
> would anyone else have a clue why my build hangs for so long on the
> following point?
>
>     [exec] checkstyle:report-internal:
>     [exec]     [mkdir] Created dir:
> /subversion/users/client/cruise/checkout/build-projet/modules/com.company.java/target/generated-xdocs/checkstyle
>
>
>
> On 20/04/07, Lukas Theussl <lt...@apache.org> wrote:
> >
> >
> > emerson cargnin wrote:
> > > Thanks for the reply lukas.
> > >
> > > 1) do you run checkstyle? if so, you didn't noticed it takes a quite
> > > while to generate the reports?
> > > in this line it stops for 3 or 4 minutes....
> > >
> > >     [exec]     [checkstyle] Running Checkstyle 4.1 on 416 files
> > >     [exec] checkstyle:report-internal:
> > >     [exec]     [mkdir] Created dir:
> > > /subversion/users/svnclient/cruise/checkout/build-ucssearch/modules/com.yell.searchengine/target/generated-xdocs/checkstyle
> >
> > Yes I do run checkstyle, and as I said, I haven't noticed any
> > performance problems. However, if I understand correctly from your
> > snippet, your build hangs in the checkstyle:report-internal goal. This
> > goal is run after checkstyle has processed the source code and all it
> > does is generate the xdocs from the checkstyle xml output via some jelly
> > scripts. So the problem doesn't seem to be related to checkstyle, but I
> > have no idea what it could be...
> >
> > > 2) Do you need to put the emma.jar in your jre lib/ext ???
> >
> > No, I just downloaded the emma plugin (maven plugin:download) and ran
> > 'maven emma'. No other preparation needed.
> >
> > -Lukas
> >
> > ---------------------------------------------------------------------
> > 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


Re: maven 1.0.2 to 1.1 beta 3

Posted by emerson cargnin <ec...@gmail.com>.
ok

thanks a lot

would anyone else have a clue why my build hangs for so long on the
following point?

     [exec] checkstyle:report-internal:
     [exec]     [mkdir] Created dir:
/subversion/users/client/cruise/checkout/build-projet/modules/com.company.java/target/generated-xdocs/checkstyle



On 20/04/07, Lukas Theussl <lt...@apache.org> wrote:
>
>
> emerson cargnin wrote:
> > Thanks for the reply lukas.
> >
> > 1) do you run checkstyle? if so, you didn't noticed it takes a quite
> > while to generate the reports?
> > in this line it stops for 3 or 4 minutes....
> >
> >     [exec]     [checkstyle] Running Checkstyle 4.1 on 416 files
> >     [exec] checkstyle:report-internal:
> >     [exec]     [mkdir] Created dir:
> > /subversion/users/svnclient/cruise/checkout/build-ucssearch/modules/com.yell.searchengine/target/generated-xdocs/checkstyle
>
> Yes I do run checkstyle, and as I said, I haven't noticed any
> performance problems. However, if I understand correctly from your
> snippet, your build hangs in the checkstyle:report-internal goal. This
> goal is run after checkstyle has processed the source code and all it
> does is generate the xdocs from the checkstyle xml output via some jelly
> scripts. So the problem doesn't seem to be related to checkstyle, but I
> have no idea what it could be...
>
> > 2) Do you need to put the emma.jar in your jre lib/ext ???
>
> No, I just downloaded the emma plugin (maven plugin:download) and ran
> 'maven emma'. No other preparation needed.
>
> -Lukas
>
> ---------------------------------------------------------------------
> 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


Re: maven 1.0.2 to 1.1 beta 3

Posted by Lukas Theussl <lt...@apache.org>.

emerson cargnin wrote:
> Thanks for the reply lukas.
> 
> 1) do you run checkstyle? if so, you didn't noticed it takes a quite
> while to generate the reports?
> in this line it stops for 3 or 4 minutes....
> 
>     [exec]     [checkstyle] Running Checkstyle 4.1 on 416 files
>     [exec] checkstyle:report-internal:
>     [exec]     [mkdir] Created dir:
> /subversion/users/svnclient/cruise/checkout/build-ucssearch/modules/com.yell.searchengine/target/generated-xdocs/checkstyle 

Yes I do run checkstyle, and as I said, I haven't noticed any 
performance problems. However, if I understand correctly from your 
snippet, your build hangs in the checkstyle:report-internal goal. This 
goal is run after checkstyle has processed the source code and all it 
does is generate the xdocs from the checkstyle xml output via some jelly 
scripts. So the problem doesn't seem to be related to checkstyle, but I 
have no idea what it could be...

> 2) Do you need to put the emma.jar in your jre lib/ext ???

No, I just downloaded the emma plugin (maven plugin:download) and ran 
'maven emma'. No other preparation needed.

-Lukas

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


Re: maven 1.0.2 to 1.1 beta 3

Posted by emerson cargnin <ec...@gmail.com>.
Thanks for the reply lukas.

1) do you run checkstyle? if so, you didn't noticed it takes a quite
while to generate the reports?
in this line it stops for 3 or 4 minutes....

     [exec]     [checkstyle] Running Checkstyle 4.1 on 416 files
     [exec] checkstyle:report-internal:
     [exec]     [mkdir] Created dir:
/subversion/users/svnclient/cruise/checkout/build-ucssearch/modules/com.yell.searchengine/target/generated-xdocs/checkstyle

2) Do you need to put the emma.jar in your jre lib/ext ???

thanks a lot

On 20/04/07, Lukas Theussl <lt...@apache.org> wrote:
> You could try maven.test.failure.ignore, maven.test.error.ignore (test
> plugin) or maven.site.reports.ignoreErrors (site plugin). Or fix the
> tests... ;)
>
> Btw, I am running emma with both m102 and 11rc1 without problems and I
> haven't noticed any performance degradation when moving from 102 to
> 11rc1, on the contrary rather...
>
> Cheers,
> -Lukas
>
>
> emerson cargnin wrote:
> > I'm now trying the last RC1, as someone suggested in another thread,
> > but now when trying to generate the site I'm getting:
> >
> > [exec]
> > -------------------------------------------------------------------------------
> >
> >     [exec] BUILD FAILED
> >     [exec]
> > -------------------------------------------------------------------------------
> >
> >     [exec] Errors stack :
> >     [exec] >> Unable to obtain goal [multiproject:site]
> >     [exec] >> File......
> > file:/subversion/users/client/.maven/cache/maven-multiproject-plugin-1.5.1-20070323.003129/plugin.jelly
> >
> >     [exec] >> Element... maven:reactor
> >     [exec] >> Line...... 103
> >     [exec] >> Column.... 9
> >     [exec] >> Unable to obtain goal [site]
> >     [exec] >> File......
> > file:/subversion/users/client/.maven/cache/maven-test-plugin-1.8.1-20070322.234947/plugin.jelly
> >
> >     [exec] >> Element... junit
> >     [exec] >> Line...... 155
> >     [exec] >> Column.... 49
> >     [exec] >> Test com.mycompany.MyTestTest failed
> >     [exec]
> > -------------------------------------------------------------------------------
> >
> >
> >
> > I thought that during site generation a error in a test wouldn't avoid
> > the site to be created. Is there any property i should use??
> >
> > thanks
> > emerson
> >
>
>
> ---------------------------------------------------------------------
> 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


Re: maven 1.0.2 to 1.1 beta 3

Posted by Lukas Theussl <lt...@apache.org>.
You could try maven.test.failure.ignore, maven.test.error.ignore (test 
plugin) or maven.site.reports.ignoreErrors (site plugin). Or fix the 
tests... ;)

Btw, I am running emma with both m102 and 11rc1 without problems and I 
haven't noticed any performance degradation when moving from 102 to 
11rc1, on the contrary rather...

Cheers,
-Lukas


emerson cargnin wrote:
> I'm now trying the last RC1, as someone suggested in another thread,
> but now when trying to generate the site I'm getting:
> 
> [exec] 
> ------------------------------------------------------------------------------- 
> 
>     [exec] BUILD FAILED
>     [exec] 
> ------------------------------------------------------------------------------- 
> 
>     [exec] Errors stack :
>     [exec] >> Unable to obtain goal [multiproject:site]
>     [exec] >> File......
> file:/subversion/users/client/.maven/cache/maven-multiproject-plugin-1.5.1-20070323.003129/plugin.jelly 
> 
>     [exec] >> Element... maven:reactor
>     [exec] >> Line...... 103
>     [exec] >> Column.... 9
>     [exec] >> Unable to obtain goal [site]
>     [exec] >> File......
> file:/subversion/users/client/.maven/cache/maven-test-plugin-1.8.1-20070322.234947/plugin.jelly 
> 
>     [exec] >> Element... junit
>     [exec] >> Line...... 155
>     [exec] >> Column.... 49
>     [exec] >> Test com.mycompany.MyTestTest failed
>     [exec] 
> ------------------------------------------------------------------------------- 
> 
> 
> 
> I thought that during site generation a error in a test wouldn't avoid
> the site to be created. Is there any property i should use??
> 
> thanks
> emerson
> 


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


Re: maven 1.0.2 to 1.1 beta 3

Posted by emerson cargnin <ec...@gmail.com>.
I'm now trying the last RC1, as someone suggested in another thread,
but now when trying to generate the site I'm getting:

 [exec] -------------------------------------------------------------------------------
     [exec] BUILD FAILED
     [exec] -------------------------------------------------------------------------------
     [exec] Errors stack :
     [exec] >> Unable to obtain goal [multiproject:site]
     [exec] >> File......
file:/subversion/users/client/.maven/cache/maven-multiproject-plugin-1.5.1-20070323.003129/plugin.jelly
     [exec] >> Element... maven:reactor
     [exec] >> Line...... 103
     [exec] >> Column.... 9
     [exec] >> Unable to obtain goal [site]
     [exec] >> File......
file:/subversion/users/client/.maven/cache/maven-test-plugin-1.8.1-20070322.234947/plugin.jelly
     [exec] >> Element... junit
     [exec] >> Line...... 155
     [exec] >> Column.... 49
     [exec] >> Test com.mycompany.MyTestTest failed
     [exec] -------------------------------------------------------------------------------


I thought that during site generation a error in a test wouldn't avoid
the site to be created. Is there any property i should use??

thanks
emerson

On 20/04/07, emerson cargnin <ec...@gmail.com> wrote:
> Hi, thanks, but actually I haven't got any of them in my jre/lib/ext,
> and I didn't have when I run 1.0.2 and it worked alright.
>
> I have two other questions if you all allow me:
>
> 1- Now with 1.1 beta 3 it seems that checkstyle report generation
> takes ages (really, at least 5 minutes for each sub project).
>
> 2- when running multiproject:site it seems that dependencies generated
> by other java versions are not compatible, so that i need to run
> multiproject:intall before running site to have it updated. The site
> is not suppose to update the jar for all modules being built?
>
> thanks a lot guys
> Emerson
>
> On 20/04/07, Lukas Theussl <lt...@apache.org> wrote:
> > http://emma.sourceforge.net/faq.html#q.antfailure
> >
> > HTH,
> > -Lukas
> >
> >
> > emerson cargnin wrote:
> > > 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 <ah...@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 <lt...@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 <lt...@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
> >
> > ---------------------------------------------------------------------
> > 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


Re: maven 1.0.2 to 1.1 beta 3

Posted by emerson cargnin <ec...@gmail.com>.
Hi, thanks, but actually I haven't got any of them in my jre/lib/ext,
and I didn't have when I run 1.0.2 and it worked alright.

I have two other questions if you all allow me:

1- Now with 1.1 beta 3 it seems that checkstyle report generation
takes ages (really, at least 5 minutes for each sub project).

2- when running multiproject:site it seems that dependencies generated
by other java versions are not compatible, so that i need to run
multiproject:intall before running site to have it updated. The site
is not suppose to update the jar for all modules being built?

thanks a lot guys
Emerson

On 20/04/07, Lukas Theussl <lt...@apache.org> wrote:
> http://emma.sourceforge.net/faq.html#q.antfailure
>
> HTH,
> -Lukas
>
>
> emerson cargnin wrote:
> > 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 <ah...@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 <lt...@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 <lt...@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
>
> ---------------------------------------------------------------------
> 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


Re: maven 1.0.2 to 1.1 beta 3

Posted by Lukas Theussl <lt...@apache.org>.
http://emma.sourceforge.net/faq.html#q.antfailure

HTH,
-Lukas


emerson cargnin wrote:
> 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 <ah...@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 <lt...@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 <lt...@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

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


Re: maven 1.0.2 to 1.1 beta 3

Posted by emerson cargnin <ec...@gmail.com>.
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 <ah...@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 <lt...@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 <lt...@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


Re: maven 1.0.2 to 1.1 beta 3

Posted by Arnaud HERITIER <ah...@gmail.com>.
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 <lt...@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 <lt...@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
>
>

Re: maven 1.0.2 to 1.1 beta 3

Posted by Lukas Theussl <lt...@apache.org>.
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 <lt...@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


Re: maven 1.0.2 to 1.1 beta 3

Posted by Arnaud HERITIER <ah...@gmail.com>.
<scope>provided</scope> isn't supported in maven 1
Your pom is for maven 2 ?

Arnaud

On 12/04/07, Lukas Theussl <lt...@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
>
>

Re: maven 1.0.2 to 1.1 beta 3

Posted by Lukas Theussl <lt...@apache.org>.
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