Back

Install maven on Appwrite function

  • 0
  • Functions
Idan Elazar
6 Oct, 2023, 13:29

I'm using a function, and want to deploy it, but it seems that I have a problem with installing maven on the function instance but ca not do it successfully. Is there a way to do it?

TL;DR
The user wants to install Maven on an Appwrite function. Another user suggests adding the dependency 'org.kohsuke:github-api:1.316'. The user then asks if they can use requests and responses instead of the GitHub API. It is mentioned that the user doesn't see Maven support for Appwrite functions. The user wants to know if it is possible to install Maven on the function instance. No solution is provided.
darShan
6 Oct, 2023, 13:32

You mean to install dependency via Maven?

Idan Elazar
6 Oct, 2023, 13:44

I need maven first to install the dependecy

darShan
6 Oct, 2023, 13:48

I don't see maven or any other support for Java, Kotlin in here : https://appwrite.io/docs/products/functions/development#dependencies.

If you are using something else then maybe check the docs or create an Feature Request on GitHub.

Drake
6 Oct, 2023, 14:24

Why? What's the dependency?

Idan Elazar
6 Oct, 2023, 15:14

Hi, steven I'm using dependency of github-api to interact with github

Idan Elazar
9 Oct, 2023, 11:35

Hi, Steven I wonder if I need to just using requests and responses without using github api in order to keep the project not too big

Drake
13 Oct, 2023, 19:53
Drake
13 Oct, 2023, 19:53

have you tried adding:

TypeScript
implementation 'org.kohsuke:github-api:1.316'

I assume that's the dependency you're trying to add

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more