felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-2656) Maven-bundle-plugin identified as not thread-safe in Maven 3.0
Date Sat, 25 Jun 2011 20:01:47 GMT

     [ https://issues.apache.org/jira/browse/FELIX-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stuart McCulloch updated FELIX-2656:
------------------------------------

    Fix Version/s: maven-bundle-plugin-2.3.5

> Maven-bundle-plugin identified as not thread-safe in Maven 3.0
> --------------------------------------------------------------
>
>                 Key: FELIX-2656
>                 URL: https://issues.apache.org/jira/browse/FELIX-2656
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.1.0
>            Reporter: Alex Blewitt
>            Priority: Minor
>             Fix For: maven-bundle-plugin-2.3.5
>
>
> When executing a Maven-3 build with maven-bundle-plugin and set to more than one thread,
this error message is shown:
> [WARNING] *****************************************************************
> [WARNING] * Your build is requesting parallel execution, but project      *
> [WARNING] * contains the following plugin(s) that are not marked as       *
> [WARNING] * @threadSafe to support parallel building.                     *
> [WARNING] * While this /may/ work fine, please look for plugin updates    *
> [WARNING] * and/or request plugins be made thread-safe.                   *
> [WARNING] * If reporting an issue, report it against the plugin in        *
> [WARNING] * question, not against maven-core                              *
> [WARNING] *****************************************************************
> [WARNING] The following plugins are not marked @threadSafe in com.infoq.minimal:
> [WARNING] org.apache.felix:maven-bundle-plugin:2.1.0
> [WARNING] *****************************************************************
> https://cwiki.apache.org/MAVEN/parallel-builds-in-maven-3.html
> mvn -T 4 clean install # Builds with 4 threads
> I believe the solution is to add @threadSafe to the maven-bundle-plugin MoJo class (after
checking that it is in fact thread-safe :)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message