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

Elliotte Rusty Harold closed MPATCH-16.
---------------------------------------

> maven-patch-plugin fails silent when patch binary is not found
> --------------------------------------------------------------
>
>                 Key: MPATCH-16
>                 URL: https://issues.apache.org/jira/browse/MPATCH-16
>             Project: Maven Patch Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>            Reporter: Chris Pimlott
>            Priority: Major
>             Fix For: 1.2
>
>
> The {{maven-patch-plugin}} does not throw an error or display any message 
> when the GNU {{patch}} binary is not present in the system path.  This makes 
> it easy to accidentally include an unpatched file in the build artifact that 
> may cause undetected subtle errors.
> The plugin should report an error when the binary cannot be found in order to 
> cause the build to fail.
> {code}
> PATH=/bin /usr/bin/java -classpath 
> /usr/share/maven/boot/plexus-classworlds-2.4.jar 
> -Dclassworlds.conf=/usr/share/maven/bin/m2.conf -Dmaven.home=/usr/share/maven 
> org.codehaus.plexus.classworlds.launcher.Launcher -o prepare-package
> {code}
> {quote}
> [INFO] --- maven-patch-plugin:1.1.1:apply (patch) @ leo-dist ---
> [INFO]
> {quote}



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

Reply via email to