Surefire plugin problem while trying to build maven2 project

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Surefire plugin problem while trying to build maven2 project

aectann
Hi there! I have just established hudson as CI server for project I
currently work on. Project built by maven 2. When I try to build it
with hudson there is   strange error in the log, just after all tests
finished I get:

-------------------------------------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-surefire-plugin:2.4-collab-SNAPSHOT:test':
Failed to read /home/aectann/.hudson/jobs/Amplafi/workspace/amplafi/amplafi-core/target/surefire-reports/TEST-com.amplafi.xml.HtmlCleanerAdapterTest.xml
For input string: "1,197,826,236.713"
-------------------------------------------------------------------------------------------------------

if i try to execute "mvn install" manually all works fine. Can anybody
suppose where the problem is?
Thank you for you consideration.


P.S.

My system configuration is (as provided by mvn -version):
Maven version: 2.0.7
Java version: 1.6.0
OS name: "linux" version: "2.6.22.5-31-default" arch: "i386"

Hudson runs on Tomcat 5.5.25

File mentioned in error message is in attachment.

--
Aectann aka B.K.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

TEST-com.amplafi.xml.HtmlCleanerAdapterTest.xml (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Surefire plugin problem while trying to build maven2 project

Andreas Andreou
Could be a file permission problem...

I remember running eclipse once as root... I then had to change ownership
in several workspace files before being able to rerun eclipse as a
normal user...

On Dec 16, 2007 8:04 PM, Konstantin Burov <[hidden email]> wrote:

> Hi there! I have just established hudson as CI server for project I
> currently work on. Project built by maven 2. When I try to build it
> with hudson there is   strange error in the log, just after all tests
> finished I get:
>
> -------------------------------------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-surefire-plugin:2.4-collab-SNAPSHOT:test':
> Failed to read /home/aectann/.hudson/jobs/Amplafi/workspace/amplafi/amplafi-core/target/surefire-reports/TEST-com.amplafi.xml.HtmlCleanerAdapterTest.xml
> For input string: "1,197,826,236.713"
> -------------------------------------------------------------------------------------------------------
>
> if i try to execute "mvn install" manually all works fine. Can anybody
> suppose where the problem is?
> Thank you for you consideration.
>
>
> P.S.
>
> My system configuration is (as provided by mvn -version):
> Maven version: 2.0.7
> Java version: 1.6.0
> OS name: "linux" version: "2.6.22.5-31-default" arch: "i386"
>
> Hudson runs on Tomcat 5.5.25
>
> File mentioned in error message is in attachment.
>
> --
> Aectann aka B.K.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>



--
Andreas Andreou - [hidden email] - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Surefire plugin problem while trying to build maven2 project

Kohsuke Kawaguchi
Administrator
In reply to this post by aectann

I believe this is #1085 that's just fixed in 1.161.

Konstantin Burov wrote:

> Hi there! I have just established hudson as CI server for project I
> currently work on. Project built by maven 2. When I try to build it
> with hudson there is   strange error in the log, just after all tests
> finished I get:
>
> -------------------------------------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-surefire-plugin:2.4-collab-SNAPSHOT:test':
> Failed to read /home/aectann/.hudson/jobs/Amplafi/workspace/amplafi/amplafi-core/target/surefire-reports/TEST-com.amplafi.xml.HtmlCleanerAdapterTest.xml
> For input string: "1,197,826,236.713"
> -------------------------------------------------------------------------------------------------------
>
> if i try to execute "mvn install" manually all works fine. Can anybody
> suppose where the problem is?
> Thank you for you consideration.
>
>
> P.S.
>
> My system configuration is (as provided by mvn -version):
> Maven version: 2.0.7
> Java version: 1.6.0
> OS name: "linux" version: "2.6.22.5-31-default" arch: "i386"
>
> Hudson runs on Tomcat 5.5.25
>
> File mentioned in error message is in attachment.
>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Loading...