[ 
http://jira.codehaus.org/browse/MOJO-1484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Tran closed MOJO-1484.
--------------------------

    Resolution: Fixed
      Assignee: Dan Tran

found a way to introduce this feature and deprecated the old configuration

fixed at

Revision: 11551
Author: dantran
Date: 4:11:51 PM, Sunday, December 27, 2009
Message:
MOJO-1484: 
 - Bind javah goal to all dynamic shared libaries ( so, dll, etc ) to 
generate-sources when javahClassNames is configured.  
 - Global search of JNI interface must be enable with 
javahSearchJNIFromDependencies flag.  Existing native-maven-plugin builds must 
add this flag 
   since empty javaClassNames no longer trigger this search.  This make 
1.0-alpha-4 not backward compatible but it may be ok, since this feature
   are not wildly used.
 - Replace general configuration name with javah prefix ( ie classNames to 
javahClassNames, outputFileName to javahOuputFileName, etc ) with deprecated 
annotation.
 - Existing java execution configuration still works with deprecated warning.
 
 
----
Modified : 
/trunk/mojo/maven-native/native-maven-plugin/src/it/jni/native/linux/pom.xml
Modified : 
/trunk/mojo/maven-native/native-maven-plugin/src/it/jni/native/macosx/pom.xml
Modified : 
/trunk/mojo/maven-native/native-maven-plugin/src/it/jni/native/solaris/pom.xml
Modified : 
/trunk/mojo/maven-native/native-maven-plugin/src/it/jni/native/win32/pom.xml
Modified : 
/trunk/mojo/maven-native/native-maven-plugin/src/main/java/org/codehaus/mojo/natives/plugin/NativeJavahMojo.java
Modified : 
/trunk/mojo/maven-native/native-maven-plugin/src/main/resources/META-INF/plexus/components.xml
Modified : 
/trunk/mojo/maven-native/native-maven-plugin/src/site/apt/examples/jni-dll.apt
Modified : 
/trunk/mojo/maven-native/native-maven-plugin/src/site/apt/lifecycle.apt
Modified : /trunk/mojo/maven-native/native-maven-plugin/src/site/apt/usage.apt
Modified : 
/trunk/mojo/maven-native/native-maven-plugin/src/test/java/org/codehaus/mojo/natives/plugin/NativeJavahMojoTest.java
Modified : 
/trunk/mojo/maven-native/native-maven-plugin/src/test/resources/javah/plugin-config.xml



> Bind javah goal to shared library custom lifecycle - please vote
> ----------------------------------------------------------------
>
>                 Key: MOJO-1484
>                 URL: http://jira.codehaus.org/browse/MOJO-1484
>             Project: Mojo
>          Issue Type: Improvement
>          Components: native
>            Reporter: Dan Tran
>            Assignee: Dan Tran
>
> doing so will break backward compatibility, but make the pom cleaner. If you 
> like this improvement, please vote
> we will need to rename classNames config to javahClassName

-- 
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