Maven 2 Archetypes : Folder name with velocity macro using homemade property

2011-11-29 Thread Julien PLAQUEVENT
Hi, I'm currently developping a Maven 2 multimodule archetype (Maven Archetype Plugin 2.2) under Linux Debian Squeeze. I have two issues (text in red in this message) I'd appreciate some help solving. I'd like to use a homemade property (set up as a required property from archetype-metadata.xml)

Re: Unable to read the metadata file for artifact 'org.apache.geronimo.specs:geronimo-acti

2011-11-29 Thread Zilvinas Vilutis
Parent pom version ( in the child pom.xml ) is null Žilvinas Vilutis Mobile:   (+1) 623 330 6048 E-mail:   cika...@gmail.com On Tue, Nov 29, 2011 at 2:20 PM, Jorge Infante Osorio wrote: > Hi all. > > I´m trying to compile a project and I receive this error. Any idea? > > > > [INFO] For more i

Re: generate-test-resources lifecycle question

2011-11-29 Thread Zilvinas Vilutis
Basically parent pom defines the project ( modules ) and rules for all child poms that will be applied for each of the children, so you would not need to re-write them ( e.g. dependency versions, plugin versions, plugin execution & etc. ) Did you define this in your parent pom? Žilvinas Vilutis

Maven behind a Proxy

2011-11-29 Thread ypriverol
Hi: I configured my maven to use the proxy to retrieve the package from maven repositories. The problem is when i want to copy the distribution of my package to an external repository for example using scp. have maven the posibility to use socksify? i don't find any other option. Tahnks in advan

Maven Nar plugin Installation Problem

2011-11-29 Thread Satya
Hi Users, I am very new to Maven (Dummy), Using Apache site i manged to install and compile a sample my-app program provided. I have downloaded maven 3.0.3 Now I would like to use maven to Build and deploy my C++ projects. I managed to download Maven Nar plugin from site https://github.com/

generate-test-resources lifecycle question

2011-11-29 Thread Lonnie Lewis
I am working on a simple prototype project that involves (re)creating an HSQL database from JPA objects. The build works fine, but I notice the tasks in "generate-test-resources" are run multiple times. My build includes: org.codehaus.mojo hibernate3-maven-plugin

ANN: h2-maven-plugin 1.0

2011-11-29 Thread Laird Nelson
My apologies if this is not the appropriate kind of list for this sort of thing, but I thought that other Maven users might be interested in my h2-maven-plugin: https://github.com/ljnelson/h2-maven-plugin. I asked on IRC if there was a better list but got no replies. Anyway, it should be availabl

Unable to read the metadata file for artifact 'org.apache.geronimo.specs:geronimo-acti

2011-11-29 Thread Jorge Infante Osorio
Hi all. I´m trying to compile a project and I receive this error. Any idea? [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Tue Nov 29 16:05:06 EST 2011

Re: checkstyle-plugin 2.8 aggregated duplicates number of issues.

2011-11-29 Thread Mirko Friedenhagen
Thanks Olivier, I now use `checkstyle` as reportSet in my non-module projects. I created a bug report at http://jira.codehaus.org/browse/MCHECKSTYLE-167 as I think it is unexpected, that I have to configure a reportSet at all for a non-module project and the number of reported issues in the aggrega

Re: checkstyle-plugin 2.8 aggregated duplicates number of issues.

2011-11-29 Thread Olivier Lamy
If you do org.apache.maven.plugins maven-checkstyle-plugin 2.8 ... Maven will execute all mojos of type Report If you want only the aggregate one . org.apache.maven.plugins maven-checkstyle-

Re: checkstyle-plugin 2.8 aggregated duplicates number of issues.

2011-11-29 Thread Mirko Friedenhagen
I did not see immediately a solution how to do this. Would you shed the light :-)? Regards Mirko On Tue, Nov 29, 2011 at 09:38, Anders Hammar wrote: > I believe that might have been a change in v2.8. It can be "fixed" by > specifying that only the 'checkstyle' report should be used. > > /Anders >

Error introduced by maven-clean-plugin using Jetty and Spring

2011-11-29 Thread hsparks
I've been using maven routinely to build a spring and jetty based webapp. For testing, I use the war:inplace goal. I wanted a convenient way to clean up the lib directory created in my source directory (WEB-INF/lib), so I added this plugin to my pom: maven-clean-plugin

Into exec:exec goal is possible to customize classpath?

2011-11-29 Thread Winch
Hi I have the following issue : 1. I use exec:exec goal to launch in a separate jvm the compiled project 2. I do not launch classes contained into target/classes folder but I re-arrange in different path under target folder 3. I use the parameters classpathScope and argument to generate dinamical

Re: Parallel development on multiple dependent projects

2011-11-29 Thread Wayne Fay
> As one has to declare a certain version number in A's pom.xml there is no > way to tell maven always to use the development-version (or trunk-version) > of B and C which haven't been released so far. Use SNAPSHOT-versioned artifacts on all artifacts plus frequent deployment of latest snapshots (

releasing multi module project

2011-11-29 Thread Prashant Neginahal
HI, I have below multi module project structure. parent-1.0-SNAPSHOT --childA-1.0-SNAPSHOT --childB-1.0-SNAPSHOT childA-1.0-SNAPSHOT is depending on --childB-1.0-SNAPSHOT. When i start releasing parent-1.0-SNAPSHOT, it is complaining that childA-1.0-SNAPSHOT has snapshot dependency on childB. B

Re: Parallel development on multiple dependent projects

2011-11-29 Thread Guillaume Polet
I think you are looking for the SNAPSHOT of your projects. You just have to add -SNAPSHOT behind your version (in both the your depending on project and your dependency) 1.0-SNAPSHOT Cheers, Guillaume Le 29/11/2011 15:42, Abid Hussain a écrit : Hi all, I wonder if maven can handle the scen

Parallel development on multiple dependent projects

2011-11-29 Thread Abid Hussain
Hi all, I wonder if maven can handle the scenario when multiple projects (which are dependent on each other) are developed concurrently. E.g. we have a project A which is dependent on projects B and C. All projects are at development stage. When developing on A one wants to use the latest feat

Re: checkstyle-plugin 2.8 aggregated duplicates number of issues.

2011-11-29 Thread Anders Hammar
I believe that might have been a change in v2.8. It can be "fixed" by specifying that only the 'checkstyle' report should be used. /Anders On Mon, Nov 28, 2011 at 20:50, Mirko Friedenhagen wrote: > Hello, > > I upgraded my maven-checkstyle-plugin from 2.6 to 2.8 and now a find > two reports for