Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Build failure while developing my Atlassian plugin, myPlugin

Biswa
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 16, 2024

Hi Atlassian Community,
I'm experiencing a build failure while developing my Atlassian plugin, myPlugin, and I'd appreciate some guidance from the community.
Exact Error : [INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.797 s
[INFO] Finished at: 2024-01-10T16:59:44+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project myPlugin: Could not resolve dependencies for project com.atlassian.tutorial:myPlugin:atlassian-plugin:1.0.0-SNAPSHOT: Failed to collect dependencies at org.ehcache:ehcache:jar:3.10.8 -> org.glassfish.jaxb:jaxb-runtime:jar:2.4.0-b180725.0644 -> com.sun.istack:istack-commons-runtime:jar:3.0.6: Failed to read artifact descriptor for com.sun.istack:istack-commons-runtime:jar:3.0.6: Could not transfer artifact com.sun.istack:istack-commons-runtime:pom:3.0.6 from/to packages-atlassian-common (https://packages.atlassian.com/): Not authorized , ReasonPhrase:Unauthorized. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project myPlugin: Could not resolve dependencies for project com.atlassian.tutorial:myPlugin:atlassian-plugin:1.0.0-SNAPSHOT: Failed to collect dependencies at org.ehcache:ehcache:jar:3.10.8 -> org.glassfish.jaxb:jaxb-runtime:jar:2.4.0-b180725.0644 -> com.sun.istack:istack-commons-runtime:jar:3.0.6   
  at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:269)   
  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 sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method


Error Description:
Maven fails to resolve dependencies with the following error message:
Failed to read artifact descriptor for com.sun.istack:istack-commons-runtime:jar:3.0.6: Could not transfer artifact com.sun.istack:istack-commons-runtime:pom:3.0.6 from/to packages-atlassian-common (https://packages.atlassian.com/): Not authorized , ReasonPhrase:Unauthorized.

0 answers

Suggest an answer

Log in or Sign up to answer