Skip to content

Commit 55dd95c

Browse files
committed
Merge branch 'master' of github.com:totetmatt/gephi-plugins into blueskyGephi
2 parents 49995c5 + 1fa6218 commit 55dd95c

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>
@@ -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.10.0</gephi.version>
21+
<gephi.version>0.11.1</gephi.version>
2222
<clusters.path>${project.build.directory}/plugins_clusters</clusters.path>
2323
<github.global.server>github</github.global.server>
2424
</properties>
@@ -31,28 +31,20 @@
3131
</scm>
3232

3333
<!-- Repositories -->
34+
<!-- Note: if testing against a snapshot version of gephi-maven-plugin, a <pluginRepositories> entry for central-portal-snapshots must be added back -->
3435
<repositories>
3536
<repository>
36-
<id>oss-sonatype</id>
37-
<name>oss-sonatype</name>
38-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
37+
<name>Central Portal Snapshots</name>
38+
<id>central-portal-snapshots</id>
39+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
40+
<releases>
41+
<enabled>false</enabled>
42+
</releases>
3943
<snapshots>
4044
<enabled>true</enabled>
4145
</snapshots>
4246
</repository>
4347
</repositories>
44-
45-
<!-- Plugin Repositories -->
46-
<pluginRepositories>
47-
<pluginRepository>
48-
<id>oss-sonatype</id>
49-
<name>oss-sonatype</name>
50-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
51-
<snapshots>
52-
<enabled>true</enabled>
53-
</snapshots>
54-
</pluginRepository>
55-
</pluginRepositories>
5648

5749
<!-- For site only -->
5850
<distributionManagement>
@@ -80,12 +72,12 @@
8072
<plugin>
8173
<groupId>org.apache.maven.plugins</groupId>
8274
<artifactId>maven-dependency-plugin</artifactId>
83-
<version>3.2.0</version>
75+
<version>3.6.1</version>
8476
</plugin>
8577
<plugin>
8678
<groupId>org.apache.netbeans.utilities</groupId>
8779
<artifactId>nbm-maven-plugin</artifactId>
88-
<version>4.5</version>
80+
<version>14.4</version>
8981
<extensions>true</extensions>
9082
</plugin>
9183
<plugin>
@@ -96,7 +88,13 @@
9688
<plugin>
9789
<groupId>org.apache.maven.plugins</groupId>
9890
<artifactId>maven-scm-publish-plugin</artifactId>
99-
<version>3.1.0</version>
91+
<version>3.2.1</version>
92+
</plugin>
93+
<plugin>
94+
<groupId>org.sonatype.central</groupId>
95+
<artifactId>central-publishing-maven-plugin</artifactId>
96+
<version>0.10.0</version>
97+
<extensions>true</extensions>
10098
</plugin>
10199
</plugins>
102100
</pluginManagement>
@@ -156,7 +154,7 @@
156154
<groupId>org.apache.netbeans.utilities</groupId>
157155
<artifactId>nbm-maven-plugin</artifactId>
158156
<configuration>
159-
<nbmBuildDir>${clusters.path}</nbmBuildDir>
157+
<clusterBuildDir>${clusters.path}</clusterBuildDir>
160158
</configuration>
161159
<executions>
162160
<execution>
@@ -177,6 +175,23 @@
177175

178176
<!-- Custom profile only used to build and package all modules at once -->
179177
<profiles>
178+
<profile>
179+
<id>release-pom</id>
180+
<build>
181+
<plugins>
182+
<!-- Maven central -->
183+
<plugin>
184+
<groupId>org.sonatype.central</groupId>
185+
<artifactId>central-publishing-maven-plugin</artifactId>
186+
<extensions>true</extensions>
187+
<configuration>
188+
<publishingServerId>central</publishingServerId>
189+
<autoPublish>true</autoPublish>
190+
</configuration>
191+
</plugin>
192+
</plugins>
193+
</build>
194+
</profile>
180195
<profile>
181196
<id>release</id>
182197
<build>

0 commit comments

Comments
 (0)