Re: Filtering not working after at sign

2012-05-08 Thread Yann Albou
merci Olivier ;-) it works if I do: org.apache.maven.plugins maven-resources-plugin false ${*} Thanks Yann -- View this message in context: http://maven.40175.n5.nabble.com/Filtering-

Re: Filtering not working after at sign

2012-05-07 Thread Yann Albou
Wayne Fay wrote > > Yes. What version of Maven are you using? > > If you aren't using @@ token, you should turn it off. That is > described in the docs. > > I use maven 3.0.3 Sorry but I don't see in the doc where to turn off the interpolation of @@ token, could you help ? Thanks Yann. -- V

Re: Filtering not working after at sign

2012-05-07 Thread Yann Albou
Hello, Sorry for being unclear... In a simple maven jar project I have the following pom: 4.0.0 org.test.mvn mvnTestFiltering jar mvnTestFiltering 1.0.0-SNAPSHOT true

Filtering not working after at sign

2012-05-06 Thread Yann Albou
Hello, If in file, where filtering is activated, I have @${project.artifactId} then ${project.artifactId} won't be replaced. If i do the same test with the at sign after ${project.artifactId} then it wil be replaced. Should I fill a bug ? where ? Thanks Yann -- View this message in context: ht

Re: maven 3 provided dependency pulls a compile dependency

2011-05-25 Thread Yann Albou
I haven't reproduced the problem on a separate project yet. I have used m2eclipse and got 2 different results: On the Dependecy Hierarchy the dependency appears as compile but on the Dependency Graph it appears as provided. But I still couldn't see what is pulling this dependency as compiled. Wh

Re: maven 3 provided dependency pulls a compile dependency

2011-05-24 Thread Yann Albou
According to the maven 3 release notes https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html it's not reliable. "Furthermore, not all parts of the Maven 2.x resolution API could be bridged onto Aether. Most notably the maven-dependency-tree shared component which is used for mvn depende

maven 3 provided dependency pulls a compile dependency

2011-05-24 Thread Yann Albou
maven 3.0.3 I have a parent company pom that defines a dependency as provided. This provided dependency has a number of dependencies itself, among which commons-collections:commons-collections. My understanding is that all dependencies on which the provided dependency depends on should also be p

Re: Issue with mvn3 timestamp snapshots being downloaded in local repository

2011-03-09 Thread Yann Albou
Wayne Fay wrote: > > That would be the correct next step. But again, I'm not making any > statements as to whether or not this will actually occur. It will need > to be discussed on the Dev list and in the Jira. > > I can think of an awful lot of reasons why this should not be > implemented -- f

Re: Issue with mvn3 timestamp snapshots being downloaded in local repository

2011-03-08 Thread Yann Albou
@Jörg : we had the same issue with the class-path of the manifest. to resolve it you have to add useUniqueVersions to false to all archives (jar, ejb, war...): org.apache.maven.plugins maven-jar-plugin

Re: Issue with mvn3 timestamp snapshots being downloaded in local repository

2011-03-07 Thread Yann Albou
Yes, maybe I don't know how was working maven 2 for this, but if it is the simplest way then yes. Does it sound a reasonnable request/feature ? thanks Yann. -- View this message in context: http://maven.40175.n5.nabble.com/Issue-with-mvn3-timestamp-snapshots-being-downloaded-in-local-repository-

Re: Issue with mvn3 timestamp snapshots being downloaded in local repository

2011-03-07 Thread Yann Albou
I did the test with the new maven 3.0.3 distribution and I still get the same behaviour. For me, it sounds like a regression compare to Maven 2. I understand why for deployment this behaviour has been removed so that snapshot artifacts will always be deployed using a timestamped version. But I don

Re: Issue with mvn3 timestamp snapshots being downloaded in local repository

2011-03-03 Thread Yann Albou
@benjamin There are several drawbacks with the maven-dependency-plugin:purge-local-repository: - Performances slowdown if used systematically, i.e. included in project's pom or worse super pom, due to the downloads from the remote. One benefit of upgrading to maven 3 for us is the performance imp

Re: Issue with mvn3 timestamp snapshots being downloaded in local repository

2011-03-03 Thread Yann Albou
> So what you describe is normal and has been like this since Maven 2.x With Maven 2 we used unique snapshot versions. The issue with Maven 3 is that developers local repositories might grow significantly since several timestamp snapshots are downloaded. Also we don't have a mechanism to purge

