# Failing to update Jackson 2 API Plugin to newer version

**URL:** <https://community.jenkins.io/t/failing-to-update-jackson-2-api-plugin-to-newer-version/1273>\
**Category:** Ask a question\
**Created:** [January 18, 2022, 2:04am UTC](https://community.jenkins.io/t/failing-to-update-jackson-2-api-plugin-to-newer-version/1273 "2022-01-18T02:04:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![golide](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/golide/32/3712_2.png) [@golide](https://community.jenkins.io/u/golide)\
**Post date:** [January 18, 2022, 2:04am UTC](https://community.jenkins.io/t/failing-to-update-jackson-2-api-plugin-to-newer-version/1273/1 "2022-01-18T02:04:03Z")

</div>

I would like to add a stage for pushing to Amazon ECR but when I attempt to install the plugin I get an error to upgrade Jackson 2 API plugin  
`Jackson 2 API Plugin (2.13.0-226.v0c5dd2d2fd2a) to be updated to 2.13.0-230.v59243c64b0a5`

```auto
Dependency errors:

Amazon Web Services SDK :: Minimal (1.12.131-302.vbef9650c6521)
Update required: Jackson 2 API Plugin (2.13.0-226.v0c5dd2d2fd2a) to be updated to 2.13.0-230.v59243c64b0a5 or higher

Indirectly dependent plugins:

Amazon ECR plugin (1.7)
Failed to load: Amazon Web Services SDK :: ECR (1.12.131-302.vbef9650c6521)
CloudBees AWS Credentials Plugin (1.33)
Failed to load: Amazon Web Services SDK :: EC2 (1.12.131-302.vbef9650c6521)
Amazon Web Services SDK :: ECR (1.12.131-302.vbef9650c6521)
Failed to load: Amazon Web Services SDK :: Minimal (1.12.131-302.vbef9650c6521)
Amazon Web Services SDK :: EC2 (1.12.131-302.vbef9650c6521)
Failed to load: Amazon Web Services SDK :: Minimal (1.12.131-302.vbef9650c6521)

```

When I try to upgrade however it is greyed out and shows that they are multiple dependent plugins :

 ![JACKSON2API](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/1X/2c91574998477acad883edbcc8502f7ed7599046.png)

Surely they must be another way of upgrading the plugin as required , I am short of options. Last thing I need is to uninstall all those dependent plugins , plus there is risk of breaking some configs and pipelines that I have setup on this Jenkins .

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [January 18, 2022, 2:13am UTC](https://community.jenkins.io/t/failing-to-update-jackson-2-api-plugin-to-newer-version/1273/2 "2022-01-18T02:13:36Z")

</div>

It sounds like your using an outdated version of jenkins. There’s been multiple security concerns in previous versions, so its always recommended to upgrade to latest stable.

You can try to install to install an older version of Amazon Web Services SDK either manually (download off [plugins.jenkins.io](http://plugins.jenkins.io)) or use plugin manager cli.

That being said, what does the ecr plugin do, can’t you just docker login ecr.hostname then docker push ecr.hostname/thingie?
