Hi Yván,

I don't understand what is your problem.
I don't have any trouble on my mac (java6 + maven 3.0.3), Windows XP (java
5 + maven 2.0.2) and on Linux (cloudbees, java 6 + maven 3.0.4) to build
the 1.0.
https://pkernevez.ci.cloudbees.com/job/Fitness-Maven-Plugin_1.0/

There isn't any special parameter or profile.

What is your plateform ?

When I configure cloudbees on the tags, I had some trouble due to a
caracter " " in the path of the project's folder. Do you have spaces in
your path ?

Please give me the result of the command : "mvn -version"

During the investigation, you may use the binary jar that is available.

Regards,
Philippe

On Tue, Jul 31, 2012 at 5:11 AM, Iván Pazmiño <[email protected]> wrote:

>  Hello again,
>
> I've run the following commands
>  mvn clean install
>  mvn clean install -DintegrationTest=false
>  mvn clean install -DintegrationTest=true
>
> and all have failed to execute the same two tests as in the tag Running
> org.codehaus.mojo.fitnesse.FitnesseRunnerMojoTest
> Tests run: 21, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 1.637 sec
> <<< FAILURE!
> ...
>
> Failed tests:
> testExecuteCommandWithFileOutputAndDisplayAndFailOnError(org.codehaus.mojo.fitnesse.FitnesseRunnerMojoTest):
> mock object mockLog: expected method was not invoked
> testExecuteCommandWithFileOutputAndDisplayAndNoFailOnError(org.codehaus.mojo.fitnesse.FitnesseRunnerMojoTest)
>
> and the problem is again the mock's method invocation
>
>
> junit.framework.AssertionFailedError: mock object mockLog: expected method
> was not invoked
> expected once: error( a string containing "Java" ), is void
>     at org.jmock.core.AbstractDynamicMock.verify(Unknown Source)
>     at org.jmock.Mock.verify(Unknown Source)
>     at org.jmock.core.VerifyingTestCase.verify(Unknown Source)
>     at
> org.codehaus.mojo.fitnesse.FitnesseRunnerMojoTest.testExecuteCommandWithFileOutputAndDisplayAndFailOnError(FitnesseRunnerMojoTest.java:436)
>
>
> All I've done is downloaded the code and run the build. Do I need
> something extra on environment or any flag?
>
> Regards,
> Iván
>
> -------- Original Message --------  Subject: Re: [mojo-dev] [MFITNESSE]
> Build fails  Date: Mon, 30 Jul 2012 21:43:43 -0500  From: Iván Pazmiño
> <[email protected]> <[email protected]>  To: [email protected]  CC:
> Philippe Kernévez <[email protected]> <[email protected]>
>
>
> Hello Philippe, nice to meet you and thanks for your reply.
>
> I got the source from
>
> https://svn.codehaus.org/mojo/tags/fitnesse-maven-plugin-1.0
>
> as stated in the project documentation at
> http://mojo.codehaus.org/fitnesse-maven-plugin/source-repository.html,
> not from the trunk as I see the Jenkins build does. I'll try that one
> instead.
>
> I don't see any profile in the tag to activate / deactivate the
> integration tests so I think I'm running them. The error I got there is
> completely different as it marks an expected method invocation in a mock
> object which never happens.
>
> Regards,
> Iván
>
> Iván Pazmiño <[email protected]>
> On 30/07/12 04:44, Philippe Kernévez wrote:
>
> Hi,
>
>  I developed that plugin some years ago.
> At this time, it is not actively developed.
> I plan to upgrade the fitness version, but don't find time to do it.
>
>  On my laptop (mac) I succeed to built the trunk without integration
> tests and I had a failure when running the iteration tests.
> Are you speaking of the same error ? And which branch do you try to built ?
>
>  [INFO] --- maven-invoker-plugin:1.5:run (integration-test-20050731) @
> fitnesse-maven-plugin ---
> [WARNING] File encoding has not been set, using platform encoding
> MacRoman, i.e. build is platform dependent!
> [INFO] Building: minimalist/pom.xml
> [INFO] ..FAILED (20.1 s)
> [INFO]   The post-build script did not succeed. Reports list not created
> [INFO] Building: multiproject/pom.xml
> [INFO] ..FAILED (14.6 s)
> [INFO]   The post-build script did not succeed. Reports list not created
> [INFO] Building: simple/pom.xml
> [INFO] ..FAILED (8.5 s)
> [INFO]   The post-build script did not succeed. Reports list not created
> [INFO] -------------------------------------------------
> [INFO] Build Summary:
>
>  I create a build plan on cloudbees for the trunk.
> Without integration test it succeed in too :
> https://pkernevez.ci.cloudbees.com/job/Fitness-Maven-Plugin/2/
>
>  With the integration test, I had the same error as my laptop
> https://pkernevez.ci.cloudbees.com/job/Fitness-Maven-Plugin/4/console
>
>  I would have a look to see what's wrong on it, and fix that error.
>
>  Regards,
> Philippe
>
>
> On Sun, Jul 29, 2012 at 4:41 PM, Iván Pazmiño <[email protected]> wrote:
>
>> Hi,
>>
>> I've been taking a look around fitnesse in order to execute acceptance
>> test as part of the build. I've read about the Trinidad plugin but its
>> repository seems to be offline. I've found an entry (1) where retaking the
>> project at mojo codehaus would be advised, but last intentional commit was
>> done four years ago.
>>
>> Right now the build is failing as some mocks are not registering the
>> expected behavior (2).
>>
>> Is there still any interest in awaking this project?
>>
>> Best regards,
>> Iván Pazmiño
>>
>> (1) http://maven.40175.n5.nabble.com/Maven-Fitnesse-plugin-td4399947.html
>> (2) junit.framework.AssertionFailedError: mock object mockLog: expected
>> method was not invoked
>> expected once: error( a string containing "Java" ), is void
>>     at org.jmock.core.AbstractDynamicMock.verify(Unknown Source)
>>     at org.jmock.Mock.verify(Unknown Source)
>>     at org.jmock.core.VerifyingTestCase.verify(Unknown Source)
>>     at ...
>>
>> --
>> Iván Pazmiño <[email protected] <mailto:[email protected]>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>
>  --
> Philippe Kernévez
> Directeur technique (Suisse)
> [email protected]
> +41 79 888 33 32
> Retrouvez OCTO sur OCTO Talk : http://blog.octo.com
> OCTO Technology http://www.octo.com
>
>
>
>
>
>


-- 
Philippe Kernévez
Directeur technique (Suisse)
[email protected]
+41 79 888 33 32
Retrouvez OCTO sur OCTO Talk : http://blog.octo.com
OCTO Technology http://www.octo.com

Reply via email to