Issue with mvn3 timestamp snapshots being downloaded in local repository

2011-03-03 Thread Yann Albou
It's my understanding that timestamp snapshots should only exist in remote snapshot repositories and are created when doing a mvn deploy. What I see though is timestamp snapshots downloaded into my local repository when doing mvn install. Here the test case: artifact a (jar) depends on artifact b

Re: [m2] eclipse plugin and WTP generating warnings in Europa

2007-12-05 Thread Yann Albou
eclipse (it should convert them in 2.0) - check that you have the same error. It will help us to analyze the problem. arnaud On Dec 4, 2007 10:55 PM, Yann Albou <[EMAIL PROTECTED]> wrote: I just tried with the latest snapshot and I get the same behaviour. I see these warnings during i

Re: [m2] eclipse plugin and WTP generating warnings in Europa

2007-12-04 Thread Yann Albou
r that says "Invalid classpath publish/export dependency..." Siarhei Dudzin a écrit : Do you get the same from getting the latest snapshot instead of the trunk? Where do you see this waring? During import or after import in the problems view? On 12/4/07, Yann Albou <[EMAIL PROTECTED]>

Re: [m2] eclipse plugin and WTP generating warnings in Europa

2007-12-04 Thread Yann Albou
Is someone facing the same issue ? Yann. Yann Albou a écrit : Hello, After generating my eclipse projects with "mvn -Dwtpversion=2.0 eclipse:eclipse" and importing these projects into an europa workspace I get the following Warning: "Claspath entry M2_REPO/commons-logging/

Re: [m2] Any suggestion to include pom root in eclipse workspace

2007-12-03 Thread Yann Albou
MAIL PROTECTED]> wrote: I'm on a Linux machine and simply created a symlink to the parent pom in one of the submodules. Then it showed up in Eclipse. Hth, Nick Stolwijk Yann Albou wrote: Hello; I use a multi module maven project. after generating the eclipse project and importing these

[m2] Any suggestion to include pom root in eclipse workspace

2007-12-02 Thread Yann Albou
Hello; I use a multi module maven project. after generating the eclipse project and importing these project in an eclipse workspace I get all my projects in my worspace. Now I would to have a way to get access to the root pom.xml (parent pom of all my imported projects). Do you guys have an

[m2] eclipse plugin and WTP generating warnings in Europa

2007-12-02 Thread Yann Albou
Hello, After generating my eclipse projects with "mvn -Dwtpversion=2.0 eclipse:eclipse" and importing these projects into an europa workspace I get the following Warning: "Claspath entry M2_REPO/commons-logging/commons-logging/1.0.4/commons-loggin-1.0.4.jar will not be exported or published

[M2] How to get the manifest configuration

2007-08-01 Thread Yann Albou
Hello, I am writting a M2 plugin in which I need to access to The Manifest Information. Based on the Maven Project (MavenProject project) I was expected to get a method like project.getManifestConfiguration() but it doesn't exist. I have also tried to play with the MavenArchiver component b

How to exclude generated source from the cobertura instrumentation plugin

2007-07-01 Thread Yann Albou
Hi, I use the m2 cobertura plugin. It works fine. For information I had to add the following in order to make it works: org.apache.maven.plugins maven-surefire-plugin net.sourceforge.cobertura.datafile target/cobertura/cobertura.ser

[M2] how to generate manifest.mf file

2007-06-25 Thread Yann Albou
Hello, In a mojo, I would like to generate the manifest.mf file as we can find it in the result jar (with the Class-Path entry). I tried to play with the MavenProject component but without success. Thanks Yann - To unsubscr

Re: how to overwrite plugin definition with an execution phase?

2006-12-19 Thread Yann Albou
s above the children modules. I'd suggest a similar arrangement with your own poms. You will need another "level" of parent poms to make this happen. Wayne On 12/18/06, Yann Albou <[EMAIL PROTECTED]> wrote: Hello, In my pom parent I have defined (in the pluginManagement sect

how to overwrite plugin definition with an execution phase?

2006-12-18 Thread Yann Albou
Hello, In my pom parent I have defined (in the pluginManagement section) a plugin configuration that is bind to a phase: [...] [...] maven-assembly-plugin jar-with-dependencies

Re: POM inheritance works but site inheritance does not

