How to play with 2 repositories ?

2013-02-27 Thread Gilles Scokart
settings files so that when I switch the config I keep my entire local repository useable, independantly of the place from where I downloaded it. - Gilles Scokart -- View this message in context: http://maven.40175.n5.nabble.com/How-to-play-with-2-repositories-tp5748541.html Sent from

Use of ${version} in published pom

2007-05-21 Thread Gilles Scokart
property implicitely defined? Gilles Scokart -- View this message in context: http://www.nabble.com/Use-of-%24%7Bversion%7D-in-published-pom-tf3790660s177.html#a10720048 Sent from the Maven - Users mailing list archive at Nabble.com

Maven users in the industry

2007-04-11 Thread Gilles Scokart
Hi, Next week I have to make a presentation to my collegues. I will try to 'sell' maven, and I would like to say something like Look, Maven is now very used in the industry, It's for instance used by Did you know any companies using Maven, more particularily in Belgium and Europe, but

Building tool community feedback

2006-10-16 Thread Gilles Scokart
of the existing tools or with some new tools). Thanks, Gilles Scokart -- View this message in context: http://www.nabble.com/Building-tool-community-feedback-tf2450373.html#a6829671 Sent from the Maven - Users mailing list archive at Nabble.com

Re: Expansion of maven variables

2006-07-25 Thread Gilles Scokart
${project.classpathElements} can be used when your parameter is a List . Here you want to place it in a String. Moreover, I think that the expension done into the pom, and the things done in the plugin is different. So, there is maybe some differences. -- View this message in context:

Re: Maven Build Notification

2006-07-25 Thread Gilles Scokart
You can use the antrun plugin to send mail at a given phase of your build. But I don't think you can have this when your build fails. When the maven build fail, it stop. I don't think there is any listener. Did you search in jira to see if there is a feature request? If not, you should

Re: Maven Release Plugin Version Problem

2006-07-06 Thread Gilles Scokart
). Note that when there is no dependencies between submodules, the release plugin works correctly with multi-module project. By the way, did you tried similar things with only 1 level? In that case, the maven is maybe able to find sibbling module. Gilles Scokart -- View this message in context: http

Re: Assembly and multi-levels multi-modules

2006-07-05 Thread Gilles Scokart
is correct as then it will be inherited by all the modules. So the correct place to put together an aggregation is build/target. Any one else doing this and have some hints? If the inheritance is a problem, you can use the inherited tag when configuring your plugin. Gilles Scokart

acces to svn.apache.org

2006-06-30 Thread Gilles Scokart
to have this problem (since yesterday. It worked 2 or 3 months ago). Thanks, Gilles Scokart -- View this message in context: http://www.nabble.com/acces-to-svn.apache.org-tf1871896.html#a5116494 Sent from the Maven - Users forum at Nabble.com

Re: acces to svn.apache.org

2006-06-30 Thread Gilles Scokart
I did, without success. Thanks for your answer anyway. It means something is wrong on my side. I will try with an other network connection when I have the oportunity (in a few days, unfortunately). Thanks, Gilles Scokart -- View this message in context: http://www.nabble.com/acces

Re: m2 How to add generated source to the compilation path from a new pl

2006-04-19 Thread Gilles Scokart
See http://maven.apache.org/guides/mini/guide-generating-sources.html Namely : project.addCompileSourceRoot( outputDirectory ); at the end of the code sample. Gilles Scokart -- View this message in context: http://www.nabble.com/m2-How-to-add-generated-source-to-the-compilation-path-from

[M2] Does runtime dependencies really exist ?

2006-03-23 Thread Gilles Scokart
In Maven 2, compile dependencies are transitive. It means that the libraries called from the library I use are included in the compile path. And so transitively... At the end, if all libraries are build and distributed with maven, all the libraries I need at runtime will transitivelly be in

Re: what is dependencyManagement used for?

