You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/08/21 21:53:29 UTC

[GitHub] ascrutae commented on issue #1569: Moves to Maven wrapper to stabilize the version in use

ascrutae commented on issue #1569: Moves to Maven wrapper to stabilize the version in use
URL: https://github.com/apache/incubator-skywalking/pull/1569#issuecomment-414834209
 
 
   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)
   ``` 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services