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

Conversion to Kotlin fails -- missing commons-lang3 #207

Open
binkley opened this issue Jan 11, 2020 · 5 comments
Open

Conversion to Kotlin fails -- missing commons-lang3 #207

binkley opened this issue Jan 11, 2020 · 5 comments

Comments

@binkley
Copy link
Contributor

binkley commented Jan 11, 2020

$ ./mvnw io.takari.polyglot:polyglot-translate-plugin:translate -Dinput=pom.xml -Doutput=pom.kts

produces:

$ ./mvnw io.takari.polyglot:polyglot-translate-plugin:translate   -Dinput=pom.xml -Doutput=pom.kts
[ERROR] Failed to execute goal io.takari.polyglot:polyglot-translate-plugin:0.4.4:translate (default-cli) on project kotlin-rational: Execution default-cli of goal io.takari.polyglot:polyglot-translate-plugin:0.4.4:translate failed: A required class was missing while executing io.takari.polyglot:polyglot-translate-plugin:0.4.4:translate: org/apache/commons/lang3/StringEscapeUtils

Is there a missing runtime dependency?

@mosabua
Copy link
Member

mosabua commented Mar 4, 2020

Does this happen with any pom or just some specific one?

@binkley
Copy link
Contributor Author

binkley commented Mar 7, 2020

@mosabua Here is a specific project and commit:

binkley/spikes@0dc96ab

cd scratch
./mvnw clean verify

Here is a second one:

binkley/kotlin-rational@53b8e35

./mvnw clean verify

@mosabua
Copy link
Member

mosabua commented Dec 17, 2020

I am cutting a new release which has Kotlin 1.4.0 in it .. once that is out .. please try and let me know. I will try to get a few updates done tin the project. Maybe we can knock this one off

@lievendf
Copy link

lievendf commented Oct 20, 2021

Still an issue to this day, using Kotlin 1.4.10.

Adding the dependency in polyglot-translate-plugin-0.4.6.pom seems to work around the problem, but that shouldn't be needed I would think...

@safeuq
Copy link

safeuq commented May 8, 2022

Are there any updates on this? Still getting the same error.

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

4 participants