diff --git a/pom.xml b/pom.xml
index 79918b6ba4a..84d272f4ffe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -70,6 +70,7 @@
2.0.29
2.2
0.8.8
+
mvn clean install -DskipTests
mvn resources:resources javadoc:javadoc scm-publish:publish-scm
@@ -1028,7 +1029,7 @@
false
UTF-8
- @{argLine}-javaagent:${user.home}/.m2/repository/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
+ @{argLine} ${surefireArgLine} -javaagent:${user.home}/.m2/repository/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
@@ -1082,7 +1083,7 @@
false
UTF-8
- @{argLine} -javaagent:${user.home}/.m2/repository/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
+ @{argLine} ${surefireArgLine} -javaagent:${user.home}/.m2/repository/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar