[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-user
Subject:    Re: Important Notice for all users of the parallel build feature
From:       Kristian Rosenvold <kristian.rosenvold () gmail ! com>
Date:       2014-10-18 19:07:34
Message-ID: CAJZRQKxXY__5j7ALwe9zmTwsLB9ocF2TH27TGRPeojU1RXeoOA () mail ! gmail ! com
[Download RAW message or body]

Additionally, this issue affects parallel artifact download/pom
interpolation in maven core. The overall symptom is interpolation
expressions like ${project.name} not being resolved, but this can lead
to interesting kinds of corruption.

The fix can be applied to all 3.x versions of maven by dropping the
jar in lib/ext. 2.x is not affected.

Kristian


2014-10-18 20:22 GMT+02:00 Kristian Rosenvold <kristian.rosenvold@gmail.com>:
> Thanks to an excellent testcase provided by a JIRA user, a significant
> source of thread safety bugs has been located and fixed. The problem
> has an extensive reach, and can be the source of practically *any*
> issue in parallel builds, and is probably the root cause of most JIRA
> issues filed wrt parallel build problems.
> 
> Fortunately, there is a very simple fix by putting the following
> inside your plugin configuration:
> 
> <plugin>
> ...
> <dependencies>
> <dependency>
> <groupId>org.codehaus.plexus</groupId>
> <artifactId>plexus-interpolation</artifactId>
> <version>1.21</version>
> </dependency>
> </dependencies>
> </plugin>
> 
> 
> You should also put this jar file in the lib/ext folder of your maven
> installation:
> 
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
>  
> 
> Which plugins are affected ? It's almost easier to tell which is /not/
> affected. See the "relates" link on
> https://jira.codehaus.org/browse/PLXCOMP-258 to see which
> plugins/tools are affected.
> 
> Kristian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic