You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by al...@apache.org on 2018/04/11 14:34:54 UTC
svn commit: r1828903 - in /aries/trunk/blueprint/plugin:
blueprint-maven-plugin-annotation/ blueprint-maven-plugin-itest/
blueprint-maven-plugin-itest/src/it/custom-destination/
blueprint-maven-plugin-itest/src/it/fail-on-conflict/ blueprint-maven-plug...
Author: alien11689
Date: Wed Apr 11 14:34:53 2018
New Revision: 1828903
URL: http://svn.apache.org/viewvc?rev=1828903&view=rev
Log:
ARIES-1791 - Mark BMP generate mojo as thread safe
Modified:
aries/trunk/blueprint/plugin/blueprint-maven-plugin-annotation/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/custom-destination/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/fail-on-conflict/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/multiple-invocation/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/pax-cdi/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/produced-bean-by-method-name/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/scanpath-restrict/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/transaction-annotation/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin-pax-cdi-handlers/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin-spi/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin-spring-handlers/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin/pom.xml
aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/GenerateMojo.java
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin-annotation/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin-annotation/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin-annotation/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin-annotation/pom.xml Wed Apr 11 14:34:53 2018
@@ -22,10 +22,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>blueprint-parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../parent/pom.xml</relativePath>
+ <groupId>org.apache.aries</groupId>
+ <artifactId>parent</artifactId>
+ <version>2.0.1</version>
+ <relativePath />
</parent>
<groupId>org.apache.aries.blueprint</groupId>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/pom.xml Wed Apr 11 14:34:53 2018
@@ -22,10 +22,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>blueprint-parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../parent/pom.xml</relativePath>
+ <groupId>org.apache.aries</groupId>
+ <artifactId>parent</artifactId>
+ <version>2.0.1</version>
+ <relativePath />
</parent>
<groupId>org.apache.aries.blueprint</groupId>
@@ -75,6 +75,7 @@
</pomIncludes>
<postBuildHookScript>verify</postBuildHookScript>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
+ <parallelThreads>4</parallelThreads>
</configuration>
<executions>
<execution>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/custom-destination/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/custom-destination/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/custom-destination/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/custom-destination/pom.xml Wed Apr 11 14:34:53 2018
@@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.aries.blueprint.plugin.itest</groupId>
- <artifactId>simple-project</artifactId>
+ <artifactId>custom-destination</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/fail-on-conflict/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/fail-on-conflict/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/fail-on-conflict/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/fail-on-conflict/pom.xml Wed Apr 11 14:34:53 2018
@@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.aries.blueprint.plugin.itest</groupId>
- <artifactId>simple-project</artifactId>
+ <artifactId>fail-on-conflict</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/multiple-invocation/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/multiple-invocation/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/multiple-invocation/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/multiple-invocation/pom.xml Wed Apr 11 14:34:53 2018
@@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.aries.blueprint.plugin.itest</groupId>
- <artifactId>simple-project</artifactId>
+ <artifactId>multiple-invocation</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/pax-cdi/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/pax-cdi/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/pax-cdi/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/pax-cdi/pom.xml Wed Apr 11 14:34:53 2018
@@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.aries.blueprint.plugin.itest</groupId>
- <artifactId>simple-project</artifactId>
+ <artifactId>pax-cdi-project</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/produced-bean-by-method-name/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/produced-bean-by-method-name/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/produced-bean-by-method-name/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/produced-bean-by-method-name/pom.xml Wed Apr 11 14:34:53 2018
@@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.aries.blueprint.plugin.itest</groupId>
- <artifactId>simple-project</artifactId>
+ <artifactId>produced-bean-by-method-name</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/scanpath-restrict/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/scanpath-restrict/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/scanpath-restrict/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/scanpath-restrict/pom.xml Wed Apr 11 14:34:53 2018
@@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.aries.blueprint.plugin.itest</groupId>
- <artifactId>simple-project</artifactId>
+ <artifactId>scanpath-restrict</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/transaction-annotation/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/transaction-annotation/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/transaction-annotation/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin-itest/src/it/transaction-annotation/pom.xml Wed Apr 11 14:34:53 2018
@@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.aries.blueprint.plugin.itest</groupId>
- <artifactId>simple-project</artifactId>
+ <artifactId>transaction-annotation</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin-pax-cdi-handlers/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin-pax-cdi-handlers/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin-pax-cdi-handlers/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin-pax-cdi-handlers/pom.xml Wed Apr 11 14:34:53 2018
@@ -22,10 +22,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>blueprint-parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../parent/pom.xml</relativePath>
+ <groupId>org.apache.aries</groupId>
+ <artifactId>parent</artifactId>
+ <version>2.0.1</version>
+ <relativePath />
</parent>
<groupId>org.apache.aries.blueprint</groupId>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin-spi/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin-spi/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin-spi/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin-spi/pom.xml Wed Apr 11 14:34:53 2018
@@ -22,10 +22,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>blueprint-parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../parent/pom.xml</relativePath>
+ <groupId>org.apache.aries</groupId>
+ <artifactId>parent</artifactId>
+ <version>2.0.1</version>
+ <relativePath />
</parent>
<groupId>org.apache.aries.blueprint</groupId>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin-spring-handlers/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin-spring-handlers/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin-spring-handlers/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin-spring-handlers/pom.xml Wed Apr 11 14:34:53 2018
@@ -21,10 +21,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>blueprint-parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../parent/pom.xml</relativePath>
+ <groupId>org.apache.aries</groupId>
+ <artifactId>parent</artifactId>
+ <version>2.0.1</version>
+ <relativePath />
</parent>
<groupId>org.apache.aries.blueprint</groupId>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/pom.xml?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin/pom.xml (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/pom.xml Wed Apr 11 14:34:53 2018
@@ -22,10 +22,10 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>blueprint-parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../../parent/pom.xml</relativePath>
+ <groupId>org.apache.aries</groupId>
+ <artifactId>parent</artifactId>
+ <version>2.0.1</version>
+ <relativePath />
</parent>
<groupId>org.apache.aries.blueprint</groupId>
Modified: aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/GenerateMojo.java
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/GenerateMojo.java?rev=1828903&r1=1828902&r2=1828903&view=diff
==============================================================================
--- aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/GenerateMojo.java (original)
+++ aries/trunk/blueprint/plugin/blueprint-maven-plugin/src/main/java/org/apache/aries/blueprint/plugin/GenerateMojo.java Wed Apr 11 14:34:53 2018
@@ -50,7 +50,7 @@ import java.util.Set;
* Generates blueprint from CDI annotations
*/
@Mojo(name = "blueprint-generate", requiresDependencyResolution = ResolutionScope.COMPILE,
- defaultPhase = LifecyclePhase.PROCESS_CLASSES, inheritByDefault = false)
+ defaultPhase = LifecyclePhase.PROCESS_CLASSES, inheritByDefault = false, threadSafe = true)
public class GenerateMojo extends AbstractMojo {
@Parameter(defaultValue = "${project}", required = true)