[
http://jira.codehaus.org/browse/MOJO-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Tran closed MOJO-1528.
--------------------------
Resolution: Fixed
Assignee: Dan Tran
patch applied at
Revision: 12201
Author: dantran
Date: 10:05:49 PM, Tuesday, May 18, 2010
Message:
[MOJO-1528] dont use NULL as value in pluginContext to make this plugin
compatible with Maven 3
----
Modified : /trunk/mojo/maven-native/native-maven-plugin/src/it/jni/pom.xml
Modified : /trunk/mojo/maven-native/native-maven-plugin/src/it/linkages/pom.xml
Added : /trunk/mojo/maven-native/native-maven-plugin/src/it/pom.xml
Modified : /trunk/mojo/maven-native/native-maven-plugin/src/it/staticlib/pom.xml
Modified :
/trunk/mojo/maven-native/native-maven-plugin/src/main/java/org/codehaus/mojo/natives/plugin/NativeInitializeMojo.java
Modified :
/trunk/mojo/maven-native/native-maven-plugin/src/main/java/org/codehaus/mojo/natives/plugin/NativeLinkMojo.java
> 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
> Assignee: Dan Tran
> Attachments: NativeInitializeMojo.java, NativeLinkMojo.java, svn.patch
>
>
> 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