Re: [Solved] Re: Memory Leak?

2012-05-14 Thread Jörg Schaible
Hilco Wijbenga wrote: > On 11 May 2012 15:56, Hilco Wijbenga wrote: >> I have noticed that in a fairly large reactor build the build dies >> close to the end (about 10 modules to go out of around 90). It simply >> runs out of memory. Restarting it with -rf allows it to finish without >> issues. T

[ANN] Maven Enforcer 1.1 Released

2012-05-14 Thread Paul Gier
The Maven team is pleased to announce the release of the Maven Enforcer, version 1.1 This plugin provides various configurable validation rules for Maven builds. http://maven.apache.org/enforcer/ http://maven.apache.org/plugins/maven-enforcer-plugin/ You should specify the version in your projec

Re: maven-shade-plugin transform resource files

2012-05-14 Thread Nikolay Rychkov
I use jetty embedded. War plugin is not applicable 2012/5/14 Karl Heinz Marbaise > Hi, > > Hello I am working on jetty embedded application and use maven shade >> plugin. The problem is that I want to compress js, css, and html static >> files before shade plugin pack it to single jar. I wrote

[ANN] FileWeaver Maven Plugin 1.0 Released

2012-05-14 Thread Mark H. Wood
I'd like to announce the release of FileWeaver 1.0. FileWeaver is a Maven plugin for assembling files from snippets. Multiple external files and literal segments can be combined, with token substitution. Why? I needed to append chunks of settings to a lengthy configuration file for testing, so t

Re: [Solved] Re: Memory Leak?

2012-05-14 Thread Olivier Lamy
2012/5/14 Hilco Wijbenga : > On 11 May 2012 15:56, Hilco Wijbenga wrote: >> I have noticed that in a fairly large reactor build the build dies >> close to the end (about 10 modules to go out of around 90). It simply >> runs out of memory. Restarting it with -rf allows it to finish without >> issue

[Solved] Re: Memory Leak?

2012-05-14 Thread Hilco Wijbenga
On 11 May 2012 15:56, Hilco Wijbenga wrote: > I have noticed that in a fairly large reactor build the build dies > close to the end (about 10 modules to go out of around 90). It simply > runs out of memory. Restarting it with -rf allows it to finish without > issues. There is a limit to how much m

Re: maven-shade-plugin transform resource files

2012-05-14 Thread Karl Heinz Marbaise
Hi, Hello I am working on jetty embedded application and use maven shade plugin. The problem is that I want to compress js, css, and html static files before shade plugin pack it to single jar. I wrote program that can do all I want in single directory. How to force plugin to pack treated by my p

maven-shade-plugin transform resource files

2012-05-14 Thread Nikolay Rychkov
Hello I am working on jetty embedded application and use maven shade plugin. The problem is that I want to compress js, css, and html static files before shade plugin pack it to single jar. I wrote program that can do all I want in single directory. How to force plugin to pack treated by my program

Re: Reg. accessing parent POM's property in child POM's version tag

2012-05-14 Thread Stephen Connolly
On 14 May 2012 14:26, RAJIV_S wrote: > ${project.version} That is not a property but a reference to the pom. > > I thought based on the above example, any property value should be supported > in version tag using ${...} not in /project/version or /project/parent/version > > > Any, recommendtio

Re: Reg. accessing parent POM's property in child POM's version tag

2012-05-14 Thread RAJIV_S
${project.version} I thought based on the above example, any property value should be supported in version tag using ${...} Any, recommendtion/solution for my problem ,.. how can solve this issue ? Plz explain a bit detail as i am new this maven.. Means , Nowhere i can't use dynamic values(

Re: Reg. accessing parent POM's property in child POM's version tag

2012-05-14 Thread Anders Hammar
What are you trying to accomplish? If you don't declare the version element in a Maven project, Maven will use the version of the declared parent as the version. So, my suggestions is to have the versions hard-coded in the parent section. The release plugin will update these when you release a proj

Re: Reg. accessing parent POM's property in child POM's version tag

2012-05-14 Thread Stephen Connolly
Properties are not supported in the following XPath elements: /project(/parent)?/(groupId/artifactId/version) -Stephen On 14 May 2012 13:42, RAJIV_S wrote: > I have a project structure like the below > > School-parent >        | >        | >        | services-parent >        |       |      

[ANN] Mojo's Ship Maven Plugin 1.0-alpha-2 released

2012-05-14 Thread Stephen Connolly
Hi, The Mojo team is pleased to announce the release of Mojo's Ship Maven Plugin version 1.0-alpha-2. Mojo's Ship Plugin is used when you have continuous deployment scripts that you want to integrate with your Apache Maven build. The plugin has the following goals. * ship:ship Resolves the shi

Re: Problem downloading sources - The following files where skipped

2012-05-14 Thread andreas_sandberg
I've had the same problem since maven did remeber that the sources were already downloaded. For me it was easily solved by execuring mvn clean, i.e mvn clean dependency:sources. -- View this message in context: http://maven.40175.n5.nabble.com/Problem-downloading-sources-The-following-files-whe

Reg. accessing parent POM's property in child POM's version tag

2012-05-14 Thread RAJIV_S
I have a project structure like the below School-parent | | | services-parent | | | | | |-Services-core | | | | | |---pom.xml | | | |---pom.xml

Re: JUnit test failures stop the build, but test errors do not

2012-05-14 Thread Dirk Heinrichs
Firma: Capgemini Deutschland GmbH Geschäftsführer: Dr. Michael Schulte (Sprecher) • Dr. Uwe Dumslaff • Burkhard Kehrbusch • Josef Ranner Aufsichtsratsvorsitzender: Antonio Schnieder Amtsgericht Berlin-Charlottenburg, HRB 98814 This message contains information that may be privileged or conf

Re: JUnit test failures stop the build, but test errors do not

2012-05-14 Thread Kristian Rosenvold
You probably want to make sure you're running at least verision 2.11 of surefire. 2.12 is the latest. Kristian 2012/5/14 Heinrichs, Dirk : > Hi, > > I've just joined a project which is using Maven for its builds. When running > JUnit tests, the build fails if there is a build failure, but it do

Re: JUnit test failures stop the build, but test errors do not

2012-05-14 Thread Dirk Heinrichs
Firma: Capgemini Deutschland GmbH Geschäftsführer: Dr. Michael Schulte (Sprecher) • Dr. Uwe Dumslaff • Burkhard Kehrbusch • Josef Ranner Aufsichtsratsvorsitzender: Antonio Schnieder Amtsgericht Berlin-Charlottenburg, HRB 98814 This message contains information that may be privileged or conf

Re: JUnit test failures stop the build, but test errors do not

2012-05-14 Thread Ben Caradoc-Davies
This is not the default behaviour, but can be set as a configuration option (not recommended under normal circumstances): http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#testFailureIgnore Are there any configuration settings for the surefire plugin in the project pom? Kin

JUnit test failures stop the build, but test errors do not

2012-05-14 Thread Heinrichs, Dirk
Hi, I've just joined a project which is using Maven for its builds. When running JUnit tests, the build fails if there is a build failure, but it does not fail if there is a test error. I'm new to maven so I'd like to know wether this is expected behaviour or not, and if there is a way to make