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

Add Neo4j Cypher DSL (Parser) to managed version #2976

Open
abccbaandy opened this issue Nov 28, 2024 · 3 comments
Open

Add Neo4j Cypher DSL (Parser) to managed version #2976

abccbaandy opened this issue Nov 28, 2024 · 3 comments
Labels
status: waiting-for-triage An issue we've not yet triaged

Comments

@abccbaandy
Copy link

abccbaandy commented Nov 28, 2024

Currently if I want add this dependency
https://mvnrepository.com/artifact/org.neo4j/neo4j-cypher-dsl-parser
I have to handle the version manually.

But since we have SDN, can SDN handle for me?
I want use like this(without version)

<dependency>
    <groupId>org.neo4j</groupId>
    <artifactId>neo4j-cypher-dsl-parser</artifactId>
</dependency>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 28, 2024
@michael-simons
Copy link
Collaborator

SDN would declare the parser module than as hard dependency. We could add a BOM project here in the future and I leave this ticket open, but that's not going to happen this year anymore.

Until then, import the Cypher-DSL BOM into your project

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.neo4j</groupId>
            <artifactId>neo4j-cypher-dsl-bom</artifactId>
            <version>${cypher-dsl.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

Use 2024.2.x or later for SDN 7.4
2023.9.x or later for SDN 7.3 and 7.2

@abccbaandy
Copy link
Author

Hi @michael-simons
Just for confirm, I still need to hardcode the version with this way, right?

@michael-simons
Copy link
Collaborator

Yeah, but at least you have to do this only once and will cover the dependency SDN bring in, too.

Expect a BOM for SDN at some time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

No branches or pull requests

3 participants