Re: Filtering not working after at sign

2012-05-08 Thread Yann Albou
merci Olivier ;-) it works if I do: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId configuration useDefaultDelimitersfalse/useDefaultDelimiters delimiters

Strange difference between enforcer dependency convergence and dependency tree (hibernate4/jboss-logging)

2012-05-08 Thread strug
Hi there, I'm a bit lost. We are using Hibernate4. Unfortunately they mixed up their dependencies a bit, so that we managed them in our pom: dependency groupIdorg.jboss.logging/groupId artifactIdjboss-logging/artifactId version3.1.0.GA/version /dependency The dependency tree looks good.

Re: Reducing SNAPSHOT redundancy

2012-05-08 Thread Marcin Kuthan
How many build plans do you have? If I understood correctly single plan for all modules (perhaps on aggregate pom). Even small change in one module rebuilds all modules :-( Let's consider to define one build plan for each module. In addition define dependencies between build plans to reflect

maven-shade-plugin unziped uber.jar

2012-05-08 Thread Will Hoover
Is there a way to use the maven-shade-plugin to produce an unzipped uber-jar? I know that this can be done using maven-dependency-plugin, but it seems to be much slower and doesn't have some of the features that shade has (like transformers).

RE: Reducing SNAPSHOT redundancy

2012-05-08 Thread Thiessen, Todd (Todd)
In my experience, I notice a certain lifecycle with builds. They start off relatively small but as the releases and years pass, the build grows and evolves. More things get tacked on, more modules get added, and so forth. I find that over time, the earlier modules of the build change less and

Modules in multi-module project being build twice

2012-05-08 Thread Farrukh Najmi
Hi Guys, I have a multi-module project to which I recently added a new module as the last module. When I build the project it builds all modules but the last module fine and then fails to build the last module and gives the stack trace below. [ERROR] Failed to execute goal

Re: Reducing SNAPSHOT redundancy

2012-05-08 Thread Ron Wheeler
+1 Ron On 08/05/2012 8:39 AM, Thiessen, Todd (Todd) wrote: In my experience, I notice a certain lifecycle with builds. They start off relatively small but as the releases and years pass, the build grows and evolves. More things get tacked on, more modules get added, and so forth. I find

Some questions about Webby

2012-05-08 Thread Thorsten Heit
Hi, today I decided to give Webby a try. Apart from Webby Core I also installed the embedded Jetty 8.x container. So far, so good. Some questions: a) How does Webby deal with dependencies having their scope set to provided? Our applications are mostly WARs / EARs that are deployed into

Re: maven-assembly-plugin causing modules in multi-module project being build twice

2012-05-08 Thread Farrukh Najmi
I have confirmed that my weird problem of building the multi-module project a second time is happening due to the maven-assembly-plugin. If I configure the pom for last (problem) modules to not bind maven-assembly-plugin to any goal then the build happens once and all is well. So what would

Re: Strange difference between enforcer dependency convergence and dependency tree (hibernate4/jboss-logging)

2012-05-08 Thread Wayne Fay
I'm a bit lost. We are using Hibernate4. Unfortunately they mixed up their dependencies a bit, so that we managed them in our pom: Perhaps you need to use an exclusion in the project-level hibernate dependency against jboss-logging, then add it back in yourself with a project-level dependency

Re: maven-assembly-plugin causing modules in multi-module project being build twice

2012-05-08 Thread Wayne Fay
So what would cause the maven-assembly-plugin to build my multi-module project again? Note that a few of the sub-modules of the root / parent pom are also dependencies of the module with the maven-assembly-plugin and used in dependencySets of the assembly.xml file. What do your pom.xml and

Re: Modules in multi-module project being build twice

2012-05-08 Thread Anders Hammar
You're using the wrong goal of the maven-assembly-plugin in that module. It should be the single goal. /Anders On Tue, May 8, 2012 at 3:21 PM, Farrukh Najmi farr...@wellfleetsoftware.com wrote: Hi Guys, I have a multi-module project to which I recently added a new module as the last module.

How to compile some modules with a specific JDK, the rest with default JDK

2012-05-08 Thread jose.nunez-zuleta
Hello Maven users, It is possible to tell maven to compile a specific module with a different JDK than the rest of the project? So say than the master pom has this: . |-- X |-- Y |-- Z Now Y and Z require the new JDK, while X can use the default (there is no dependency between X, Y and Z).

Re: Reducing SNAPSHOT redundancy

2012-05-08 Thread Anders Hammar
Yet another way of configuring your multi-module build on CI is to NOT just do mvn deploy. The key thing with CI is that you want to verify the build, right? And get quick feedback on errors. Doing mvn dpeloy on a larger multi-module build will not do this for the latter part of the build. So,

Re: Reducing SNAPSHOT redundancy

2012-05-08 Thread Laird Nelson
On Tue, May 8, 2012 at 12:05 PM, Anders Hammar and...@hammar.net wrote: Doing mvn dpeloy on a larger multi-module build will not do this for the latter part of the build. So, what you want is mvn test. Dumb, slightly tangential question: will mvn -o clean test on a multi-module build work?

Re: How to compile some modules with a specific JDK, the rest with default JDK

