forked from Ades91/ImDecorr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from 4ever2/project-setup
Setup Maven build and CI
- Loading branch information
Showing
10 changed files
with
169 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
labels: | ||
- "part: dependencies" | ||
- package-ecosystem: maven | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: 'Build ImageJ Plugin' | ||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- 'ijplugin/**/*' | ||
pull_request: | ||
paths: | ||
- 'ijplugin/**/*' | ||
permissions: | ||
contents: 'read' | ||
jobs: | ||
build: | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- name: Checkout branch ${{ github.ref_name }} | ||
uses: actions/checkout@v4 | ||
- name: Set up JDK 11 for x64 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '8' | ||
distribution: 'zulu' | ||
cache: maven | ||
- name: Build | ||
run: cd ijplugin && mvn package | ||
- name: Prepare artifact | ||
run: mkdir staging && cp ijplugin/target/*.jar staging | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Package | ||
path: staging/*.jar | ||
retention-days: 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Publish package to GitHub Packages | ||
on: | ||
push: | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
permissions: | ||
contents: 'read' | ||
jobs: | ||
build: | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- name: Checkout branch ${{ github.ref_name }} | ||
uses: actions/checkout@v4 | ||
- name: Set up JDK 11 for x64 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '8' | ||
distribution: 'zulu' | ||
cache: maven | ||
- name: Publish package | ||
run: mvn deploy | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>com.github.4ever2</groupId> | ||
<artifactId>ImageDecorrelationAnalysis</artifactId> | ||
<packaging>jar</packaging> | ||
<version>1.1.8</version> | ||
|
||
<name>Image Decorrelation Analysis</name> | ||
<description>Image Decorrelation Analysis plugin for ImageJ.</description> | ||
<url>https://github.com/4ever2/ImDecorr</url> | ||
|
||
<licenses> | ||
<license> | ||
<name>GNU General Public License v3</name> | ||
<url>https://www.gnu.org/licenses/gpl.html</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<developers> | ||
<developer> | ||
<id>0000-0002-3101-6641</id> | ||
<name>Adrien Descloux</name> | ||
<email>adrien.descloux@epfl.ch</email> | ||
<organization>École Polytechnique Fédérale de Lausanne</organization> | ||
<roles> | ||
<role>author</role> | ||
</roles> | ||
</developer> | ||
<developer> | ||
<id>0000-0003-4515-4356</id> | ||
<name>Kristin Grußmayer</name> | ||
<organization>École Polytechnique Fédérale de Lausanne</organization> | ||
<roles> | ||
<role>author</role> | ||
</roles> | ||
</developer> | ||
<developer> | ||
<id>0000-0001-8194-2785</id> | ||
<name>Aleksandra Radenovic</name> | ||
<email>aleksandra.radenovic@epfl.ch</email> | ||
<organization>École Polytechnique Fédérale de Lausanne</organization> | ||
<roles> | ||
<role>author</role> | ||
</roles> | ||
</developer> | ||
</developers> | ||
<contributors> | ||
<contributor> | ||
<name>4ever2</name> | ||
<url>https://github.com/4ever2</url> | ||
<organization>Aarhus University</organization> | ||
<roles><role>maintainer</role></roles> | ||
<properties><id>4ever2</id></properties> | ||
</contributor> | ||
</contributors> | ||
|
||
<issueManagement> | ||
<system>GitHub</system> | ||
<url>https://github.com/4ever2/ImDecorr/issues/</url> | ||
</issueManagement> | ||
<ciManagement> | ||
<system>GitHub Actions</system> | ||
<url>https://github.com/4ever2/ImDecorr/actions</url> | ||
</ciManagement> | ||
<scm> | ||
<connection>scm:git:https://github.com/4ever2/ImDecorr</connection> | ||
<developerConnection>scm:git:git@github.com:4ever2/ImDecorr</developerConnection> | ||
<tag>HEAD</tag> | ||
<url>https://github.com/4ever2/ImDecorr</url> | ||
</scm> | ||
|
||
<dependencies> | ||
<!-- ImageJ dependencies --> | ||
<dependency> | ||
<groupId>net.imagej</groupId> | ||
<artifactId>ij</artifactId> | ||
<version>1.53t</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<properties> | ||
<license.licenseName>gpl_v3</license.licenseName> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
</properties> | ||
|
||
<distributionManagement> | ||
<repository> | ||
<id>github</id> | ||
<name>GitHub Packages</name> | ||
<url>https://maven.pkg.github.com/4ever2/ImDecorr</url> | ||
</repository> | ||
</distributionManagement> | ||
</project> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.