Package: jmock2 / 2.8.2-2

01-fix-expectations-creator.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fixes the invocation of the exec plugin during the build
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/jmock/pom.xml
+++ b/jmock/pom.xml
@@ -80,8 +80,11 @@
                     <!-- java -cp ~/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar:~.m2/repository/org/ow2/asm/asm-util/4.1/asm-util-4.1.jar 
                         org.objectweb.asm.util.ASMifier target/classes/org/jmock/Expectations.class 
                         > Xpectations.java -->
-                    <commandlineArgs>-cp %classpath:target/classes
-                        org.jmock.ExpectationsCreator</commandlineArgs>
+                    <arguments>
+                        <argument>-cp</argument>
+                        <argument>/usr/share/java/asm-all.jar:target/classes</argument>
+                        <argument>org.jmock.ExpectationsCreator</argument>
+                    </arguments>
                 </configuration>
             </plugin>