Use quiet reference notation for properties

2014-09-24 Thread JeremieB.
Hello, I wonder if there is any easy way to do the equivalent of Velocity quiet references with Maven poms ... ? Here is my use-case (in a corporate pom): - I set a property label containing some versions and reference to ${buildNumber} - This property ${buildNumber} is optionally set by the

Conditionnal adding of parent section in generated archetype

2013-12-20 Thread JeremieB.
Hello, I created an archetype to create a new project (a project root pom), and another one to create a module of some kind. I want them separated - I don't want a multi-module archetype. My use-case is when I create a new module from archetype, in a folder already containing my project root pom.

Maven SCM 1.6 and new integrity provider

2011-12-05 Thread JeremieB.
Hello, Using the brand new SCM 1.6, particularly for the new provider (See http://jira.codehaus.org/browse/SCM-630 SCM-630 ) integrity. I have some remarks/issues : - the documentation of SCM plugin is not up-to-date with this new provider integrity (url formats, providers list...) - Jira does

Questions about Doxia-converter for apt/xhtml to rtf ...

2011-08-24 Thread JeremieB.
Hi, Using doxia-converter I have several questions ... 1- apt to rtf generates a readable rtf with word 2007, while xhtml to rtf will show plenty of non-parsed tags when opened with word 2007 ... (I use the .html page generated by maven from the .apt ...) Example : \pard\sb200\plain\f0\fs20

Re: Questions about Doxia-converter for apt/xhtml to rtf ...

2011-08-24 Thread JeremieB.
So I managed to workaround points 1) and 2) because I work on toto.apt.vm, and use velocity inside my plugin to generate toto.apt. In this case conversion to rtf is ok (or nearly). I'm still stuck with point 3) when I try to launch my plugin in maven context ... Another thing for velocity

Re: Generation of checksums of files included in assembly

2011-08-19 Thread JeremieB.
Hi, Thanks but I'm not sure it goes really far from generating checksum of a unique file, and my problem is more how to generate checksums of inner content of tar.gz or zip archive ... And where to locate this in maven life-cycle. I had this idea, but I'm not sure on feasibility, implemented in

Re: Issue with assembly plugin executions and phase binding (prepare-package)

2009-12-15 Thread JeremieB
In fact, my solution does not work at all ... My package is correctly generated with wanted files generated by antrun inside of it, but I believe as I use goal assembly instead of single, the related tar.gz is not attached and so not deployed. I see the following logs : [WARNING] Removing:

Re: Issue with assembly plugin executions and phase binding (prepare-package)

2009-12-15 Thread JeremieB
SOLVED Ok I understood my mistake ... The error was normal, as it was bound to a phase before package, my assembly wasn't able to found the jar file generated during ... package. So the error, not related to directory-single. So I could simply remove the error by doing the following bindings in

RE: Why is maven looking for snapshot plugins ?

2009-08-07 Thread JeremieB
Sorry if I did not precise it exhaustively, but in fact taglist 2.3 is declared in pluginManagement, in plugins, in dependencies, in dependencyManagement and in reporting sections as well... (in the corporate pom). maven-site-plugin is declared only in pluginManagement section. I also deleted

Re: Why is maven looking for snapshot plugins ?

2009-08-07 Thread JeremieB
Logs won't be necessary, I must say I feel quite stupid right now ... :/ Have a closer look at my description : JeremieB wrote: [...] 5- install corporate pom [...] 9- deleted my local repository [...] So, I happily deleted my local repository, including the correct corporate pom I

Why is maven looking for snapshot plugins ?

2009-08-06 Thread JeremieB
Hi, I want to build and site-deploy a project, using maven-site-plugin 2.1-SNAPSHOT (in order to be able to manage permissions correctly through its configuration). I have a corporate parent pom, in which I declare maven-site-plugin 2.1-SNAPSHOT, as well as my reporting plugins and their

Re: Why is maven looking for snapshot plugins ?

2009-08-06 Thread JeremieB
I think my request is not very clear, this is what I did more clearly (I hope so) : 1- add a managed repository for staged-releases in archiva, proxy of central snapshots 2- add this repository in my repository group 3- declare my repository group as a pluginRepository in my corporate pom 4-

Re: filePermissions ignored during site-deploy with SCP

2009-08-05 Thread JeremieB
It works now I declared a separate repository in archiva for plugins snapshots. Not sure it was from Archiva, maybe what was missing also is that it was not declared as a pluginRepository in maven. BTW now as expected permissions are managed the way I wanted by site plugin :) -- View this

filePermissions ignored during site-deploy with SCP

2009-08-04 Thread JeremieB
Hi, I'm quite new to Maven and facing an issue I could not workaround. I'm using Maven 2.2.0, and using site-deploy to deploy my generated site to a webserver, through scp. Here are the settings server I use : server idGGS-website/id usernamemylogin/username

Re: Copy groups of dependencies with dependency plugin

2009-08-04 Thread JeremieB
Hi, I think the following configuration should do the trick : build plugins plugin artifactIdmaven-dependency-plugin/artifactId version2.0/version executions execution idunpack-jetty/id phasepackage/phase goals

Re: filePermissions ignored during site-deploy with SCP

2009-08-04 Thread JeremieB
Hi and thanks for reply, I'm trying to test this but fail since now. I added repository for apache snapshots in my archiva proxy connectors list, but now it seems nothing works anymore ... My build downloads .pom and metadata for maven-site-plugin 2.1-SNAPSHOT, but it's not able to download

Re: Copy groups of dependencies with dependency plugin

2009-08-04 Thread JeremieB
Shef wrote: Now a new problem: it copies over the dependencies with a particular groupId, but not the transitive dependencies. I guess what I really want is jetty plus everything it depends on to go in a directory. Possible without having to list every transitive dependency explicitly?