# How to view all dependencies of a Java Transform?

**URL:** <https://community.palantir.com/t/how-to-view-all-dependencies-of-a-java-transform/2119>\
**Category:** Ask the Community\
**Tags:** transforms-java, transforms-java-checks\
**Created:** [December 6, 2024, 4:02pm UTC](https://community.palantir.com/t/how-to-view-all-dependencies-of-a-java-transform/2119 "2024-12-06T16:02:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kuba](https://avatars.discourse-cdn.com/v4/letter/k/a587f6/32.png) [@Kuba](https://community.palantir.com/u/Kuba)\
**Post date:** [December 6, 2024, 4:02pm UTC](https://community.palantir.com/t/how-to-view-all-dependencies-of-a-java-transform/2119/1 "2024-12-06T16:02:04Z")

</div>

I would like to check all the packages my Java Transform depends on, and possibly pin the packages’ versions. I know I can pin versions in build.gradle for explicitly imported packages. What about ones that come with default setup? How could I view all dependencies?

---

<div class="post-metadata">

**Author:** ![lmartini](https://avatars.discourse-cdn.com/v4/letter/l/97f17d/32.png) [@lmartini](https://community.palantir.com/u/lmartini)\
**Post date:** [December 9, 2024, 10:19pm UTC](https://community.palantir.com/t/how-to-view-all-dependencies-of-a-java-transform/2119/2 "2024-12-09T22:19:11Z")

</div>

You are able to see the external dependencies of your java transform by looking at the `dependencies` tab from spark details. This is accessible from the finished job page → spark details → dependencies.

Unfortunately the internal dependencies will not be shown here. you can however see some of the details, like spark version or java module version, in the `environment` tab of spark details

---

<div class="post-metadata">

**Author:** ![Kuba](https://avatars.discourse-cdn.com/v4/letter/k/a587f6/32.png) [@Kuba](https://community.palantir.com/u/Kuba)\
**Post date:** [December 10, 2024, 3:44am UTC](https://community.palantir.com/t/how-to-view-all-dependencies-of-a-java-transform/2119/3 "2024-12-10T03:44:57Z")

</div>

Thank you!  
Can I safely assume internal dependencies stay the same unless the version of Transforms has been changed?

---

<div class="post-metadata">

**Author:** ![lmartini](https://avatars.discourse-cdn.com/v4/letter/l/97f17d/32.png) [@lmartini](https://community.palantir.com/u/lmartini)\
**Post date:** [December 10, 2024, 10:06am UTC](https://community.palantir.com/t/how-to-view-all-dependencies-of-a-java-transform/2119/4 "2024-12-10T10:06:20Z")

</div>

If the user code does not introduce any new dependencies (i.e. manual or with repository upgrades) and the `sparkModuleVersion` outlined in the `Environment` tab stays the same, it is safe to assume there will no dependency change.

Always check the `sparkModuleVersion` though, as automatic upgrades of such version can come through and bring new dependencies.

---

<div class="post-metadata">

**Author:** ![lmartini](https://avatars.discourse-cdn.com/v4/letter/l/97f17d/32.png) [@lmartini](https://community.palantir.com/u/lmartini)\
**Post date:** [December 10, 2024, 5:03pm UTC](https://community.palantir.com/t/how-to-view-all-dependencies-of-a-java-transform/2119/5 "2024-12-10T17:03:37Z")

</div>

You can find more information about transforms versioning system in public documentation https://www.palantir.com/docs/foundry/transforms-common/transforms-versions

---

<div class="post-metadata">

**Author:** ![system](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/system/32/3_2.png) [@system](https://community.palantir.com/u/system)\
**Post date:** [December 24, 2024, 5:04pm UTC](https://community.palantir.com/t/how-to-view-all-dependencies-of-a-java-transform/2119/6 "2024-12-24T17:04:24Z")

</div>

Closed on December 24, 2024, 5:04pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
