You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2019/04/28 12:43:00 UTC
[jira] [Commented] (MCOMPILER-371) RFE: support new javac option
"-h"
[ https://issues.apache.org/jira/browse/MCOMPILER-371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16827979#comment-16827979 ]
Karl Heinz Marbaise commented on MCOMPILER-371:
-----------------------------------------------
You think that using the suggested solution
{code:xml}
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<compilerArgs>
<arg>-h</arg>
<arg>target/headers</arg>
</compilerArgs>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
{code}
is not enough? Also an example project would be helpful.
> RFE: support new javac option "-h"
> ----------------------------------
>
> Key: MCOMPILER-371
> URL: https://issues.apache.org/jira/browse/MCOMPILER-371
> Project: Maven Compiler Plugin
> Issue Type: Improvement
> Affects Versions: 3.8.0
> Reporter: Mark
> Priority: Minor
> Fix For: waiting-for-feedback
>
>
> The javah command line utility to generate JNI header files was removed and its functionality moved into javac in the form of a new command line option "-h" which determines the output directory of the JNI header files.
> Please add a configuration option to the plugin's pom.xml configuration section to allow setting that option without having to resort to the workaround described here:
> [https://stackoverflow.com/questions/53186355/how-can-i-pass-h-argument-to-maven-compiler-plugin-to-create-jni-header-files]
> TY!
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)