Skip to content

Commit

Permalink
Migrating to Java 17.
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-brandizi committed Jul 27, 2023
1 parent c0ebf09 commit c3d9273
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 25 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v2
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: 17
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-v6-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-v6
key: ${{ runner.os }}-m2-v7-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-v7

- name: Build
env:
Expand Down
2 changes: 1 addition & 1 deletion neo4j-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>uk.ac.rothamsted.kg</groupId>
<artifactId>rdf2pg-pom</artifactId>
<version>4.0.2-SNAPSHOT</version>
<version>5.0-SNAPSHOT</version>
</parent>


Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<artifactId>rdf2pg-pom</artifactId>
<packaging>pom</packaging>

<version>4.0.2-SNAPSHOT</version>
<version>5.0-SNAPSHOT</version>

<name>rdf2pg-pom - top POM</name>
<url>https://github.com/Rothamsted/rdf2pg</url>
Expand Down Expand Up @@ -149,6 +149,7 @@
-->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<archiverConfig>
<fileMode>0755</fileMode>
Expand Down
2 changes: 1 addition & 1 deletion rdf2graphml-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>rdf2pg-pom</artifactId>
<groupId>uk.ac.rothamsted.kg</groupId>
<version>4.0.2-SNAPSHOT</version>
<version>5.0-SNAPSHOT</version>
</parent>

<artifactId>rdf2graphml-cli</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion rdf2graphml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>uk.ac.rothamsted.kg</groupId>
<artifactId>rdf2pg-pom</artifactId>
<version>4.0.2-SNAPSHOT</version>
<version>5.0-SNAPSHOT</version>
</parent>

<artifactId>rdf2graphml</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion rdf2neo-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>rdf2pg-pom</artifactId>
<groupId>uk.ac.rothamsted.kg</groupId>
<version>4.0.2-SNAPSHOT</version>
<version>5.0-SNAPSHOT</version>
</parent>

<artifactId>rdf2neo-cli</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@
<constructor-arg>
<bean class = "org.neo4j.driver.AuthTokens" factory-method = "basic">
<constructor-arg value = "neo4j" />
<constructor-arg value = "test" />
<!-- Since 5.10, Neo4j wants >8 passwords -->
<constructor-arg value = "testTest" />
</bean>
</constructor-arg>

Expand Down
2 changes: 1 addition & 1 deletion rdf2neo-cli/src/test/resources/test_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<constructor-arg>
<bean class = "org.neo4j.driver.AuthTokens" factory-method = "basic">
<constructor-arg value = "neo4j" />
<constructor-arg value = "test" />
<constructor-arg value = "testTest" />
</bean>
</constructor-arg>

Expand Down
2 changes: 1 addition & 1 deletion rdf2neo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>uk.ac.rothamsted.kg</groupId>
<artifactId>rdf2pg-pom</artifactId>
<version>4.0.2-SNAPSHOT</version>
<version>5.0-SNAPSHOT</version>
</parent>

<artifactId>rdf2neo</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class NeoTestUtils
{
public static final String NEO_TEST_URL = "bolt://127.0.0.1:17690";
public static final String NEO_TEST_USER = "neo4j";
public static final String NEO_TEST_PWD = "test";
public static final String NEO_TEST_PWD = "testTest";


/**
Expand Down
2 changes: 1 addition & 1 deletion rdf2neo/src/test/resources/multi_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<constructor-arg>
<bean class = "org.neo4j.driver.AuthTokens" factory-method = "basic">
<constructor-arg value = "neo4j" />
<constructor-arg value = "test" />
<constructor-arg value = "testTest" />
</bean>
</constructor-arg>

Expand Down
2 changes: 1 addition & 1 deletion rdf2neo/src/test/resources/multi_config_indexing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<constructor-arg>
<bean class = "org.neo4j.driver.AuthTokens" factory-method = "basic">
<constructor-arg value = "neo4j" />
<constructor-arg value = "test" />
<constructor-arg value = "testTest" />
</bean>
</constructor-arg>

Expand Down
2 changes: 1 addition & 1 deletion rdf2neo/src/test/resources/test_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<constructor-arg>
<bean class = "org.neo4j.driver.AuthTokens" factory-method = "basic">
<constructor-arg value = "neo4j" />
<constructor-arg value = "test" />
<constructor-arg value = "testTest" />
</bean>
</constructor-arg>
</bean>
Expand Down
2 changes: 1 addition & 1 deletion rdf2pg-core-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>rdf2pg-pom</artifactId>
<groupId>uk.ac.rothamsted.kg</groupId>
<version>4.0.2-SNAPSHOT</version>
<version>5.0-SNAPSHOT</version>
</parent>

<artifactId>rdf2pg-core-cli</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion rdf2pg-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>uk.ac.rothamsted.kg</groupId>
<artifactId>rdf2pg-pom</artifactId>
<version>4.0.2-SNAPSHOT</version>
<version>5.0-SNAPSHOT</version>
</parent>

<artifactId>rdf2pg-core</artifactId>
Expand Down
3 changes: 0 additions & 3 deletions revision_history.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@

## 5.0
* Migrated to Java 17. **WARNING: no backward compatibility guaranteed**.
* Neo4j dependency upgraded to 5.10.x
* Neo4j server plug-in upgraded (following from above)


## 4.1
* Generalisation of the indexing functionality, with default simple TSV indexer
Expand Down

0 comments on commit c3d9273

Please sign in to comment.