Re: How to customize the Snapshot pattern?

2007-02-14 Thread Alexis Midon
e real versions every time, rather than snapshots? Then you could control the version with your build-id ie 1.2.1-16. 3. Perhaps look into changing the Maven code (make Snapshot an interface, etc) and contributing your changes back for inclusion in future Maven releases. Wayne On 2/14/07, Alexis

How to customize the Snapshot pattern?

2007-02-14 Thread Alexis Midon
Hi all, Here is my problem: I would like to customize the Snapshot pattern. The reason is that my maven project is a small part of a bigger project. The global continious build generates a build-id I want to use as the snapshot identifier. So that my artifacts and all others "external" component

Re: plugin configuration with a fileset possible ?

2006-09-06 Thread Alexis Midon
AFAIK, the configuration tag will use reflection to load your settings. So your tags and classes must comply to the javabeans naming conventions. (see section A.2.3, p2.6.1 of the Mergere book) I do not really know the fileset class structure, but it should be straightforward to compare with the

Re: Why would Maven Not look in local repo?

2006-09-06 Thread Alexis Midon
By the way have you ever used the webapp version of maven-proxy? I always get this null pointer exception: VelocityServlet: Error processing the template java.lang.NullPointerException at org.apache.maven.proxy.servlets.MavenProxyServlet.handleRequest(MavenProxyServlet.java:37)

Re: aggregate project and dependency versions in a single property

2006-09-06 Thread Alexis Midon
Actually for dependecies I already use the dependencyManagement, but is there any solution for the parent declaration? Manat thanks for your answers Joerg! Alexis On 9/6/06, Jörg Schaible <[EMAIL PROTECTED]> wrote: Alexis Midon wrote on Wednesday, September 06, 2006 10:55 AM: > yo

Re: aggregate project and dependency versions in a single property

2006-09-06 Thread Alexis Midon
you get the point! hrrr, damned! do you know any workaround? or version can definitely not be aggregated? On 9/6/06, Jörg Schaible <[EMAIL PROTECTED]> wrote: Hi Alexis, Alexis Midon wrote on Wednesday, September 06, 2006 10:36 AM: > Hi all, > > I've got a classical multi

Re: aggregate project and dependency versions in a single property

2006-09-06 Thread Alexis Midon
Hi all, I've got a classical multi module project with pom inheritance and inter modules dependencies. However my modules are always released together and thus have the same version. Moreover the whole project is always checkout and the tags are correctly set. As a result what I'd like to do is

Re: deactivating a profile

2006-09-04 Thread Alexis Midon
Hi Adam, we've got the same needs. Unfortunately I haven't found out the way to do this. As a result I use the "activate by property" feature. But event his way doesn't not work smoothly. Actually in a parent pom, if I set the property activate.profile1 for example, its value is correctly passed

Re: How to set custom Plugin Parameters?

2006-09-01 Thread Alexis Midon
gt; > > > On 8/31/06, Ovidio Mallo <[EMAIL PROTECTED]> wrote: > > > > > > Hi Alexis, > > > > > > you may try with > > > > > >@parameter expression="${excludes}" > > > > > > in the annotation of your array. I can

Re: How to set custom Plugin Parameters?

2006-09-01 Thread Alexis Midon
I can't test it right now, but I > guess this should work. > > Regards, >Ovidio > > Alexis Midon wrote: > > Hi all, > > > > I'm currently writting a custom plugin, but I've got a problem with the > > parameter settings. > > Here is it:

How to set custom Plugin Parameters?

2006-08-31 Thread Alexis Midon
Hi all, I'm currently writting a custom plugin, but I've got a problem with the parameter settings. Here is it: My plugin declares a String array as follow: /** * The collection of exclude patterns to be applied on the sourceDirectory * * @parameter */ protected String[]

Re: maven-assembly-plugin: weird life cycle

2006-08-31 Thread Alexis Midon
Thanks a lot for your so helpful answer Barrie! Alexis On 8/31/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: On 8/30/06, Alexis Midon <[EMAIL PROTECTED]> wrote: > here is what I have in my parent pom: > > > org.apache.maven.plugins >

Extending a plugin and parameter inheritance

2006-08-30 Thread Alexis Midon
Hi all, I'm developping a custom plugin, its main features already are already implemented by the antrun plugin, my only wish is to add an aggregator like behaviour. To do so my pojo extends the AntRunMojo, my mojo does nothing except adding the @aggregator annotation. Unfortunately when I packa

Re: maven-assembly-plugin: weird life cycle

2006-08-30 Thread Alexis Midon
here is what I have in my parent pom: org.apache.maven.plugins maven-assembly-plugin src/assembly/assembly-2.1.2m.xml On 8/30/06, Alexis Midon

Re: maven-assembly-plugin: weird life cycle

2006-08-30 Thread Alexis Midon
Many thanks for your answer Barrie but could you provide some examples, please? I'm completely lost in this maze :( On 8/29/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: > Included module: murex.middleware:middleware-gui:jar:3.1 does not have an > artifact with a file. Please ensure the packag

looking for maven-dependency-plugin

2006-08-29 Thread Alexis Midon
Hi all, I'd like to use the maven-dependency-plugin but I can't find out its latest release in any repositories! I've checked out ibiblio, maven1. I only found the snapshots on people.apache.org Thanks for your help. Alexis

maven-assembly-plugin: weird life cycle

