You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2005/10/11 04:06:11 UTC

[jira] Updated: (MNG-1089) apparent race condition when installing a plugin and executing the same plugin in a single build session

     [ http://jira.codehaus.org/browse/MNG-1089?page=all ]

John Casey updated MNG-1089:
----------------------------

    Remaining Estimate: 2 hours
     Original Estimate: 7200

just going to implement plugin container reloading for now. This should take care of any updates to plugin (or dependency) artifacts.

> apparent race condition when installing a plugin and executing the same plugin in a single build session
> --------------------------------------------------------------------------------------------------------
>
>          Key: MNG-1089
>          URL: http://jira.codehaus.org/browse/MNG-1089
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugin-plugin, maven-core
>     Versions: 2.0-beta-3
>     Reporter: John Casey
>     Assignee: John Casey
>      Fix For: 2.0-beta-4

>
> Original Estimate: 2 hours
>         Remaining: 2 hours
>
> Steps to reproduce:
> go into <maven>/maven-core-it/it0013
> execute:
> m2 -cpl -e clean:clean install it0013:it0013
> The first time around (if you have a clean local repo WRT it0013), it should simply install the plugin, and run it. HOWEVER, subsequent runs will intermittently result in an NPE in java.util.jar.JarFile. I believe this is a result of initializing the plugin container for it0013:it0013 early in the lifecycle executor in order to determine whether this mojo is an aggregator. When the install mojo completes, it will have overwritten the original artifact file used in this plugin container's classpath. I *think* this is what's causing the problem, though I can't exactly work out why it's intermittent.
> At any rate, we need to address this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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