Re: Maven Exec - Inheritance - Multi Module Build

2009-12-15 Thread Anders Hammar
I didn't say it would. :-) There has been several similar questions like this on this list before. There is no generic way to exclude a bound plugin in a single sub-project. Either all sub-projects inherit the plugin binding or none. Some plugins provide a configuration option to skip execution

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: Maven Exec - Inheritance - Multi Module Build

2009-12-15 Thread Karl Heinz Marbaise
Hi Anders, Anders Hammar wrote: I didn't say it would. :-)No you didn't ;-) Anders Hammar wrote: There has been several similar questions like this on this list before. There is no generic way to exclude a bound plugin in a single sub-project. Either all sub-projects inherit the

Use filter files from parent project

2009-12-15 Thread Michael Ebert
Hi, i'm facing the following issue: I've got a multi module project and resources filtering is activated in every module: resources resource directorysrc/main/resources/directory filteringtrue/filtering /resource /resources The directory layout: parent |

plugin is executed twice when using custom lifecycle

2009-12-15 Thread rtroeg
Hello, i have a project with a parent pom and a child pom. My objective is to achieve a child pom that is as small/simple as possible. The child pom is supposed to use a custom lifecycle that is added to the pom as an extension (lifecycle is defined in components.xml). In the parent pom the

Reproducing a former build with exact dependencies but version ranges in the POM

2009-12-15 Thread Heix, Andreas
Hi, for development we want to use dependency version ranges within our poms. As soon as we release a project for each artifact a certain version is used in this build. At a later point in time we want to reproduce exactly the same build result without changing the poms which still contain

[SCM-261] SCM Synergy Provider

2009-12-15 Thread subir.sasikumar
Hi, I wish to fix SCM-261 in maven-scm target release of 1.3. http://jira.codehaus.org/browse/SCM-261 Are there any comments, to guide/help me? I have commented to the above JIRA issue with the logic i propose to use. Regards Subir Please do not print this email unless it is absolutely

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: [maven-release-plugin] problem with wrong source on tagging

2009-12-15 Thread Lars Fischer
Hello, could someone please tell my, where is my mistake: I have problems releasing a project using the maven-release-plugin: A call like: mvn --batch-mode -DautoVersionSubmodules=true -Dresume=false -Dusername=jondoe -Dpassword=jondoe -DtagBase=svn://svnrepository/tags/components/rt

Re: Enabling fileset packaging with archetype-metadata.xml

2009-12-15 Thread Raphaël Piéroni
Hello Norman, The property archetype.languages is a list of values containing the names of the directories containing packaged sources. For you example this could be archetype.languages=flex Regards, Raphaël 2009/12/15 nklein norman.kl...@gmail.com I trying to set up my Maven archetype so

Re: maven assembly plugin - the artefact size is multiplied by 2

2009-12-15 Thread Jerome Lacoste
On Mon, Dec 14, 2009 at 7:43 PM, le squere, vincent vincent.lesqu...@capgemini.com wrote: I've tried to use winzip, 7-zip, and to extract with the jar command. It's always the same message, this archive is not a valid archive. So I can't see its contents. Just a precision, my assembly work

Re: Doxia macro for links to xref sources

2009-12-15 Thread Lukas Theussl
I don't think there is anything easily available: http://jira.codehaus.org/browse/DOXIA-293 -Lukas Johannes Schneider wrote: Hi, does anybody out there has any experience how linking to the xref sources should be done? I'd like to just add the FQN for my class and let doxia do the rest...

How to download every dependency we need at once?

2009-12-15 Thread Gajo Csaba
Hello, We have a problem that some computers are not connected to the internet, so Maven cannot download dependencies from there. Because of this, by default, maven is running in offline mode. Currently, Maven is set up by an installation script, which installs maven and does some changes

Re: How to download every dependency we need at once?

2009-12-15 Thread Jesse Farinacci
Hi Gajo, 2009/12/15 Gajo Csaba csaba.g...@cosylab.com: Is there some cleaner way to do this? I know exactly which dependencies are needed (it's a large list), so is there some maven command to not build anything, just download these dependencies into the local .m2 directory? Check out the

Re: How to download every dependency we need at once?

2009-12-15 Thread Gajo Csaba
This seems to be almost perfect except it requires a project to exist. But I'll use it if there's nothing else :) Thanks, Csaba Jesse Farinacci wrote: Hi Gajo, 2009/12/15 Gajo Csaba csaba.g...@cosylab.com: Is there some cleaner way to do this? I know exactly which dependencies are

Re: Use filter files from parent project

