[jira] [Commented] (MRELEASE-1048) Unrecognized option: --no-transfer-progress

2022-05-06 Thread Michael Osipov (Jira)


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

Michael Osipov commented on MRELEASE-1048:
--

Fantastic!

> Unrecognized option: --no-transfer-progress
> ---
>
> Key: MRELEASE-1048
> URL: https://issues.apache.org/jira/browse/MRELEASE-1048
> Project: Maven Release Plugin
>  Issue Type: Bug
>  Components: prepare
>Affects Versions: 2.5.3
>Reporter: Olivier Vernin
>Priority: Major
>
> ```
> usr/share/maven/bin/mvn B -s settings-release.xml 
> -Darguments='-no-transfer-progress' release:prepare
>  
> Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on 
> project remoting: Failed to re-parse additional arguments for Maven 
> invocation. Unrecognized option: --no-transfer-progress -> [Help 1]
> ```
>  
> maven version
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>  Maven home: /usr/share/maven
>  Java version: 1.8.0_252, vendor: Oracle Corporation, runtime: 
> /usr/local/openjdk-8/jre
>  Default locale: en, platform encoding: UTF-8
>  OS name: "linux", version: "4.15.0-1082-azure", arch: "amd64", family: "unix"



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (MRELEASE-1048) Unrecognized option: --no-transfer-progress

2022-05-06 Thread Slawomir Jaranowski (Jira)


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

Slawomir Jaranowski commented on MRELEASE-1048:
---

yes - after MRELEASE-1088 we can pass everything

> Unrecognized option: --no-transfer-progress
> ---
>
> Key: MRELEASE-1048
> URL: https://issues.apache.org/jira/browse/MRELEASE-1048
> Project: Maven Release Plugin
>  Issue Type: Bug
>  Components: prepare
>Affects Versions: 2.5.3
>Reporter: Olivier Vernin
>Priority: Major
>
> ```
> usr/share/maven/bin/mvn B -s settings-release.xml 
> -Darguments='-no-transfer-progress' release:prepare
>  
> Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on 
> project remoting: Failed to re-parse additional arguments for Maven 
> invocation. Unrecognized option: --no-transfer-progress -> [Help 1]
> ```
>  
> maven version
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>  Maven home: /usr/share/maven
>  Java version: 1.8.0_252, vendor: Oracle Corporation, runtime: 
> /usr/local/openjdk-8/jre
>  Default locale: en, platform encoding: UTF-8
>  OS name: "linux", version: "4.15.0-1082-azure", arch: "amd64", family: "unix"



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (MRELEASE-1048) Unrecognized option: --no-transfer-progress

2022-05-06 Thread Michael Osipov (Jira)


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

Michael Osipov commented on MRELEASE-1048:
--

This will likely be obsolete with MRELEASE-1088. [~sjaranowski], can you 
confirm?

> Unrecognized option: --no-transfer-progress
> ---
>
> Key: MRELEASE-1048
> URL: https://issues.apache.org/jira/browse/MRELEASE-1048
> Project: Maven Release Plugin
>  Issue Type: Bug
>  Components: prepare
>Affects Versions: 2.5.3
>Reporter: Olivier Vernin
>Priority: Major
>
> ```
> usr/share/maven/bin/mvn B -s settings-release.xml 
> -Darguments='-no-transfer-progress' release:prepare
>  
> Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on 
> project remoting: Failed to re-parse additional arguments for Maven 
> invocation. Unrecognized option: --no-transfer-progress -> [Help 1]
> ```
>  
> maven version
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>  Maven home: /usr/share/maven
>  Java version: 1.8.0_252, vendor: Oracle Corporation, runtime: 
> /usr/local/openjdk-8/jre
>  Default locale: en, platform encoding: UTF-8
>  OS name: "linux", version: "4.15.0-1082-azure", arch: "amd64", family: "unix"



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (MRELEASE-1048) Unrecognized option: --no-transfer-progress

2022-01-06 Thread Slawomir Jaranowski (Jira)


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

Slawomir Jaranowski commented on MRELEASE-1048:
---

How it is connected with: MRELEASE-965 ?

> Unrecognized option: --no-transfer-progress
> ---
>
> Key: MRELEASE-1048
> URL: https://issues.apache.org/jira/browse/MRELEASE-1048
> Project: Maven Release Plugin
>  Issue Type: Bug
>  Components: prepare
>Affects Versions: 2.5.3
>Reporter: Olivier Vernin
>Priority: Major
>
> ```
> usr/share/maven/bin/mvn B -s settings-release.xml 
> -Darguments='-no-transfer-progress' release:prepare
>  
> Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on 
> project remoting: Failed to re-parse additional arguments for Maven 
> invocation. Unrecognized option: --no-transfer-progress -> [Help 1]
> ```
>  
> maven version
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>  Maven home: /usr/share/maven
>  Java version: 1.8.0_252, vendor: Oracle Corporation, runtime: 
> /usr/local/openjdk-8/jre
>  Default locale: en, platform encoding: UTF-8
>  OS name: "linux", version: "4.15.0-1082-azure", arch: "amd64", family: "unix"



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (MRELEASE-1048) Unrecognized option: --no-transfer-progress

