Plugins and way to find the current phase

2008-08-19 Thread Thomas Darbois
Hello I'm writing a plugin that can do stuff at any phase, by default it's at process-sources, but the user can use this plugin at any phase. For one specific case, the plugin need to know in which phase he currently is, because one specific parameter is only settable if the current phase is

RE: Versions of plugins used ...

2008-07-24 Thread Thomas Darbois
juillet 2008 00:50 À : users@maven.apache.org Objet : Re: Versions of plugins used ... On Thu, Jul 24, 2008 at 07:31:47AM +1200, Michael McCallum wrote: On Thu, 24 Jul 2008 07:15:48 Thomas Darbois wrote: The best way to avoid that problem is to use a parent pom that define pluginmanagement so

RE : Versions of plugins used ...

2008-07-23 Thread Thomas Darbois
The best way to avoid that problem is to use a parent pom that define pluginmanagement so that each plugin used is clearly defined for your modules. You need that all the pom inherit in some way from this parent pom. Tomas De : Julien Stern [EMAIL

RE: scope Optional

2008-07-21 Thread Thomas Darbois
PROTECTED] -Message d'origine- De : Wendy Smoak [mailto:[EMAIL PROTECTED] Envoyé : vendredi 18 juillet 2008 17:37 À : Maven Users List Objet : Re: scope Optional On Fri, Jul 18, 2008 at 8:21 AM, Thomas Darbois [EMAIL PROTECTED] wrote: I'm having some trouble with the scope Optional

RE: Include manually a library

2008-05-05 Thread Thomas Darbois
You can use : http://maven.apache.org/ref/2.0.8/maven-model/maven.html#class_dependency dependency groupId.../groupId artifactId.../artifactId version.../version scopesystem/scope systemPathABSOLUTEPATH (for example

RE : maven with flex3

2008-05-03 Thread Thomas Darbois
I'm using Israfil plugin with quite a simple project (several language, tokens ... but only one swf at the end) it works fine. The documentation is great, and you only have to add in configuration all the parameters you are using (and that are not by default) for example the resources for the

RE: Copying package to a directory

2008-04-30 Thread Thomas Darbois
You can also use dependency plugin :) plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId executions execution idcopy/id phaseinstall/phase goals

RE: RE: where to put the 'data' directory for hsqldb?

2008-04-24 Thread Thomas Darbois
You should try to put it in src/main/resources/data and then access it with the same descriptor (jdbc:hsqldb:data/db-name) Tomas Darbois Edifixio Grenoble - Projet ScorWare 04 76 29 89 27 [EMAIL PROTECTED] -Message d'origine- De : oliver.maven [mailto:[EMAIL PROTECTED] Envoyé : jeudi 24

RE: Maven Jar plugin 2.0 : ClassPath in manifest

2008-04-23 Thread Thomas Darbois
project. You could try copying them from the parent. You might also look in the Jira to see if one of the plugins or maven itself has such a problem already reported. You didn't mention which maven version you are using. -- Lee On Tue, Apr 22, 2008 at 3:30 AM, Thomas Darbois [EMAIL PROTECTED] wrote

RE: Maven Jar plugin 2.0 : ClassPath in manifest

2008-04-23 Thread Thomas Darbois
Well i ve found the Jira that is linked to that problem : Tomas Darbois Edifixio Grenoble - Projet ScorWare 04 76 29 89 27 [EMAIL PROTECTED] -Message d'origine- De : Thomas Darbois [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 avril 2008 10:10 À : Maven Users List Objet : RE: Maven

RE: Maven Jar plugin 2.0 : ClassPath in manifest

2008-04-23 Thread Thomas Darbois
Clicked on send before pasting the link: http://jira.codehaus.org/browse/MJAR-61 Tomas Darbois -Message d'origine- De : Thomas Darbois Envoyé : mercredi 23 avril 2008 11:00 À : 'Maven Users List' Objet : RE: Maven Jar plugin 2.0 : ClassPath in manifest Well i ve found the Jira

RE: problems building a multimodule project with EJB3 modules

2008-04-23 Thread Thomas Darbois
Can you show us your (simplified?) pom(s)? I've tried to reproduce your problem and I had no problem at all to package the 2 nd module. And I ve tried several configuration. May be I missed something in your configuration. -Message d'origine- De : Martin Höller [mailto:[EMAIL

Maven Jar plugin 2.0 : ClassPath in manifest

2008-04-22 Thread Thomas Darbois
Hello I'm having trouble with a multi module project that I m working on. I need a class path inside the manifest of the built jar (plugin maven jar and configuration addClasspathtrue/addClasspath in my parent pom defined in pluginManagement). The classpath is perfectly formatted when I'm

RE: multimodule soruce

2008-04-22 Thread Thomas Darbois
Both results are doable with maven assembly plugin. Some possible explanation are available here : http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-source-inclusion-simple.html There is some customisation to do (use your own assembly.xml : 3 differents in case

RE: How to filter test dependency?

2008-04-18 Thread Thomas Darbois
build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId executions

Use of assembly plugin

2008-04-17 Thread Thomas Darbois
I'm ahving some trouble using assembly plugin. With the simpliest example, I'm having all files from the module in double in the assembled jar. Any ideas ? Tomas Darbois Edifixio Grenoble - Projet ScorWare 04 76 29 89 27 [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]

Classpath Manifest and format of libraries. Maven-jar-Plugin

2008-04-17 Thread Thomas Darbois
Hello I'm having trouble with a multi module project that I m working on. I need a class path inside the manifest of the built jar (plugin maven jar and configuration addClasspathtrue/addClasspath in my parent pom defined in pluginmanagement). The classpath is perfectly formatted when I'm