Skip to content

Commit 255ca6b

Browse files
committed
Merge branch 'master' of github.com:totetmatt/gephi-plugins into blueskyGephi
2 parents e032556 + 1fa6218 commit 255ca6b

6 files changed

Lines changed: 51 additions & 36 deletions

File tree

.github/issue_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ assignees: ''
3030

3131
## Your Environment
3232

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

37-
<!--- Or preferably, include a copy of your messages.log file in your user directory (see https://github.com/gephi/gephi/wiki/Troubleshooting) -->
37+
<!--- Or preferably, include a copy of your messages.log file in your user directory (see https://docs.gephi.org/desktop/User_Manual/Troubleshooting#where-are-user-files) -->

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
* [ ] Did you merged with the `master` branch to get the latest updates?
1717
* [ ] Did you build and test the plugin successfully locally?
1818
* [ ] Did you include metadata (e.g. plugin author, license) in the `pom.xml` file
19-
* [ ] Did you make sure NOT to include any unecessary files in your PR?
19+
* [ ] Did you make sure NOT to include any unnecessary files in your PR?
2020
* [ ] Did you write unit tests to test your plugin functionalities?

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
build_and_test:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
16-
- name: Set up JDK 11
17-
uses: actions/setup-java@v2
15+
- uses: actions/checkout@v6
16+
- name: Set up JDK 17
17+
uses: actions/setup-java@v5
1818
with:
19-
java-version: '11'
19+
java-version: '17'
2020
distribution: 'temurin'
2121
- name: Build and validate project
2222
run: mvn -B package --file pom.xml

.github/workflows/release-pom.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111
run:
1212
working-directory: modules
1313
steps:
14-
- uses: actions/checkout@v2
15-
- name: Set up JDK 11
16-
uses: actions/setup-java@v2
14+
- uses: actions/checkout@v6
15+
- name: Set up Maven Central Repository
16+
uses: actions/setup-java@v5
1717
with:
18-
java-version: '11'
18+
java-version: '17'
1919
distribution: 'temurin'
20-
server-id: ossrh
20+
server-id: central
2121
server-username: OSSRH_USER
2222
server-password: OSSRH_PASS
2323
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
2424
gpg-passphrase: GPG_PASSPHRASE
2525
- name: Build and validate project
2626
run: mvn -B deploy -P release-pom --file pom.xml
2727
env:
28-
OSSRH_USER: ${{ secrets.OSSRH_USER }}
29-
OSSRH_PASS: ${{ secrets.OSSRH_PASS }}
28+
OSSRH_USER: ${{ secrets.OSSRH_TOKEN_USER }}
29+
OSSRH_PASS: ${{ secrets.OSSRH_TOKEN_PASSWD }}
3030
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This repository is an out-of-the-box development environment for Gephi plugins.
66

77
### Requirements
88

9-
Developing Gephi plugins requires JDK 11 or later and [Maven](http://maven.apache.org/).
9+
Developing Gephi plugins requires JDK 17 or later and [Maven](http://maven.apache.org/).
1010

1111
### Create a plugin
1212

pom.xml

Lines changed: 36 additions & 21 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.10.0</version>
7+
<version>0.11.1</version>
88
<packaging>pom</packaging>
99

1010
<name>gephi-plugins</name>
@@ -85,7 +85,7 @@
8585
<!-- Properties -->
8686
<properties>
8787
<!-- Version of Gephi building plugins against. Plugins with anterior versions will be ignored -->
88-
<gephi.version>0.10.0</gephi.version>
88+
<gephi.version>0.11.1</gephi.version>
8989
<clusters.path>${project.build.directory}/plugins_clusters</clusters.path>
9090
<github.global.server>github</github.global.server>
9191
<maven.compiler.source>11</maven.compiler.source>
@@ -100,29 +100,21 @@
100100
</scm>
101101

102102
<!-- Repositories -->
103+
<!-- Note: if testing against a snapshot version of gephi-maven-plugin, a <pluginRepositories> entry for central-portal-snapshots must be added back -->
103104
<repositories>
104105
<repository>
105-
<id>oss-sonatype</id>
106-
<name>oss-sonatype</name>
107-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
106+
<name>Central Portal Snapshots</name>
107+
<id>central-portal-snapshots</id>
108+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
109+
<releases>
110+
<enabled>false</enabled>
111+
</releases>
108112
<snapshots>
109113
<enabled>true</enabled>
110114
</snapshots>
111115
</repository>
112116
</repositories>
113117

114-
<!-- Plugin Repositories -->
115-
<pluginRepositories>
116-
<pluginRepository>
117-
<id>oss-sonatype</id>
118-
<name>oss-sonatype</name>
119-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
120-
<snapshots>
121-
<enabled>true</enabled>
122-
</snapshots>
123-
</pluginRepository>
124-
</pluginRepositories>
125-
126118
<!-- For site only -->
127119
<distributionManagement>
128120
<site>
@@ -149,12 +141,12 @@
149141
<plugin>
150142
<groupId>org.apache.maven.plugins</groupId>
151143
<artifactId>maven-dependency-plugin</artifactId>
152-
<version>3.2.0</version>
144+
<version>3.6.1</version>
153145
</plugin>
154146
<plugin>
155147
<groupId>org.apache.netbeans.utilities</groupId>
156148
<artifactId>nbm-maven-plugin</artifactId>
157-
<version>4.5</version>
149+
<version>14.4</version>
158150
<extensions>true</extensions>
159151
</plugin>
160152
<plugin>
@@ -165,7 +157,13 @@
165157
<plugin>
166158
<groupId>org.apache.maven.plugins</groupId>
167159
<artifactId>maven-scm-publish-plugin</artifactId>
168-
<version>3.1.0</version>
160+
<version>3.2.1</version>
161+
</plugin>
162+
<plugin>
163+
<groupId>org.sonatype.central</groupId>
164+
<artifactId>central-publishing-maven-plugin</artifactId>
165+
<version>0.10.0</version>
166+
<extensions>true</extensions>
169167
</plugin>
170168
</plugins>
171169
</pluginManagement>
@@ -225,7 +223,7 @@
225223
<groupId>org.apache.netbeans.utilities</groupId>
226224
<artifactId>nbm-maven-plugin</artifactId>
227225
<configuration>
228-
<nbmBuildDir>${clusters.path}</nbmBuildDir>
226+
<clusterBuildDir>${clusters.path}</clusterBuildDir>
229227
</configuration>
230228
<executions>
231229
<execution>
@@ -246,6 +244,23 @@
246244

247245
<!-- Custom profile only used to build and package all modules at once -->
248246
<profiles>
247+
<profile>
248+
<id>release-pom</id>
249+
<build>
250+
<plugins>
251+
<!-- Maven central -->
252+
<plugin>
253+
<groupId>org.sonatype.central</groupId>
254+
<artifactId>central-publishing-maven-plugin</artifactId>
255+
<extensions>true</extensions>
256+
<configuration>
257+
<publishingServerId>central</publishingServerId>
258+
<autoPublish>true</autoPublish>
259+
</configuration>
260+
</plugin>
261+
</plugins>
262+
</build>
263+
</profile>
249264
<profile>
250265
<id>release</id>
251266
<build>

0 commit comments

Comments
 (0)