Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: native
-
Labels:None
-
Environment:all
-
Complexity:Intermediate
-
Number of attachments :
Description
This condition only happen when user run the build with build with both 'install' and 'site' goals. Which also runs the compile multiple times and there multiple duplicate object file get pushed into the link.
The solution is to clear the object file list at validation phase to prevent duplication
fixed at
Revision: 13294
Author: dantran
Date: 7:52:11 PM, Thursday, December 16, 2010
Message:
MOJO-1612handle duplicate object list when compiler get called multiple times on the same projects ( ex install site ), creating duplicate objects at link time and failModified : /trunk/mojo/maven-native/native-maven-plugin/src/main/java/org/codehaus/mojo/natives/plugin/NativeInitializeMojo.java