Skip to content

Commit b75b7a6

Browse files
totetmattmbastian
andauthored
Neo4j bolt plugin (#287)
* Upgrade to 0.10.0 version * Fix Project depends on packages not accessible at runtime in module * Bump version (requiered) Co-authored-by: Mathieu Bastian <[email protected]>
1 parent ce53319 commit b75b7a6

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.github/issue_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ assignees: ''
3030

3131
## Your Environment
3232

33-
* Gephi Version used: Gephi 0.9.6
33+
* Gephi Version used: Gephi 0.10.0
3434
* Plugin Version used:
3535
* Operating System:
3636

modules/Neo4jPlugin/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<parent>
66
<artifactId>gephi-plugin-parent</artifactId>
77
<groupId>org.gephi</groupId>
8-
<version>0.9.6</version>
8+
<version>0.10.0</version>
99
</parent>
1010

1111
<groupId>ouestware</groupId>
1212
<artifactId>neo4j-plugin</artifactId>
1313
<name>Neo4j Plugin</name>
14-
<version>4.0.0</version>
14+
<version>4.0.1</version>
1515
<packaging>nbm</packaging>
1616

1717
<properties>
@@ -108,6 +108,7 @@
108108
<groupId>org.apache.netbeans.utilities</groupId>
109109
<artifactId>nbm-maven-plugin</artifactId>
110110
<configuration>
111+
<verifyRuntime>skip</verifyRuntime>
111112
<licenseName>Apache 2.0</licenseName>
112113
<licenseFile>Apache v2.txt</licenseFile>
113114
<author>Benoit Simard</author>

modules/Neo4jPlugin/src/main/java/org/gephi/plugins/neo4j/importer/wizard/Neo4jDatabaseImporterConnectionPanel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ public String getName() {
2424
public void checkValidity() throws Exception {
2525
// Check inputs
2626
if (Utils.isEmptyOrNull(dbUrl.getText())) throw new Exception("Url field is mandatory");
27-
if (this.dbAuthType.getSelectedIndex() == 0 && (Utils.isEmptyOrNull(dbUsername.getText()) || Utils.isEmptyOrNull(dbPassword.getText())))
27+
if (this.dbAuthType.getSelectedIndex() == 0 && (Utils.isEmptyOrNull(dbUsername.getText()) || Utils.isEmptyOrNull(new String(dbPassword.getPassword()))))
2828
throw new Exception("Username and password are mandatory");
2929

3030
// Check connection
3131
if (this.dbAuthType.getSelectedIndex() == 0)
32-
Utils.neo4jCheckConnection(dbUrl.getText(), dbUsername.getText(), dbPassword.getText(), dbName.getText());
32+
Utils.neo4jCheckConnection(dbUrl.getText(), dbUsername.getText(), new String(dbPassword.getPassword()), dbName.getText());
3333
else
3434
Utils.neo4jCheckConnection(dbUrl.getText(), null, null, dbName.getText());
3535

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>org.gephi</groupId>
66
<artifactId>gephi-plugins</artifactId>
7-
<version>0.9.3</version>
7+
<version>0.10.0</version>
88
<packaging>pom</packaging>
99

1010
<name>gephi-plugins</name>
@@ -18,7 +18,7 @@
1818
<!-- Properties -->
1919
<properties>
2020
<!-- Version of Gephi building plugins against. Plugins with anterior versions will be ignored -->
21-
<gephi.version>0.9.6</gephi.version>
21+
<gephi.version>0.10.0</gephi.version>
2222
<clusters.path>${project.build.directory}/plugins_clusters</clusters.path>
2323
<github.global.server>github</github.global.server>
2424
</properties>

0 commit comments

Comments
 (0)