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

Documentation for Maven import specified 'arrow-core' but 'arrow-core-jvm' is required #2597

Closed
twh270 opened this issue Dec 16, 2021 · 6 comments

Comments

@twh270
Copy link

twh270 commented Dec 16, 2021

The instructions for importing Arrow Core to a Maven project (https://arrow-kt.io/docs/core/#Maven) appear to be incorrect. They specify 'arrow-core' as the artifactId but 'arrow-core-jvm' is required.

Ref thread at https://intellij-support.jetbrains.com/hc/en-us/community/posts/4412380221586-Unable-to-import-Arrow-core-classes-after-adding-Maven-dependency

@srnm
Copy link

srnm commented Dec 20, 2021

Also, the 1.0.1 arrow-stack bom does not define arrow-core-jvm

@jay-peper
Copy link

jay-peper commented Jan 25, 2022

same issue here. Thanks, @twh270 for the issue report. This appears to have started since version 0.13.3

@nomisRev
Copy link
Member

nomisRev commented Feb 5, 2022

@jay-peper this should be working correctly for 1.0.0.
1.0.1 is identical to 1.0.0 and only includes "fixes" for Kotlin MPP publishing, but we broke Maven in the process. The next version will fix the Maven support again. Sorry for the inconvience.

@jay-peper
Copy link

        <dependency>
            <groupId>io.arrow-kt</groupId>
            <artifactId>arrow-core</artifactId>
            <version>1.0.1</version>
        </dependency>

does not work, whereas the following does:

        <dependency>
            <groupId>io.arrow-kt</groupId>
            <artifactId>arrow-core-jvm</artifactId>
            <version>1.0.1</version>
        </dependency>

@i-walker
Copy link
Member

@jay-peper can you try it out with 1.0.3-alpha.12. There is also on here, which works https://github.com/arrow-kt/Arrow-Maven-Template/blob/main/pom.xml

@i-walker
Copy link
Member

i-walker commented Mar 11, 2022

Closing this since the Maven template above provides the details thanks @twh270, we're also updating the documentation #2685

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

5 participants