title: Could not find artifact com.sun:tools:jar:1.7
body: <p><strong><em>Here is my pom.xml</em></strong> </p>
  
  <p>
  </p>
  
  <pre><code>&lt;project ... &gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;groupId&gt;io.fabric8&lt;/groupId&gt;
  &lt;artifactId&gt;kubernetes-alexa&lt;/artifactId&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;jar&lt;/packaging&gt;
  
  
  &lt;properties&gt;
      &lt;maven.compiler.source&gt;1.8&lt;/maven.compiler.source&gt;
      &lt;maven.compiler.target&gt;1.8&lt;/maven.compiler.target&gt;
  
      &lt;!-- lambda --&gt;
      &lt;lambda.functionCode&gt;${project.build.directory}/${project.build.finalName}.jar&lt;/lambda.functionCode&gt;
      &lt;lambda.version&gt;${project.version}&lt;/lambda.version&gt;
      &lt;lambda.publish&gt;true&lt;/lambda.publish&gt;
      &lt;lambda.forceUpdate&gt;true&lt;/lambda.forceUpdate&gt;
  
      &lt;!-- versions --&gt;
      &lt;alexa-skills-kit.version&gt;1.3.1&lt;/alexa-skills-kit.version&gt;
      &lt;junit.version&gt;4.12&lt;/junit.version&gt;
      &lt;kubernetes-client.version&gt;2.5.1&lt;/kubernetes-client.version&gt;
      &lt;sundrio.version&gt;0.8.2&lt;/sundrio.version&gt;
  
      &lt;!-- plugin versions --&gt;
      &lt;lambda-maven-plugin.version&gt;2.2.2&lt;/lambda-maven-plugin.version&gt;
  
  &lt;/properties&gt;
  
  &lt;dependencyManagement&gt;
      &lt;dependencies&gt;
          &lt;!-- We are importing the kuberntes-client bom with deps to prevent jackson conflicts --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;io.fabric8&lt;/groupId&gt;
              &lt;artifactId&gt;kubernetes-client&lt;/artifactId&gt;
              &lt;version&gt;${kubernetes-client.version}&lt;/version&gt;
              &lt;type&gt;pom&lt;/type&gt;
              &lt;scope&gt;import&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/dependencyManagement&gt;
  &lt;dependencies&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;io.fabric8&lt;/groupId&gt;
          &lt;artifactId&gt;openshift-client&lt;/artifactId&gt;
          &lt;version&gt;${kubernetes-client.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/com.amazon.alexa/alexa-skills-kit --&gt;
  </code></pre>
  
  <p>"pom.xml" 148L, 5831C</p>
  
  <p>deploy command :</p>
  
  <p><code>mvn clean package shade:shade com.github.seanroy:lambda-maven-plugin:deploy-lambda</code></p>
  
  <p>Error while deploying the maven:</p>
  
  <p>Logs :</p>
  
  <pre><code>Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.sun:tools:jar:1.7 at specified path /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/../lib/tools.jar
      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:264)
      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:224)
      at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies (DefaultRepositorySystem.java:338)
      at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve (DefaultProjectDependenciesResolver.java:202)
      at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:243)
      at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:147)
      at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:246)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200)
      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)
      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
      at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
      at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
      at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
      at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke (Method.java:564)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
  [ERROR] 
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
  
  
  
  **Error :** Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.sun:tools:jar:1.7 at specified path
  </code></pre>
  
  <p><strong>Note :</strong> Running on MacOS</p>