2009-12-15 Thread Anders Hammar
One way that springs to mind is to put the filter properties files in a separate project, then in each project use the dependency plugin to unpack that artifact and then use the properties files. However, using filtering in each and every one of your projects with the same properties files makes

Pulling transiting test dependencies

2009-12-15 Thread Alan Cassar
Hi all, I am new to this list and I have a problem with maven transitive dependencies which cannot quite figure out and would appreciate any help. Well, we have a project, lets call it project-core and it has its own pom with its own dependencies, all test dependencies are marked as

Re: Pulling transiting test dependencies

2009-12-15 Thread Justin Edelson
On Tue, Dec 15, 2009 at 11:17 AM, Alan Cassar alan.cas...@ricston.comwrote: Is it possible somehow to pull in the test transitive dependencies? Not directly. What you can do is create another project (say, test-helper) and use that as a dependency for both projects, i.e. test-helper |- depends

Re: Pulling transiting test dependencies

2009-12-15 Thread Alan Cassar
its not possible for me to split the project into 2 different projects, one holding the tests and the other holding the core. The idea basically is we have project, and we would like to deploy it on an application server and run the junit tests on the app server itself. Isn't this doable with

Re: Pulling transiting test dependencies

2009-12-15 Thread Justin Edelson
I should have been clearer. The test-helper module I described below can be purely used as a mechanism to group test dependencies (i.e. need not have any code in it). So you can still keep your tests classes where they are (in project-core), but simply use test-helper to effectively combine

Could not explode webapp

2009-12-15 Thread Hehl, Thomas
I'm still new to Maven. When building my web project, I get the following messages: [INFO] Assembling webapp agilejury-frontend in D:\juror\agilejury-frontend\target\agilejury-frontend-0.5 [ERROR] The following mojo encountered an error while executing: Group-Id:

xmltask-equivalant Maven plugin

2009-12-15 Thread lukewpatterson
Does anyone know of a Maven plugin which provides functionality similar to the xmltask [1] Ant Task? description: Uses include: * modifying configuration files for applications during builds ... usage example: --- original file,

Re: xmltask-equivalant Maven plugin

2009-12-15 Thread stug23
There is a Maven XML plugin that uses XSLT to transform a document that you may want to have a look at: http://mojo.codehaus.org/xml-maven-plugin/ lukewpatterson wrote: Does anyone know of a Maven plugin which provides functionality similar to the xmltask [1] Ant Task? description:

Patch releases using Maven

2009-12-15 Thread svenkat.cm
Hi There I would like to understand how effective you are doing your patch releases on maven based projects Our scenario: We have made the release to the customer.There might be requests from the customer(s) for some emergency fixes - say couple of jars to be

Re: Could not explode webapp

2009-12-15 Thread Anders Hammar
Try executing maven in debug mode: mvn install -X should provide you with more details so that you can troubleshoot. /Anders On Tue, Dec 15, 2009 at 21:09, Hehl, Thomas thomas.h...@acs-inc.com wrote: I'm still new to Maven. When building my web project, I get the following messages:

Re: Reproducing a former build with exact dependencies but version ranges in the POM

2009-12-15 Thread Anders Hammar
The only way (that I know of) to ensure a reproducable build is to lock down all versions in your pom. This includes plugins as well as dependencies. /Anders On Tue, Dec 15, 2009 at 10:48, Heix, Andreas andreas.h...@sap.com wrote: Hi, for development we want to use dependency version ranges

Re: How to download every dependency we need at once?

2009-12-15 Thread Anders Hammar
Why not use a corporate repository manager like Nexus or Artifactory? All users would then configure their Maven to use that as the remote repo for all artifacts. This will give you a central point where you manage all artifacts, including both external and internal ones. His instance would then

RE: Reproducing a former build with exact dependencies but version ranges in the POM

2009-12-15 Thread Heix, Andreas
Hi Anders, thanks - that's also the only thing I found. I just hoped for a more flexible way to do it. So I'll have to dig deeper... Kind regards Andreas -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: Mittwoch,

Re: Reproducing a former build with exact dependencies but version ranges in the POM

2009-12-15 Thread Anders Hammar
I don't one exists for Maven 2. Possibly it would be possible to extend Maven 3 to alter the pom in runtime based on some other file. However, I would suggest you investigate the alternatives that do exist in Maven. Not many people use version ranges in their poms and for a reason. How will you

How to skip generating source jar files

2009-12-15 Thread Vikram Pyati
Hi, While invoking the maven target 'package', I need to skip generation of source jars. Is there any way I can do this? It will save a lot of time. -- Regards, Vikram