Skip to content
Snippets Groups Projects
Commit 303d3487 authored by Paul Gregoire's avatar Paul Gregoire
Browse files

Set test skip enabled, remove surefire

parent 919e9854
Branches
No related tags found
No related merge requests found
......@@ -13,17 +13,6 @@
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<!--
<plugin>
<artifactId>maven-toolchains-plugin</artifactId>
</plugin>
-->
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
......
......@@ -21,12 +21,6 @@
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-toolchains-plugin</artifactId>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
......
......@@ -130,7 +130,7 @@ public class ReflectionUtils {
* Arguments
* @return Method/params pairs
*/
public static Object[] findMethodWithExactParameters(Object service, String methodName, Object[] args) {
private static Object[] findMethodWithExactParameters(Object service, String methodName, Object[] args) {
int numParams = (args == null) ? 0 : args.length;
if (isTrace) {
log.trace("Args / parameters count: {}", numParams);
......@@ -192,7 +192,7 @@ public class ReflectionUtils {
* Arguments
* @return Method/params pairs
*/
public static Object[] findMethodWithListParameters(Object service, String methodName, List<?> args) {
private static Object[] findMethodWithListParameters(Object service, String methodName, List<?> args) {
return findMethodWithListParameters(service, methodName, args.toArray());
}
......@@ -207,7 +207,7 @@ public class ReflectionUtils {
* Arguments
* @return Method/params pairs
*/
public static Object[] findMethodWithListParameters(Object service, String methodName, Object[] args) {
private static Object[] findMethodWithListParameters(Object service, String methodName, Object[] args) {
Method method = null;
try {
// convert the args first
......@@ -253,7 +253,7 @@ public class ReflectionUtils {
* Number of parameters
* @return List of methods that match by name and number of parameters
*/
public static List<Method> findMethodsByNameAndNumParams(Object object, String method, int numParam) {
private static List<Method> findMethodsByNameAndNumParams(Object object, String method, int numParam) {
LinkedList<Method> list = new LinkedList<>();
Method[] methods = object.getClass().getMethods();
for (Method m : methods) {
......
......@@ -13,12 +13,6 @@
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-toolchains-plugin</artifactId>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
......
......@@ -86,7 +86,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- to run unit tests use -Dmaven.test.skip=false -->
<!-- <maven.test.skip>true</maven.test.skip> -->
<maven.test.skip>true</maven.test.skip>
<maven.compiler.source>1.11</maven.compiler.source>
<maven.compiler.target>1.11</maven.compiler.target>
<java.release.level>11</java.release.level>
......@@ -319,18 +319,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M3</version>
<configuration>
<skipTests>${skipTests}</skipTests>
</configuration>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<artifactId>maven-scm-plugin</artifactId>
<version>1.11.2</version>
......
......@@ -5,7 +5,7 @@
}
],
"settings": {
"java.configuration.updateBuildConfiguration": "interactive",
"java.configuration.updateBuildConfiguration": "automatic",
"java.compile.nullAnalysis.mode": "automatic",
"java.project.sourcePaths": [
"io",
......
......@@ -54,11 +54,10 @@ public class ReflectionUtilsTest {
}
assertNotEquals(NULL_RETURN, result);
}
private class DummyConnection extends RTMPMinaConnection {
}
public class TestService {
......@@ -66,7 +65,7 @@ public class ReflectionUtilsTest {
public void doTest(String param) {
log.info("doTest: {}", param);
}
public void doTestWithConn(IConnection conn, String param0, Integer param1) {
log.info("doTestWithConn: {} {} {}", conn, param0, param1);
}
......
......@@ -16,12 +16,6 @@
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-toolchains-plugin</artifactId>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment