Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How Java or Spring Boot projects should integrate with Uber Piranha #692

Open
rajeshchinnam opened this issue Sep 4, 2024 · 2 comments
Open

Comments

@rajeshchinnam
Copy link

I tried adding this dependency but this is not getting resolved

<dependency> <groupId>com.uber.piranha</groupId> <artifactId>piranha</artifactId> <version>0.1.8</version> </dependency>

I cloned https://github.com/uber/piranha but i didn't find pom.xml

as per documentation I see it supports java but how to integrate with spring boot project

@danieltrt
Copy link
Collaborator

Hi @rajeshchinnam. Piranha does indeed support Java (as in it can transform / cleanup Java code). However, the tool itself is written in rust and it also has python bindings (which you can get prom PyPI using pip). See the example in the README to get started with it. Piranha itself is not a java package.

@rajeshchinnam
Copy link
Author

rajeshchinnam commented Sep 4, 2024

Thanks @danieltrt so if I have to integrate Piranha with spring boot application to clean-up feature toggles
can you please suggest what are the steps I need to follow , if any documentation is available please let me know
That would be of great help.

I am trying adding maven jar and plugins but unsuccessful to run

`

4.0.0

org.springframework.boot
spring-boot-starter-parent
3.3.3


com.piranha
demo
0.0.1-SNAPSHOT
piranha
Demo project for Spring Boot piranha














<java.version>21</java.version>



org.springframework.boot
spring-boot-starter


com.uber.piranha
piranha
0.1.8


org.springframework.boot
spring-boot-starter-test
test


org.springframework.boot
spring-boot-starter-web

org.springframework.boot spring-boot-maven-plugin com.uber.piranha piranha-maven-plugin 0.1.8 process-sources remove

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants