Native Plugin is not compatible with Maven 3
--------------------------------------------

                 Key: MOJO-1528
                 URL: http://jira.codehaus.org/browse/MOJO-1528
             Project: Mojo
          Issue Type: Bug
          Components: native
            Reporter: Eric Berry
         Attachments: NativeInitializeMojo.java, NativeLinkMojo.java

Maven 3 has changed the representation of the PluginContext object.  Maven 2 
represented this as a HashMap.  Maven 3 represents this as a ConcurrentHashMap. 
 HashMap allows nulls to be inserted into the map, ConcurrentHashMap does not.  
This is causing the NativeInitializationMojo to throw a NullPointerException.  

The attached files provide a fix for the problem by funneling all access to the 
AbstractNativeMojo.LINKER_INPUT_LIST_NAME property through the 
getAllCompilersOutputFileList() method.

-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to