2012-05-08 Thread Anders Hammar
Should be possible. Just configure this in that module, and not in the parent pom. /Anders On Tue, May 8, 2012 at 6:03 PM, jose.nunez-zul...@barclays.com wrote: Hello Maven users, It is possible to tell maven to compile a specific module with a different JDK than the rest of the project?

Re: Reducing SNAPSHOT redundancy

2012-05-08 Thread Anders Hammar
Don't add -o to this. That's something different not impacting artifacts produced in a multi-module build. install is not required for a multi-module build. (It is sometimes when using Maven 2, but everyone should be using Maven 3 so this is not a problem.) The so-called reactor of a multi-module

Re: Reducing SNAPSHOT redundancy

2012-05-08 Thread Laird Nelson
On Tue, May 8, 2012 at 12:13 PM, Anders Hammar and...@hammar.net wrote: Don't add -o to this. That's something different not impacting artifacts produced in a multi-module build. Right; I know; it sets the offline status. I used it here to prove a point: that when present, Maven will not go

RE: How to compile some modules with a specific JDK, the rest with default JDK

2012-05-08 Thread jose.nunez-zuleta
Works like a charm (tested with mvn -X), inside the pom: project ... nameX/name build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.3.2/version configuration source1.7/source

Re: Modules in multi-module project being build twice

2012-05-08 Thread Farrukh Najmi
Doh! Anders you are absolutely right. That was it and my problem is solved. I wonder if it would make sense to log big fat warnings when using the deprecated goals of plugins. It would save many people at least a day of grief ;-) Thanks again for your kind help. On 05/08/2012 11:57 AM,

Maven Changes Plugin 2.8?

2012-05-08 Thread Swapnil Sapar
Hi, Any plans for releasing Maven Changes Plugin 2.8? http://jira.codehaus.org/browse/MCHANGES/fixforversion/18463 This version really contains only one but imp fix for Jira 5.X - http://jira.codehaus.org/browse/MCHANGES-281 I really want to avoid using the 2.8-SNAPSHOT. Thx, swapsapar

Re: Maven Changes Plugin 2.8?

2012-05-08 Thread Benson Margulies
We only just released 2.7 days ago. I doubt that anyone has the energy to respin right this minute. On Tue, May 8, 2012 at 1:19 PM, Swapnil Sapar swapsa...@gmail.com wrote: Hi, Any plans for releasing Maven Changes Plugin 2.8? http://jira.codehaus.org/browse/MCHANGES/fixforversion/18463 This

Re: Some questions about Webby

2012-05-08 Thread Wayne Fay
today I decided to give Webby a try. Apart from Webby Core I also installed the embedded Jetty 8.x container. So far, so good. I have to imagine that you will have better success with this line of questioning in an Eclipse M2E users list or some Sonatype user list. There may even be a Webby

Re: resolver-status.properties read/write warnings

2012-05-08 Thread Jeff MAURY
On Thu, Apr 19, 2012 at 7:08 AM, Jason van Zyl ja...@tesla.io wrote: Separate repos work. If you absolutely needed a concurrent safe local repo there's one here: https://github.com/etesla/tesla-concurrent-localrepo Link is not valid anymore Jeff On Apr 18, 2012, at 10:03 PM, Bracewell,

Re: Maven Changes Plugin 2.8?

2012-05-08 Thread Swapnil Sapar
Right. I understand its only 1 bug since 2.7 but its an imp fix without which plugin fails to work with Jira 5. Is there a way to get the release sooner? Is there a way for me to help in this regard? Thx, swapsapar On Tue, May 8, 2012 at 10:19 AM, Swapnil Sapar swapsa...@gmail.com wrote: Hi,

Re: Maven Changes Plugin 2.8?

2012-05-08 Thread Benson Margulies
On Tue, May 8, 2012 at 6:41 PM, Swapnil Sapar swapsa...@gmail.com wrote: Right. I understand its only 1 bug since 2.7 but its an imp fix without which plugin fails to work with Jira 5. Is there a way to get the release sooner? Is there a way for me to help in this regard? I'll tell you what.

RE: Reducing SNAPSHOT redundancy

2012-05-08 Thread Johannes Schindelin
Dear Todd, On Tue, 8 May 2012, Thiessen, Todd (Todd) wrote: In my experience, I notice a certain lifecycle with builds. They start off relatively small but as the releases and years pass, the build grows and evolves. More things get tacked on, more modules get added, and so forth. I

Maven replacer plugin

2012-05-08 Thread Pankaj
I want to replace the code snippet between two custom tag (@Start, @End) with empty tag. public class MyClass{ private String name; private String age; @Start private String address; private String phoneNumber; @End } These tags are available in multiple files. Is it possible using maven ? I

Re: Maven replacer plugin

2012-05-08 Thread Karl Heinz Marbaise
Hi, I want to replace the code snippet between two custom tag (@Start, @End) with empty tag. public class MyClass{ private String name; private String age; @Start private String address; private String phoneNumber; @End } These tags are available in multiple files. Why not. Put the replacer

circular dependency with common test classes

2012-05-08 Thread Iordanov, Borislav (CIAO)
Hi, I'm a relatively new Maven user. I found an exact description of my problem on StackOverflow, but no solution: http://stackoverflow.com/questions/10174542/resolving-maven-circular-dependencies-between-test-testhelper-and-project-unde One can easily get around the problem by first building