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

Matthias Balke commented on MPATCH-16:
--------------------------------------

It seems that this was fixed in version 1.2. I got an exception, that patch is 
missing while configuring the maven patch plugin recently.

> 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
>
> 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
(v7.6.3#76005)

Reply via email to