You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandeep More (JIRA)" <ji...@apache.org> on 2017/06/05 15:01:04 UTC

[jira] [Commented] (KNOX-959) Site Build Fails on Windows

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

Sandeep More commented on KNOX-959:
-----------------------------------

Hello [~rkellogg] 
Thanks for the patch and pointing it out !
It appears this is because Maven 3.3+ no longer supports {{mvn.bat}}, as support for older windows is dropped. 

The current patch however could break older Maven release or break on older windows platforms (I must admit I haven't tried it with older windows yet, so I could be wrong)

I would suggest, dropping the extension all together, i.e. instead of {{mvn.bat}} or {{mvn.cmd}} just use {{mvn}}
I did a quick test and this seems to work on my example script. Let me know your thoughts on this !


> Site Build Fails on Windows
> ---------------------------
>
>                 Key: KNOX-959
>                 URL: https://issues.apache.org/jira/browse/KNOX-959
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Site
>    Affects Versions: 0.12.0
>            Reporter: Rick Kellogg
>            Assignee: Rick Kellogg
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: KNOX-959.patch
>
>
> The Ant build.xml file fails on Windows fails due to a change in the name of the script file within Maven (mvn.bat to mvn.cmd). 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)