Using a ressources directory for tests

2006-07-12 Thread Sebastien Pennec
Hello, I am pretty new to Maven 2. The project I am working on contains a ressource directory that we use for unit tests. It's located where the Maven convention wants it to be: /src/test/ressources Unfortunately, I can't get Maven to copy its content to the target directory. Using the

Re: Using a ressources directory for tests

2006-07-12 Thread Sebastien Pennec
How could I not see that ;) Thanks! Jo Vandermeeren a écrit : Maybe that's because maven expects you to talk English? ;) There is no such thing as ressources.. You might want to try resources.. On 7/12/06, Sebastien Pennec [EMAIL PROTECTED] wrote: Hello, I am pretty new to Maven 2

[M2]Surefire: add Console output to the reports?

2006-07-13 Thread Sebastien Pennec
Hello, I'd like the Surefire plug-in not only to run tests and create a text file with the results, but also to include what's sent to the console during the test. I've browsed through the surefire docs and config params and I haven't found any parameter that does that... Has anybody done

How to specify what's included in the jar with maven-jar-plugin?

2006-07-14 Thread Sebastien Pennec
test classes in the jar? Thanks a lot, Sebastien -- Sebastien Pennec [EMAIL PROTECTED] LOGBack: the generic, reliable, fast and flexible logging library for Java. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: How to specify what's included in the jar with maven-jar-plugin?

2006-07-14 Thread Sebastien Pennec
hope this helps. -- Toli Kuznets Marketcetera.org: Open-Source Trading Platform: download.run.trade. On 7/14/06, Sebastien Pennec [EMAIL PROTECTED] wrote: Hello, I am trying to build a multi-module project. One module (core) is needed by another module. When I run mvn install, a jar

[M2] Assembly: scope of dependencies

2006-07-17 Thread Sebastien Pennec
scope and not all of them? Does it think that since a same groupID+artifactID is already included in compile scope, it doesn't need to package the jar with the test classifier? Thanks for your help... Sebastien -- Sebastien Pennec [EMAIL PROTECTED] LOGBack: the generic, reliable, fast

Re: [M2] Assembly: scope of dependencies

2006-07-17 Thread Sebastien Pennec
Looks like updating to version 2.1 of the assembly plug-in corrected the problem... -- Sebastien Pennec [EMAIL PROTECTED] LOGBack: the generic, reliable, fast and flexible logging library for Java. - To unsubscribe, e-mail

[M2] Insert variables in xdoc/apt files

2006-07-17 Thread Sebastien Pennec
, just some kind of ${project.version} variable that I could insert in a download link, for example. Even in the Maven svn repository, people use xdoc or apt files without any variables. Is it just impossible, or have I not searched enough? Thanks :) Sebastien -- Sebastien Pennec [EMAIL PROTECTED

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Sebastien Pennec
your files before running the site goal. Sebastien Pennec wrote: Hi, I've been battling with xdoc and apt files for some hours now, and looking around on the web, too: I haven't found any example of xdoc/apt file with variable insertions in them. I don't imagine this could _not_

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Sebastien Pennec
that the assembly expects it to be. Sebastien Pennec wrote: Thanks for you answer, Edwin, I don't really understand what's the common point between filtering files and inserting variables in xdoc files... To make a download page, I can surely make a filter, or just do so that the assembly plug

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Sebastien Pennec
to search into the convention-based src/site/xdoc directory... Can you try that and tell me if you have better results? Sebastien Alexander Hars a écrit : Hi, If you are successful at doing that, could you post your solution? Thanks, Alexander Sebastien Pennec wrote: ok, I'll try

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Sebastien Pennec
: POM: Andrew Williams a écrit : why not use src/site/xdoc as the targetPath and use, say src/site/unfiltered-xdoc as the source? That way you do not need to reconfigure the site-plugin... Andy Sebastien Pennec wrote: Alexander, Until now, I've been successful at filtering the values

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Sebastien Pennec
... I've been too fast on the ctrl-enter shortcut, sorry. So, here is what works for me: In the POM: resources resource directorysrc/site/xdocTemplates/directory targetPathgenerated-site/targetPath filteringtrue/filtering /resource

[M2]assembly plugin: finalName issue

2006-07-20 Thread Sebastien Pennec
rid of this -src thing? Thanks, Sebastien -- Sebastien Pennec [EMAIL PROTECTED] LOGBack: the generic, reliable, fast and flexible logging library for Java. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [M2]assembly plugin: finalName issue

2006-07-20 Thread Sebastien Pennec
if worked perfectly, thanks! :) Sebastien Stéphane Bouchet a écrit : hi, if src is the id specified in your assembly XML file, try add appendAssemblyIdfalse/appendAssemblyId in your assembly configuration's section in your pom.xml. Stéphane. Sebastien Pennec a écrit : Hello, I've

[M2]Release plugin and host authentication