2020-06-24 Thread Robert Scholte (Jira)


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

Robert Scholte commented on MRELEASE-1048:
--

How about settings [mavenExecutorId 
|maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html#mavenExecutorId]
 to {{"forked-path"}}, so you switch to the implementation of 
https://github.com/apache/maven-release/blob/master/maven-release-manager/src/main/java/org/apache/maven/shared/release/exec/ForkedMavenExecutor.java
 ?
This will fork Maven and won't validate the arguments.

> Unrecognized option: --no-transfer-progress
> ---
>
> Key: MRELEASE-1048
> URL: https://issues.apache.org/jira/browse/MRELEASE-1048
> Project: Maven Release Plugin
>  Issue Type: Bug
>  Components: prepare
>Affects Versions: 2.5.3
>Reporter: Olivier Vernin
>Priority: Major
>
> ```
> usr/share/maven/bin/mvn B -s settings-release.xml 
> -Darguments='-no-transfer-progress' release:prepare
>  
> Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on 
> project remoting: Failed to re-parse additional arguments for Maven 
> invocation. Unrecognized option: --no-transfer-progress -> [Help 1]
> ```
>  
> maven version
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>  Maven home: /usr/share/maven
>  Java version: 1.8.0_252, vendor: Oracle Corporation, runtime: 
> /usr/local/openjdk-8/jre
>  Default locale: en, platform encoding: UTF-8
>  OS name: "linux", version: "4.15.0-1082-azure", arch: "amd64", family: "unix"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MRELEASE-1048) Unrecognized option: --no-transfer-progress

2020-06-24 Thread Arnaud Heritier (Jira)


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

Arnaud Heritier commented on MRELEASE-1048:
---

I had a quick look at it.

This option is effectively not declared in 
[https://github.com/apache/maven-release/blob/master/maven-release-manager/src/main/java/org/apache/maven/shared/release/exec/InvokerMavenExecutor.java]
 but the real problem is that we cannot pass to the InvocationRequest a 
TransfertListerner like we do in a MavenExecutionRequest

[https://github.com/apache/maven/blob/658ad90b3850131e4a73fd6cca2ead30f6e5f213/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java#L1469-L1484]

We could probably have a workaround by just defining the system property 
-[Dorg.slf4j.simpleLogger.log.org|http://dorg.slf4j.simplelogger.log.org/].apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
 like in pre 3.6.1 but it's not really clean ...

WDYT [~rfscholte] ?

> Unrecognized option: --no-transfer-progress
> ---
>
> Key: MRELEASE-1048
> URL: https://issues.apache.org/jira/browse/MRELEASE-1048
> Project: Maven Release Plugin
>  Issue Type: Bug
>  Components: prepare
>Affects Versions: 2.5.3
>Reporter: Olivier Vernin
>Priority: Major
>
> ```
> usr/share/maven/bin/mvn B -s settings-release.xml 
> -Darguments='-no-transfer-progress' release:prepare
>  
> Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on 
> project remoting: Failed to re-parse additional arguments for Maven 
> invocation. Unrecognized option: --no-transfer-progress -> [Help 1]
> ```
>  
> maven version
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>  Maven home: /usr/share/maven
>  Java version: 1.8.0_252, vendor: Oracle Corporation, runtime: 
> /usr/local/openjdk-8/jre
>  Default locale: en, platform encoding: UTF-8
>  OS name: "linux", version: "4.15.0-1082-azure", arch: "amd64", family: "unix"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MRELEASE-1048) Unrecognized option: --no-transfer-progress

2020-06-24 Thread Olivier Vernin (Jira)


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

Olivier Vernin commented on MRELEASE-1048:
--

A suggested workaround was to replace ''-Darguments='-no-transfer-progress'" by 
"-Darguments=-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
 release:clean

> Unrecognized option: --no-transfer-progress
> ---
>
> Key: MRELEASE-1048
> URL: https://issues.apache.org/jira/browse/MRELEASE-1048
> Project: Maven Release Plugin
>  Issue Type: Bug
>  Components: prepare
>Affects Versions: 2.5.3
>Reporter: Olivier Vernin
>Priority: Major
>
> ```
> usr/share/maven/bin/mvn B -s settings-release.xml 
> -Darguments='-no-transfer-progress' release:prepare
>  
> Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on 
> project remoting: Failed to re-parse additional arguments for Maven 
> invocation. Unrecognized option: --no-transfer-progress -> [Help 1]
> ```
>  
> maven version
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>  Maven home: /usr/share/maven
>  Java version: 1.8.0_252, vendor: Oracle Corporation, runtime: 
> /usr/local/openjdk-8/jre
>  Default locale: en, platform encoding: UTF-8
>  OS name: "linux", version: "4.15.0-1082-azure", arch: "amd64", family: "unix"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)