Remove use of exec-maven-plugin
This commit is contained in:
parent
5d34ecba08
commit
c767ee45c6
@ -90,26 +90,6 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
|
||||||
<artifactId>exec-maven-plugin</artifactId>
|
|
||||||
<version>1.6.0</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>process-classes</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>exec</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<executable>cp</executable>
|
|
||||||
<arguments>
|
|
||||||
<argument>${project.build.sourceDirectory}/org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher.class</argument>
|
|
||||||
<argument>${project.build.outputDirectory}/org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher.raw</argument>
|
|
||||||
</arguments>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
@ -23,7 +23,6 @@ BuildRequires: mvn(net.bytebuddy:byte-buddy)
|
|||||||
BuildRequires: mvn(net.bytebuddy:byte-buddy-agent)
|
BuildRequires: mvn(net.bytebuddy:byte-buddy-agent)
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
BuildRequires: mvn(org.assertj:assertj-core)
|
BuildRequires: mvn(org.assertj:assertj-core)
|
||||||
BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin)
|
|
||||||
BuildRequires: mvn(org.hamcrest:hamcrest)
|
BuildRequires: mvn(org.hamcrest:hamcrest)
|
||||||
BuildRequires: mvn(org.objenesis:objenesis)
|
BuildRequires: mvn(org.objenesis:objenesis)
|
||||||
BuildRequires: mvn(org.opentest4j:opentest4j)
|
BuildRequires: mvn(org.opentest4j:opentest4j)
|
||||||
@ -63,7 +62,9 @@ EOF
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
# See the usage of exec-maven-plugin in the pom
|
# See the usage of exec-maven-plugin in the pom
|
||||||
javac src/main/java/org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher.java
|
mkdir -p target/classes/
|
||||||
|
javac -d target/classes/ src/main/java/org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher.java
|
||||||
|
mv target/classes/org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher.{class,raw}
|
||||||
|
|
||||||
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
|
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user