There has some configuration item which install [ojdbc 
jar](https://github.com/adriancole/incubator-skywalking/blob/mvn-wrapper/pom.xml#L450)
 and [resin 
jar](https://github.com/adriancole/incubator-skywalking/blob/mvn-wrapper/pom.xml#L450)
 in `pom.xml`, Is there execute command need to change to `./mvnw` command?

BTW, I found that I execute `./mvnw install` command  with error message and 
execute `./mvnw install -Dmaven.test.skip` without error message in my local 
environment, Is there same problem in your environment, if not, I will recheck 
my environment. Here is the error logs:
```
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on 
project apm-util: Execution default-test of goal 
org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test failed.: 
NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on 
project apm-util: Execution default-test of goal 
org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test failed.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
    at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
....
Caused by: java.lang.NullPointerException
    at 
org.apache.maven.surefire.shade.org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast
 (SystemUtils.java:1626)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.getEffectiveJvm 
(AbstractSurefireMojo.java:2107)
    at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.getForkConfiguration 
(AbstractSurefireMojo.java:1976)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider 
(AbstractSurefireMojo.java:1111)
    at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked
 (AbstractSurefireMojo.java:954)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute 
(AbstractSurefireMojo.java:832)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
``` 

[ Full content available at: 
https://github.com/apache/incubator-skywalking/pull/1569 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to