2006-12-15 Thread Yann Albou
I had a similar issue: I set up to the url tag : http://yoururl in my pom parent. (I don't know why but you cannot use relative url) Yann Breddy wrote: Group, I have a POM that inherits from another using a relative path that looks something like ../parent-pom-dir/pom.xml. All POM inheritance

Re: I need help with multi-module project site generation.

2006-12-05 Thread Yann Albou
Wendy Smoak wrote: On 12/5/06, Christian Goetze <[EMAIL PROTECTED]> wrote: If I generate the default site according to the mergere book, I get essentially a useless cover page with a navigation menu that lists the modules, but without links I've seen that happen too. Most of my projects have

Re: assembly file and descriptorRefs

2006-12-04 Thread Yann Albou
Done, I added a section "How to create your own predefine assembly" Yann. Wendy Smoak wrote: On 12/3/06, Yann Albou <[EMAIL PROTECTED]> wrote: I think this tips should be in the assembly plugin documentation. Each plugin has a page on the wiki where we encourage use

Re: assembly file and descriptorRefs

2006-12-04 Thread Yann Albou
maven-assembly-plugin Of course you can overwrite default plugin configuration. Hope it will help other people. Yann. Wendy Smoak wrote: On 12/2/06, Yann Albou <[EMAIL PROTECTED]> wrote: I saw I can configure a descriptorRefs, but it seems limited to predefined assembly files

assembly file and descriptorRefs

2006-12-03 Thread Yann Albou
I have created my own assembly.xml file. Now I would like to make this file available through the maven repository. Is this possible ? I saw I can configure a descriptorRefs, but it seems limited to predefined assembly files (bin, jar-with-dependencies, or src). I would like to add my own descri

[m2] "requiresDependencyResolution" problem in mojo

2006-11-24 Thread Yann Albou
I have created a plugin with a goal: "myplugin:mygoal" with phase is "generate-sources" and requiresDependencyResolution is set to "compile". If I run "mvn myplugin:mygoal" everything is fine. if I run "mvn install" everything is fine ("myplugin:mygoal" is run at "generate-sources" phase). B

Re: [m2] finalName not working

2006-10-15 Thread Yann Albou
spath. In addition, finalName only effects the name of the artifact generated in the target directory. If you install/deploy the same artifact it will (should) have the standard naming of ${artifactId}-${version}. This is A Good Thing, as it prevents ambiguity in the repository. HTH, Doug On 10/1

[m2] finalName not working

2006-10-12 Thread Yann Albou
Hi, I try to use the finalName in my parent pom as following: ${artifactId} (without the version number) If I run maven from the parent pom everything works fine: all my artifacts are generated without the version number. and also the classpath entry of the manifest.mf file is correctly set.

Re: clean plugin

2006-09-30 Thread Yann Albou
would be very useful for us to have this little feature. Yann. dan tran wrote: dont think it is possible. What is the point of removing every thing inside but not the directory? -D On 9/29/06, Yann Albou <[EMAIL PROTECTED]> wrote: Hi, When running "mvn clean", Is it posib

clean plugin

2006-09-29 Thread Yann Albou
Hi, When running "mvn clean", Is it posible to not remove the directory target but only what is inside ? Yann. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Override plugin dependency version

2006-09-29 Thread Yann Albou
Hi Jan, What I tried to do to resolve this problem is to define a propeties xmlbeans.version in the plugin: org.apache. xmlbean ${xmlbean.version} 2.0.0 And then when you run maven in your project use: mvn -Dxmlbean.version=2.2.0 install unfort

Re: system in plugin

2006-09-28 Thread Yann Albou
Yann Albou wrote: Hello, I have exactly the same problem. I also tried to create a profile directly in the pom : my.profile true

Re: system in plugin

2006-09-28 Thread Yann Albou
Hello, I have exactly the same problem. I also tried to create a profile directly in the pom : my.profile true

Re: How to get plugin dependencies?

2006-09-26 Thread Yann Albou
olveP luginsMojo.java It was working before the refactor but could be broken now. It will at least give you a reference point. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Yann Albou Sent: Thursday, September 21, 2006 3:57 PM To: users@maven.apache.org Subje

How to get plugin dependencies?

2006-09-21 Thread Yann Albou
Hello, I tried to create a plugin in which I would like to acces dependencies (not the dependencies from the project that use this plugin but only the dependencies from this plugin). I tried the following: /** * My Goal. * @goal mygoal */ public class MyMojo extends AbstractMojo { /