Hi, Thanks for the quick reply.
The project is a SpringBoot application. In the `pom.xml` we define the e-iceblue repository
- Code: Select all
<repository>
<id>com.e-iceblue</id>
<name>e-iceblue</name>
<url>https://repo.e-iceblue.com/repository/maven-public/</url>
</repository>
and include the dependency later on:
- Code: Select all
<dependency>
<groupId>e-iceblue</groupId>
<artifactId>spire.xls</artifactId>
<version>13.4.1</version>
</dependency>
This exact code works fine when building locally using `mvn clean install`
Running this exact same command inside of my Github Actions, it fails with HTTP 405:
- Code: Select all
#26 86.29 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.8.1:go-offline (default-cli) on project common: org.eclipse.aether.resolution.DependencyResolutionException: The following artifacts could not be resolved: e-iceblue:spire.xls:jar:13.4.1 (absent): Could not transfer artifact e-iceblue:spire.xls:jar:13.4.1 from/to com.e-iceblue (https://repo.e-iceblue.com/repository/maven-public/): status code: 405, reason phrase: Not Allowed (405) -> [Help 1]
#26 86.29 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.8.1:go-offline (default-cli) on project common: org.eclipse.aether.resolution.DependencyResolutionException: The following artifacts could not be resolved: e-iceblue:spire.xls:jar:13.4.1 (absent): Could not transfer artifact e-iceblue:spire.xls:jar:13.4.1 from/to com.e-iceblue (https://repo.e-iceblue.com/repository/maven-public/): status code: 405, reason phrase: Not Allowed (405)
#26 86.29 at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
#26 86.29 at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
#26 86.29 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
#26 86.29 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
#26 86.29 at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
#26 86.29 at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
#26 86.29 at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
#26 86.29 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
#26 86.29 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
#26 86.29 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
#26 86.29 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
#26 86.29 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
#26 86.29 at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
#26 86.29 at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
#26 86.29 at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
#26 86.29 at org.apache.maven.cli.MavenCli.execute (MavenCli.java:919)
#26 86.29 at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:285)
#26 86.29 at org.apache.maven.cli.MavenCli.main (MavenCli.java:207)
#26 86.29 at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
#26 86.29 at java.lang.reflect.Method.invoke (Method.java:580)
#26 86.29 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
#26 86.29 at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
#26 86.29 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:362)
#26 86.29 at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)