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

DATAGRAPH-752 - Add Spring Data Neo4j 4 Example to Spring-Data-Examples. #129

Closed
wants to merge 2 commits into from

Conversation

luanne
Copy link
Contributor

@luanne luanne commented Sep 3, 2015

No description provided.

<version>${spring-data-neo4j.version}</version>
</dependency>

<dependency>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason we need these test JARs in the classpath? I would've expected to only see the Spring Data Neo4j dependency. Anything I am missing?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are needed for the in-memory server, and test-jar dependencies are not resolved transitively by maven :(

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But which of the two is it then? Does it make sense to make them a dedicated artifact? It just looks weird having to refer to something test related from a non-test scope.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need them all unfortunately. The spring-data-neo4j test-jar contains the InProcessServer and the others contain the test utilities and TestServer from neo4j-ogm

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually we can clean it up a bit, which I did here: #130

We can add an (JIRA) issue for a separate test module both in the neo4j-ogm and in spring-data-neo4j-4, should be pretty straightforward to add, not sure we can make it in time for 4.0.GA though?

odrotbohm pushed a commit that referenced this pull request Sep 3, 2015
odrotbohm added a commit that referenced this pull request Sep 3, 2015
Switched to milestone version of Spring Data Neo4j. Used Lombok in domain types. Used assertThat(…) matchers in test case for consistency. Inlined Spring configuration into test case. Upgraded to Lombok 1.16.6 along the way.

Fixed indentation in pom.xml files to use tabs instead of spaces.

Original pull requests: #129, #130.
@odrotbohm
Copy link
Member

Polished and merged (see #131).

@odrotbohm odrotbohm closed this Sep 3, 2015
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

Successfully merging this pull request may close these issues.

None yet

3 participants