Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,888
Community Members
 
Community Events
184
Community Groups

Bitbucket pipeline maven dependency 308 error

Edited

My pipeline is suddenly failing with a Maven dependency 308 (permanent redirect) error. There has been no change to that or it's upstream dependency, and the build runs fine locally. I've also verified the existence and accessibility of the artifact, and do not see any redirects when accessing from my browser.  I've tried re-running over several days, but no cigar. using maven:3.6.1-jdk-8

Any help much appreciated!

Here's the error:

[ERROR] Failed to execute goal on project rhythm-domain-services: Could not resolve dependencies for project com.xxx:jar:4.2.0: Failed to collect dependencies at net.sf.jasperreports:jasperreports:jar:6.11.0 -> com.lowagie:itext:jar:2.1.7.js7: Failed to read artifact descriptor for com.lowagie:itext:jar:2.1.7.js7: Could not transfer artifact com.lowagie:itext:pom:2.1.7.js7 from/to jaspersoft-third-party (http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/): Failed to transfer file http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/lowagie/itext/2.1.7.js7/itext-2.1.7.js7.pom with status code 308 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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

3 answers

As it turns out, it was a problem with one of the 3rd party lib dependency repos with 6.11 of jasperreports... suddenly went offline or something corrupted... updated to 6.17 and all good now.

I had version 6.16 and after upgrade to 6.17 problem is gone. Thanks for help.

I had the same issue. Adding following repo to my pom file resolved my problem.

<repository>
<id>Grails-core</id>
<name>Grails core</name>
<url>https://repo.grails.org/grails/core/</url>
</repository>

That didn't resolve it for me.

I solved it by resolving other problems in the pom file. The error that was shown, wasn't the actual problem. As stated below, check your dependencies.

I have exactly the same error code 308 with jaspersoft third-party-ce-artifacts. I'm using maven:3.6.3-jdk-8.

Last successful build pipeline was in June 12th and from June 15th pipeline is always failed with this error.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events