[ 
https://issues.apache.org/jira/browse/MJAR-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957187#comment-17957187
 ] 

Matthias Bünger commented on MJAR-104:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-jar-plugin#283|https://github.com/apache/maven-jar-plugin/issues/283].
 

> Jarsigner is not search on the right location for AIX and JAVA 1.5
> ------------------------------------------------------------------
>
>                 Key: MJAR-104
>                 URL: https://issues.apache.org/jira/browse/MJAR-104
>             Project: Maven JAR Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: sign
>         Environment: IBM AIX 5.3 and JAVA 1.5
>            Reporter: hugo lassiege
>            Assignee: Benjamin Bentmann
>            Priority: Major
>
> Hi,
> On previous versions of JAVA for AIX, the JAVA was a JDK and the JAVA_HOME 
> was under JAVA/jre/.... 
> So, for AIX, the plugin search the jarsigner executable under JAVA_HOME/../sh 
> :
>     private static File getJDKCommandExe( String command )
> 414     {
> 415         String fullCommand = command + ( SystemUtils.IS_OS_WINDOWS ? 
> ".exe" : "" );
> 416 
> 417         File exe;
> 418 
> 419         // For IBM's JDK 1.2
> 420         if ( SystemUtils.IS_OS_AIX )
> 421         {
> 422             exe = new File( SystemUtils.getJavaHome() + "/../sh", 
> fullCommand );
> 423         }
> However, since JAVA 1.5, AIX deliver a JRE and there is no need to search in 
> this strange location. jarsigner is in the same place as for SUN or Linux : 
> JAVA_HOME/bin
> The test should be enhance for java 1.5.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to