2005-12-23 Thread Gilles Scokart
No, it is possible. Just declare your dependencies in the parent pom (directly into dependencies not in dependencyManagment) and they will be inherited in all subproject. Could be usefull for some libraries like junit or log4j used accross all modules of an entire product. From: [EMAIL

Guideline to test Pojo

2005-12-06 Thread Gilles Scokart
I have written a pojo, and I would like to know what is the best method to test it. I have some unit test of it, but I would like to test his integration inside maven. The aproach I have used is to use my own pojo inside the pom.xml of my project. That provide me a test of a concrete case.

Re: [m2] install plugin

2005-10-12 Thread Gilles Scokart
alongside the jar named something similar to: artifactId-version.pom If that's missing, there's a problem. 'm2 install' should handle installing the primary artifact, attached artifacts, and metadata - including the POM. - -john Gilles Scokart wrote: | When I try to use the install plugin, I see

[m2] install plugin

2005-10-11 Thread Gilles Scokart
When I try to use the install plugin, I see that the jar are installed in the local respository, but not the pom.xml. Is it normal? Did I miss somthing? Should I use an other plugin to install the pom.xml ? Thanks, Gilles Scokart

Re: [M2] Extensions, module and cycle

2005-10-10 Thread Gilles Scokart
Usually this happens when a plugin project uses itself to build itself. Might also be because you define a dependency to the plugin AND the plugin itself (using build/plugins/plugin). -- Kenney Indeed, I 'import' the module as a dependency AND as an extension. Is it the problem? Is there a

[M2] Extensions, module and cycle

2005-10-07 Thread Gilles Scokart
org.nextmock:ant-generator -- org.nextmock:ant-generator But I don't see why there is a cycle. It should not be a problem. generator can be built alone, but test or the parent project can not be build. Why ? Any idea ? Thanks, Gilles Scokart

Logging/tracing conventions

2005-09-28 Thread Gilles Scokart
When writting a Mojo, what are the standard convention to trace/log [debug] messages ? Gilles Scokart _ Protégez votre boîte de réception: Phishing : comment l'identifier, le signaler et l'empêcher http://www.fr.msn.be

Re: Logging/tracing conventions

2005-09-28 Thread Gilles Scokart
Thanks, but what are the guidelines on when to log at which level ? I guess it's a good idea that all plugins follow the same guidelines. What is the best practice for that ? And what if our mojo call external code that is not (and should not be) aware of running into a maven plugin ?

[m2] Mojo, subproject and self-reference

2005-09-26 Thread Gilles Scokart
I'm writting a mock generator and I need advice on how to organise my project. Amongst other module, I have : - The genrator itself - The runtime library used by the genrated code - The Mojo that will launch the genrator from + All the unit test. I wonder how to organise this into modules?

[m2] site:deploy behind a proxy

2005-09-16 Thread Gilles Scokart
I try to use site:deploy behind a proxy, but I receive an UnknownHostException. I have verified if the hostname was accessible from my machine by using putty, and it works. I just had to configure the HTTP Proxy in putty. I use the maven 2-alpha 3 version. I have very poor knowledge in

RE: [m2] site:deploy behind a proxy

2005-09-16 Thread Gilles Scokart
I have now found why it works with putty. In putty, there is an option Do DNS lookup at proxy end. This option is set to auto by default. If I set it to no, it doesn't work. Is it possible to configure a similar option with the maven plugin ? From: Gilles Scokart [EMAIL PROTECTED

RE: [m2] site:deploy behind a proxy

2005-09-16 Thread Gilles Scokart
. In putty, there is an option Do DNS lookup at proxy end. This option is set to auto by default. If I set it to no, it doesn't work. Is it possible to configure a similar option with the maven plugin ? From: Gilles Scokart [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org

[m2] Launching plugin with non default configuration

2005-08-30 Thread Gilles Scokart
Hello, I try [unsuccessfully] to launch a plugin with a non default configuration. My project generates mock source code by analysing .class files. In order to test it, I have written some classes that must be compiled before I launch my generator. Thus, I would like to launch a compiler on

[m2] Use variables in configuration of a plug in

2005-08-29 Thread Gilles Scokart
behaviour that can be used in any plugin or is it specific to antrun ? Where can we found the list of defined variables ? Why is the project.runtimeClasspathElements not set correctly? Is it a bug? Did I made something wrong? Thanks, Gilles Scokart

Re: [m2] Use variables in configuration of a plug in

2005-08-29 Thread Gilles Scokart
I have tried to use ${project.compileClasspathElements} into the configuration tag of a plugin (antrun), and it seems to work. How did you use it? Could you post the pom.xml? I will try to clean it a little bit, then I will post it here. But when I use

Re: [m2] Use variables in configuration of a plug in

2005-08-29 Thread Gilles Scokart
Here is a sample pom.xml When I execute it, I actually obtain this in the result.txt file : runtimeclasspath = C:\Dev\cygwin\home\ScokartG\project\testantrun\target\classes;C:\dev\data\maven2_repository\log4j\log