Hi Eric,

 

The http://www.fitnesse.org/PluginsPage.MavenPlugIn is a maven1 plugin.

 

At this time I'm working hard to release the first version (I may finish the
documentation this night). But it's functional and actually used by one
project. 

That the reason why, it's only available in the mojo snapshot repository:
http://snapshots.repository.codehaus.org/ 

More exactly
http://snapshots.repository.codehaus.org/org/codehaus/mojo/fitnesse-maven-pl
ugin/ 

I upload the snapshot documentation as often as possible.

 

When I started with Maven2, I used the online documentation and friends
(thanks to Vincent and Arnaud).

The "Better builds with Maven" is the best book I knew, but I am quite a
newbie with Maven2, and there are better advisors than me on this mailing
list.

 

About the fitnesse dependencies it depends of the usage.

In our case, it's executed by non developer people, so our Fitnesse must be
available with the FitNesse IHM. So we must maintain the classpath in the
Wiki page, in this case maintain the POM dependencies for functional tests
is a replication for us :-).

If your prefer to use the POM dependencies, it's easy for me to add a plugin
configuration property <classPathProvider> that allows a couple of value :

*         Fitnesse (default): that will use the actual behavior

*         Maven: that use the POM dependencies instead 

Does it answer to your needs?

 

Regards,

Philippe 

 

PS: I don't intend to work in Asia for the time being ;-)

 

 

-----Original Message-----
From: Eric Torreborre [mailto:[EMAIL PROTECTED] 
Sent: vendredi 2 mars 2007 02:05
To: Maven Users List
Subject: RE: Using the POM classpath for integration testing

 

Hi Philippe,

 

Thanks for your answer.

 

I had not seen -your- maven-fitnesse-plugin, but this one

http://www.fitnesse.org/PluginsPage.MavenPlugIn on the web.

 

Since I couldn't make it work with maven2 I decided to go for it and

write one by myself (a good way to start learning more about Maven at

the same time).

But of course, I would rather prefer using yours and enhancing it if

necessary. 

 

It is not on the maven repository (http://mvnrepository.com/), nor on

the mojo website (http://mojo.codehaus.org/)

Is svn the only standard way to get it?

 

Regarding the Fitnesse dependencies, it looks like too much replication

to me. I would really prefer this content.txt file to be generated from

the POM.

This is all the beauty of having a POM, isn't it?

 

An aside question: I am really new to Maven2 and I find it sometimes

difficult to understand and configure. What's, according to you, the

best tutorial/guide/book for Maven2 (I have found the "Better builds

with Maven" book online that was quite useful, but not crystal clear to

me)? This would help me to introduce it to my coworkers.

 

Thanks,

 

Eric.

 

Yes, we met on the SITI project, and I remember thinking that I would

have liked very much to work with you!

I am in Tokyo now (good place to learn Ruby isn't it?), so if you want

to consider a move to Asia, just drop me an email ;-)

 

-----Original Message-----

From: Philippe Kernevez [mailto:[EMAIL PROTECTED] 

Sent: Friday, March 02, 2007 2:36 AM

To: 'Maven Users List'

Subject: RE: Using the POM classpath for integration testing

 

Hi Eric,

 

Do you speak about the fitnesse-maven-plugin ? I suppose that's the

case.

 

The plugin doesn't use the POM dependencies because they are supposed to

be specified in the Fitnesse page. 

The plugin provides a solution to change the server classpath (with

string substitution), this allows to have an unix fitnesse server and to

run the tests on a windows plateform.

I didn't write any documentation yet :-( But, this is my next task.

You may yet find an example with this sample:

https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/fitnesse-maven-plu

gin/

src/it/minimalist/pom.xml 

 

The <classPathSubstitutions> tag allows configuring the plugin for this

use.

 

You can also add dependencies to your plugin (like Fitnesse), they will

be add to Fitnesse dependencies. In your case, you will have to define

twice your dependency, and it wont be nice.

 

We could and a tag to know if we want to add the current project

dependencies to FitNesse. 

 

Does it answer to your question?

 

Philippe Kernevez

 

(Did we meet in Paris in SITI project ?)

 

 

 

-----Original Message-----

From: Eric Torreborre [mailto:[EMAIL PROTECTED]

Sent: jeudi 1 mars 2007 07:46

To: users@maven.apache.org

Subject: Using the POM classpath for integration testing

 

Hi,

 

I have written a simple maven plugin that runs Fitnesse pages during the

integration-test phase.

However, it looks like this plugin, when executed, does not find the

classes that should be provided by the POM (along with dependencies).

 

Is there is configuration that should be done, in order to make the

plugin aware of the POM classes?

I am certainly missing something very simple, I just don't know what!

 

Thanks,

 

Eric.

 

Eric TORREBORRE

Senior Technical Analyst

 

 

Professional Services Asia-Pacific

.................................................

C A L Y P S O

Level 15, JT Building.

 

2-2-1 Toranomon, Minato-ku,

 

Tokyo 105-0001

OFFICE   +81-(0)3-5114-8262

FAX       +81-(0)3-5114-8263

.................................................

www.calypso.com

 

This electronic-mail might contain confidential information intended

only for the use by the entity named. If the reader of this message is

not the intended recipient, the reader is hereby notified that any

dissemination, distribution or copying is strictly prohibited.

 

 

 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]

 

 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]

 

 

Reply via email to