2006-07-21 Thread Sebastien Pennec
/sshExecutable scpExecutablepscp/scpExecutable !--sshArgsother arguments you may need/sshArgs -- /configuration /server Does anybody know how to be able to answer 'yes' to that question? Or just to get rid of it? Thanks, Sebastien -- Sebastien Pennec [EMAIL PROTECTED

Re: [M2]Release plugin and host authentication

2006-07-21 Thread Sebastien Pennec
anything, and the action never stops. Having the password present or not in the settings file, where the server is declared doesn't change anything. Sebastien dcabasson a écrit : Sebastien Pennec wrote: Does anybody know how to be able to answer 'yes' to that question? Or just to get rid

Assembly module: binary exlusion

2006-08-10 Thread Sebastien Pennec
Hello, I'm creating an assembly based on a few modules. To include the dependencies of all modules in a module_name/lib directory, I'm using the moduleSets/moduleSet elements in my assembly descriptor. Unfortunately, the jar of the artifact that is being assembled is always included in the

Site:deploy execution

2006-08-15 Thread Sebastien Pennec
Hello, I've had a problem today with the site:deploy command. My project had a parent pom, and 4 sub-modules. A distribution management element is present in the parent pom, and not in the sub-modules. What I wanted to do is execute site:deploy on the parent pom and not have the site commande

Re: Site:deploy execution

2006-08-15 Thread Sebastien Pennec
Actually, nabble connected the mails while I thought it would handle them as two threads. Sorry bout that... Sébastien thiago a écrit : Sorry, as i'm new to maven, I have no idea... Why you replied my question with another question? This should be another post! Sebastien Pennec wrote

Re: Site:deploy execution

2006-08-15 Thread Sebastien Pennec
Hello Milos, That's exactly what I wanted... although it's not really where I was looking for it :) Thanks, Sébastien Milos Kleint a écrit : Sebastien Pennec wrote: Hello, I've had a problem today with the site:deploy command. My project had a parent pom, and 4 sub-modules

Re: m2/eclipse/wtp configuration + tapestry

2006-09-05 Thread Sebastien Pennec
Hello, Let me bring this topic up, since it appears that it doesn't do the trick if the project is managed with a VC like svn. By following the instructions, the sync by libcopy doesn't work, because of an error message saying: Errors during build. Errors running builder LibCopy builder

Re: m2/eclipse/wtp configuration + tapestry

2006-09-05 Thread Sebastien Pennec
of my head, but it works now, as I am doing the development with WTP1.5, Tapestry4, libcopy and Subversion. What was it??? 2006/9/5, Sebastien Pennec [EMAIL PROTECTED]: Hello, Let me bring this topic up, since it appears that it doesn't do the trick if the project is managed with a VC like

Creating a FAQ with FML format

2006-09-14 Thread Sebastien Pennec
Hello, I've created a faq using the fml format, and I just can't get to display an xml example in the answer element. Here's what I'm trying to do: (skipping some elements) answer p some blablah /p pre lt;element1gt; ... lt;param1 value=value /gt; ...

Re: Creating a FAQ with FML format

2006-09-14 Thread Sebastien Pennec
... Do you have any idea about what does wrong? Sébastien Jeff Jensen a écrit : It is basically an xdoc doc, so use CDATA. See #9 here: http://jakarta.apache.org/site/jakarta-site2.html Quoting Sebastien Pennec [EMAIL PROTECTED]: Hello, I've created a faq using the fml format, and I just

Re: Creating a FAQ with FML format

2006-09-14 Thread Sebastien Pennec
Jeff Jensen a écrit : Did you wrap it in the source tags? Quoting Sebastien Pennec [EMAIL PROTECTED]: Hello Jeff, Thanks for your answer. However, when I do as said in the link, here's what gets printed: ![CDATA[ appender name=SOCKET class=ch.qos.logback.classic.net.SocketAppender

Unable to download from central repo

2007-02-05 Thread Sebastien Pennec
Hello, I'm in front of a pretty strange situation. I have some jars that are on the central repo, meaning that I can see them on the appropriate pages [1] and [2]. But when I include them in a project, and launch some goals (actuelly jetty:run), they are not downloaded and maven 2.0.4

Re: Unable to download from central repo

2007-02-05 Thread Sebastien Pennec
Hi again, I've found where the problem is: I was using a mirror[1] that has not been updated. Since we've released version 0.9 on January 31st, that is 6 days ago, the mirror might have some sync issues. Cheers, Sébastien [1] http://mirrors.dotsrc.org/maven2 Sebastien Pennec wrote: Hello

Eclipse plugin development with Maven 2

2007-02-06 Thread Sebastien Pennec
Hi there, Anybody in the list has used Maven 2 to develop plugins for Eclipse? Is there any best practice related to this kind of project that I should know about before I start? Any advice appreciated :) Sébastien - To

Re: Eclipse plugin development with Maven 2

2007-02-06 Thread Sebastien Pennec
http://docs.codehaus.org/display/MAVENUSER/Eclipse+Plugin http://docs.codehaus.org/display/MAVEN/Barriers+to+Building+Eclipse+with+Maven Cheers, Stéphane Sebastien Pennec a écrit : Hi there, Anybody in the list has used Maven 2 to develop plugins for Eclipse? Is there any best practice

pde-plugin question

2007-02-21 Thread Sebastien Pennec
Hi all, I've been having a strange error when developing a plugin that uses JDK 1.5: the compilation fails because its target is JDK 1.3. My pom.xml contains only a simple pde-plugin declaration, like this: build plugins plugin groupIdorg.codehaus.mojo/groupId

Re: pde-plugin question

2007-02-21 Thread Sebastien Pennec
, Sebastien Pennec [EMAIL PROTECTED] wrote: Hi all, I've been having a strange error when developing a plugin that uses JDK 1.5: the compilation fails because its target is JDK 1.3. My pom.xml contains only a simple pde-plugin declaration, like this: build plugins plugin