2006-08-29 Thread Alexis Midon
Hi all, While using the maven-assembly-plugin, I'm always stuck by the fact that if I do not run the package goal in the same build the assembly plugin complains with the following message: Included module: murex.middleware:middleware-gui:jar:3.1 does not have an artifact with a file. Please ens

Snapshot Locations for maven-plugins a maven-assembly-plugin

2006-08-25 Thread Alexis Midon
Hi all, I'd like to use a snapshot version of the assembly plugin, but I can't found out a snapshot repository. Can someone tell me if such a repo is available or should I build a snapshot by myself? Thanks in advance, Alexis

Re: [Review] Please review French FAQ for Maven 2

2006-08-03 Thread Alexis Midon
1. Dans la Table des matières: - "Qu'est ce que c'est que le POM ?" lourd? - "Qu'est ce que c'est que le groupId/artifactId ?" - "Qu'est ce que c'est qu"un SNAPSHOT?" - " Ou/Où se trouvent les dépendances ?" - "Comment utiliser une dépendance qui n'es

Re: Assembly including binaries: Bug on a n depth hierarchy

2006-08-03 Thread Alexis Midon
; } On 8/3/06, Alexis Midon <[EMAIL PROTECTED]> wrote: Hi all, I have the following complex but common pom hierarchy (sample) : The syntax is packaging:pom:level.# pom:pom0.0 /\ / \ /\ / \ /\ jar:pom1.0 pom:

Assembly including binaries: Bug on a n depth hierarchy

2006-08-03 Thread Alexis Midon
Hi all, I have the following complex but common pom hierarchy (sample) : The syntax is packaging:pom:level.# pom:pom0.0 /\ / \ /\ / \ /\ jar:pom1.0 pom:pom1.1 /\ / \

Re: Profiles.xml

2006-08-02 Thread Alexis Midon
ild configuration represented by the project's POM, they are not allowed to do anything more than specify properties, pluginRepositories, and repositories. The short answer is that you cannot specify a section in an external profile. If the book doesn't make mention of this, it should be co

Profiles.xml

2006-08-02 Thread Alexis Midon
Hi all,can some one tell me what's wrong with my Profiles.xml file?I always get the following root error:Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'build' (position: START_TAG seen ...\r\n    ... @5:20)     at org.apache.maven.profiles.io.xpp

Re: Aggregate profiles

2006-08-01 Thread Alexis Midon
you can activate many profiles with -Pprofile1,profile2,profile3 etc. as explained in "mvn -h": -P,--activate-profilesComma-delimited list of profiles to activate On 8/1/06, Roland Asmann <[EMAIL PROTECTED]> wrote: I've been looking for something similar and found that it is possible, b

How to include generated-sources directory in compilation?

2006-07-31 Thread Alexis Midon
Hi all, during the generate-sources, an ant task generates a source file. I'd like to know if the source files under generated-sources are automacilly included is the compilation? or should I use the build-helper:add-source ? thanks in advance, Alexis

Re: [maven-antrun-plugin] How to pass default Maven Properties to ?

2006-07-28 Thread Alexis Midon
Alexis, i've experimented with this as well and ended up with the same solution as you. I'm afraid that may be the only option for now. On 7/27/06, Alexis Midon <[EMAIL PROTECTED]> wrote: > Hi all, > > As recommended by the antrun > plugin< http://maven.apache.org/p

Re: 1 Module - N output jars

2006-07-27 Thread Alexis Midon
//www.nabble.com/-maven2--Generating-several-artifacts-per-project- --tf1689630.html#a4630045 2. Don't know, but hopefully answer 1 will make this a moot point. Chris > -Original Message----- > From: Alexis Midon [mailto:[EMAIL PROTECTED] > Sent: Thursday, 27 July, 2006 09:50 >

1 Module - N output jars

2006-07-27 Thread Alexis Midon
Hi all, I'm currently migrating a big project from Ant to Maven. I have exploded the source code in modules as much as possible but for legacy reasons I want one of them to generate N output jars (instead of a single one). My question is How can I do that? I have several leads but some questions

Re: Include Test classes in Jar

2006-07-27 Thread Alexis Midon
you should add the following plugins. regards Alexis org.apache.maven.plugins maven-jar-plugin Build test-jar test-jar org.apache.maven.plugins maven-source-plugin Build src

[maven-antrun-plugin] How to pass default Maven Properties to ?

2006-07-27 Thread Alexis Midon
Hi all, As recommended by the antrun plugin, I'd like to "move all my Ant tasks to a build.xml file and just call it from the POM using Ant's task ." I need to use some of the

Re: [m2] variable for ${basedir}/target ?

2006-07-26 Thread Alexis Midon
and a variable for the main resource directory? On 7/26/06, David J. M. Karlsen <[EMAIL PROTECTED]> wrote: Hi! Does any variable exist for ${basedir}/target - or is this the closest I can come? Does there exist a list over variable expressions in maven2 poms? -- David J. M. Karlsen - +4

Re: How to add some attributes to the manifest?

2006-07-26 Thread Alexis Midon
regards, Alexis On 7/26/06, Alexis Midon <[EMAIL PROTECTED]> wrote: Hi all, I'd like to add dynamically some attributes to a manifest. I've searched into the maven-jar-plugin and found

How to add some attributes to the manifest?

2006-07-26 Thread Alexis Midon
Hi all, I'd like to add dynamically some attributes to a manifest. I've searched into the maven-jar-plugin and found a way to set the manifest file itself but nothing about attributes. I'd like something like the Maven 1 jar plugin configuration : http://maven.apache.org/maven-1.x/plugins/jar/pro