[jira] [Comment Edited] (MNG-6256) Maven script can break if "-f" path contains special characters

2018-02-02 Thread Christoph Etzel (JIRA)

[ 
https://issues.apache.org/jira/browse/MNG-6256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16350117#comment-16350117
 ] 

Christoph Etzel edited comment on MNG-6256 at 2/2/18 10:29 AM:
---

[~khmarbaise] can you provide a link to the 3.5.3-candidate, so i can test it? 
I have not found a tag or branch in the git repo. Thanks in advance.


was (Author: etzelc):
[~khmarbaise] can you provide a link to the 3.5.3-candidate, so i can test it? 
I have not found a tag or branch in the git repo.

> Maven script can break if "-f" path contains special characters 
> 
>
> Key: MNG-6256
> URL: https://issues.apache.org/jira/browse/MNG-6256
> Project: Maven
>  Issue Type: Bug
>  Components: Command Line
>Affects Versions: 3.5.0
> Environment: Windows 10 with PowerShell
>Reporter: Christoph Etzel
>Priority: Major
> Fix For: 3.5.3-candidate
>
>
> Executing maven on Windows using the {{\-f}} or {{--file}} parameter to 
> specify an alternate POM file can break the script if the path contains 
> special characters. 
> It was originally discovered on a Windows Jenkins instance with working 
> directory located under C:\Program Files (x86)\Jenkins..
> Example:
> {code:java}mvn -f "folderWithClosing)Bracket/pomFolder"{code}
> Command line output: {{"Bracket/pomFolder" kann syntaktisch an dieser Stelle 
> nicht verarbeitet werden.}}
> Just for fun: Starting calc from maven script using {{\-f}}
> {code:java}mvn -f " ' & start calc"{code}
> Command line output: {{POM file  '}} and a new calculator process
> The bug was introduced with commit 
> https://github.com/apache/maven/commit/f8ab2a650f32d5d87126d341d9bbfccbf99fd0ca
>  for issue MNG-5889.
> Workaround: Use maven 3.3.9 or below
> Possible fix: Escape {{%FILE_ARG%}} and {{%POM_DIR%}} with {{"}} in {{echo}} 
> commands in {{maven.cmd}} (line 120 and 129).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MNG-6256) Maven script can break if "-f" path contains special characters

2018-02-02 Thread Christoph Etzel (JIRA)

[ 
https://issues.apache.org/jira/browse/MNG-6256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16350117#comment-16350117
 ] 

Christoph Etzel commented on MNG-6256:
--

[~khmarbaise] can you provide a link to the 3.5.3-candidate, so i can test it? 
I have not found a tag or branch in the git repo.

> Maven script can break if "-f" path contains special characters 
> 
>
> Key: MNG-6256
> URL: https://issues.apache.org/jira/browse/MNG-6256
> Project: Maven
>  Issue Type: Bug
>  Components: Command Line
>Affects Versions: 3.5.0
> Environment: Windows 10 with PowerShell
>Reporter: Christoph Etzel
>Priority: Major
> Fix For: 3.5.3-candidate
>
>
> Executing maven on Windows using the {{\-f}} or {{--file}} parameter to 
> specify an alternate POM file can break the script if the path contains 
> special characters. 
> It was originally discovered on a Windows Jenkins instance with working 
> directory located under C:\Program Files (x86)\Jenkins..
> Example:
> {code:java}mvn -f "folderWithClosing)Bracket/pomFolder"{code}
> Command line output: {{"Bracket/pomFolder" kann syntaktisch an dieser Stelle 
> nicht verarbeitet werden.}}
> Just for fun: Starting calc from maven script using {{\-f}}
> {code:java}mvn -f " ' & start calc"{code}
> Command line output: {{POM file  '}} and a new calculator process
> The bug was introduced with commit 
> https://github.com/apache/maven/commit/f8ab2a650f32d5d87126d341d9bbfccbf99fd0ca
>  for issue MNG-5889.
> Workaround: Use maven 3.3.9 or below
> Possible fix: Escape {{%FILE_ARG%}} and {{%POM_DIR%}} with {{"}} in {{echo}} 
> commands in {{maven.cmd}} (line 120 and 129).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (MNG-6256) Maven script can break if "-f" path contains special characters

2017-07-12 Thread Christoph Etzel (JIRA)
Christoph Etzel created MNG-6256:


 Summary: Maven script can break if "-f" path contains special 
characters 
 Key: MNG-6256
 URL: https://issues.apache.org/jira/browse/MNG-6256
 Project: Maven
  Issue Type: Bug
  Components: Command Line
Affects Versions: 3.5.0
 Environment: Windows 10 with PowerShell
Reporter: Christoph Etzel


Executing maven on Windows using the {{-f}} or {{--file}} parameter to specify 
an alternate POM file can break the script if the path contains special 
characters. 
It was originally discovered on a Windows Jenkins instance with working 
directory located under C:\Program Files (x86)\Jenkins..

Example:
{code:java}mvn -f "folderWithClosing)Bracket/pomFolder"{code}
Command line output: {{"Bracket/pomFolder" kann syntaktisch an dieser Stelle 
nicht verarbeitet werden.}}

Just for fun: Starting calc from maven script using {{-f}}
{code:java}mvn -f " ' & start calc"{code}
Command line output: {{POM file  '}} and a new calculator process

The bug was introduced with commit 
https://github.com/apache/maven/commit/f8ab2a650f32d5d87126d341d9bbfccbf99fd0ca 
for issue MNG-5889.

Workaround: Use maven 3.3.9 or below

Possible fix: Escape {{%FILE_ARG%}} and {{%POM_DIR%}} with {{"}} in {{echo}} 
commands in {{maven.cmd}} (line 120 and 129).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (MNG-6256) Maven script can break if "-f" path contains special characters

2017-07-12 Thread Christoph Etzel (JIRA)

 [ 
https://issues.apache.org/jira/browse/MNG-6256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christoph Etzel updated MNG-6256:
-
Description: 
Executing maven on Windows using the {{\-f}} or {{--file}} parameter to specify 
an alternate POM file can break the script if the path contains special 
characters. 
It was originally discovered on a Windows Jenkins instance with working 
directory located under C:\Program Files (x86)\Jenkins..

Example:
{code:java}mvn -f "folderWithClosing)Bracket/pomFolder"{code}
Command line output: {{"Bracket/pomFolder" kann syntaktisch an dieser Stelle 
nicht verarbeitet werden.}}

Just for fun: Starting calc from maven script using {{\-f}}
{code:java}mvn -f " ' & start calc"{code}
Command line output: {{POM file  '}} and a new calculator process

The bug was introduced with commit 
https://github.com/apache/maven/commit/f8ab2a650f32d5d87126d341d9bbfccbf99fd0ca 
for issue MNG-5889.

Workaround: Use maven 3.3.9 or below

Possible fix: Escape {{%FILE_ARG%}} and {{%POM_DIR%}} with {{"}} in {{echo}} 
commands in {{maven.cmd}} (line 120 and 129).

  was:
Executing maven on Windows using the {{-f}} or {{--file}} parameter to specify 
an alternate POM file can break the script if the path contains special 
characters. 
It was originally discovered on a Windows Jenkins instance with working 
directory located under C:\Program Files (x86)\Jenkins..

Example:
{code:java}mvn -f "folderWithClosing)Bracket/pomFolder"{code}
Command line output: {{"Bracket/pomFolder" kann syntaktisch an dieser Stelle 
nicht verarbeitet werden.}}

Just for fun: Starting calc from maven script using {{-f}}
{code:java}mvn -f " ' & start calc"{code}
Command line output: {{POM file  '}} and a new calculator process

The bug was introduced with commit 
https://github.com/apache/maven/commit/f8ab2a650f32d5d87126d341d9bbfccbf99fd0ca 
for issue MNG-5889.

Workaround: Use maven 3.3.9 or below

Possible fix: Escape {{%FILE_ARG%}} and {{%POM_DIR%}} with {{"}} in {{echo}} 
commands in {{maven.cmd}} (line 120 and 129).


> Maven script can break if "-f" path contains special characters 
> 
>
> Key: MNG-6256
> URL: https://issues.apache.org/jira/browse/MNG-6256
> Project: Maven
>  Issue Type: Bug
>  Components: Command Line
>Affects Versions: 3.5.0
> Environment: Windows 10 with PowerShell
>Reporter: Christoph Etzel
>
> Executing maven on Windows using the {{\-f}} or {{--file}} parameter to 
> specify an alternate POM file can break the script if the path contains 
> special characters. 
> It was originally discovered on a Windows Jenkins instance with working 
> directory located under C:\Program Files (x86)\Jenkins..
> Example:
> {code:java}mvn -f "folderWithClosing)Bracket/pomFolder"{code}
> Command line output: {{"Bracket/pomFolder" kann syntaktisch an dieser Stelle 
> nicht verarbeitet werden.}}
> Just for fun: Starting calc from maven script using {{\-f}}
> {code:java}mvn -f " ' & start calc"{code}
> Command line output: {{POM file  '}} and a new calculator process
> The bug was introduced with commit 
> https://github.com/apache/maven/commit/f8ab2a650f32d5d87126d341d9bbfccbf99fd0ca
>  for issue MNG-5889.
> Workaround: Use maven 3.3.9 or below
> Possible fix: Escape {{%FILE_ARG%}} and {{%POM_DIR%}} with {{"}} in {{echo}} 
> commands in {{maven.cmd}} (line 120 and 129).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)