Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.1.0 #141

Merged
merged 32 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
da9ebcd
chore(deps): bump maven-shade-plugin from 3.4.1 to 3.5.0
dependabot[bot] Jun 19, 2023
124b1b1
Merge pull request #128 from TeamKun/dependabot/maven/develop/org.apa…
PeyaPeyaPeyang Jul 2, 2023
552144b
ci: Bump java version to 17
PeyaPeyaPeyang Jul 28, 2023
c1871b0
chore(deps-dev): bump org.junit.jupiter:junit-jupiter-engine (#130)
dependabot[bot] Jul 28, 2023
1c29e23
chore(deps-dev): bump org.junit.jupiter:junit-jupiter-api (#129)
dependabot[bot] Jul 28, 2023
04730ec
chore: Change name of nms modules
PeyaPeyaPeyang Jul 28, 2023
7bc61b4
fix: CI miss
PeyaPeyaPeyang Aug 25, 2023
849301d
chore: Remove illegal repositories from pom
PeyaPeyaPeyang Aug 25, 2023
7fa7b56
ci: Update ci java revision
PeyaPeyaPeyang Aug 26, 2023
ca04172
ci: Fix AA
PeyaPeyaPeyang Aug 26, 2023
6769ecb
ci: Change nms version to 1.19
PeyaPeyaPeyang Aug 26, 2023
bc9c319
fix: Change nms version to 1.19
PeyaPeyaPeyang Aug 26, 2023
840d7d6
chore(deps): bump com.github.TeamKUN:PeyangPaperUtils (#131)
dependabot[bot] Sep 20, 2023
a44311d
chore(deps): bump org.projectlombok:lombok from 1.18.28 to 1.18.30 (#…
dependabot[bot] Sep 21, 2023
3263bb1
chore(deps): bump org.apache.maven.plugins:maven-javadoc-plugin (#132)
dependabot[bot] Sep 23, 2023
53c67a6
chore(deps): bump org.apache.maven.plugins:maven-shade-plugin (#134)
dependabot[bot] Sep 25, 2023
dd4fc9b
chore(deps): bump org.apache.maven.plugins:maven-javadoc-plugin (#137)
dependabot[bot] Nov 8, 2023
3c5393a
chore(deps-dev): bump org.junit.jupiter:junit-jupiter-api (#135)
dependabot[bot] Nov 8, 2023
0fae576
chore(deps-dev): bump org.junit.jupiter:junit-jupiter-engine (#136)
dependabot[bot] Nov 18, 2023
d88d58a
chore(deps): bump org.apache.maven.plugins:maven-javadoc-plugin
dependabot[bot] Dec 4, 2023
33091f0
Merge pull request #138 from TeamKun/dependabot/maven/develop/org.apa…
PeyaPeyaPeyang Dec 5, 2023
e16e49b
chore(deps): bump org.apache.maven.plugins:maven-compiler-plugin
dependabot[bot] Dec 19, 2023
b4601c9
Merge pull request #139 from TeamKun/dependabot/maven/develop/org.apa…
PeyaPeyaPeyang Dec 23, 2023
60d746f
chore(deps): bump org.apache.maven.plugins:maven-compiler-plugin
dependabot[bot] Dec 25, 2023
75c93ba
fix(resolver): Asset name will be null
PeyaPeyaPeyang Jan 16, 2024
5d4bb49
fix: Unlinked compatibility for 1.16 r3
PeyaPeyaPeyang Jan 19, 2024
ee5aac5
feat!: Auto resolving
PeyaPeyaPeyang Jan 19, 2024
ecb26e9
feat(resolver): Multi resolving for Curse/Bukkit
PeyaPeyaPeyang Jan 19, 2024
bf54bb7
refactor(resolver): Change visibility-level of github url parser
PeyaPeyaPeyang Jan 19, 2024
bf4dd9e
Merge pull request #140 from TeamKun/dependabot/maven/develop/org.apa…
PeyaPeyaPeyang Jan 19, 2024
3ec925f
ci: Bump nmsaction from v2 to v3
PeyaPeyaPeyang Jan 19, 2024
f171541
chore: v3.1.0
PeyaPeyaPeyang Jan 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 24 additions & 32 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,42 +25,34 @@ jobs:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: ['java']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2
# Initializes the CodeQL tools for scanning.
uses: actions/checkout@v3
- name: Set up JDK 17
id: sj
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 17
cache: maven
- uses: PeyaPeyaPeyang/nmsaction@v3
if: "steps.sj.outputs.cache-hit != 'true'"
with:
rev: 1.16.5
- uses: PeyaPeyaPeyang/nmsaction@v3
if: "steps.sj.outputs.cache-hit != 'true'"
with:
rev: 1.19
- name: Install nms into m2
if: "steps.sj.outputs.cache-hit != 'true'"
run: |
mkdir -p $HOME/.m2/repository
cp -a nms-build/.m2/repository/. $HOME/.m2/repository
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

languages: java
- name: Build with Maven # AutoBuild は動かない \ ばーん! /
run: mvn -B package --file pom.xml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
30 changes: 21 additions & 9 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,29 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
- uses: actions/checkout@v3
- name: Set up JDK 17
id: sj
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 17
cache: maven
- uses: PeyaPeyaPeyang/nmsaction@v3
if: "steps.sj.outputs.cache-hit != 'true'"
with:
java-version: 11
rev: 1.16.5
- uses: PeyaPeyaPeyang/nmsaction@v3
if: "steps.sj.outputs.cache-hit != 'true'"
with:
rev: 1.19
- name: Install nms into m2
if: "steps.sj.outputs.cache-hit != 'true'"
run: |
mkdir -p $HOME/.m2/repository
cp -a nms-build/.m2/repository/. $HOME/.m2/repository
- uses: actions/cache@v1
with:
path: ~/.m2/repository
Expand All @@ -28,6 +42,4 @@ jobs:
${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- name: Build with Maven
run: mvn -B package --file pom.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TOKEN: "dummy_token_114514" # for maven test

8 changes: 4 additions & 4 deletions KPMAlias/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.kunlab.kpm</groupId>
<artifactId>TeamKunPluginManager</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -22,19 +22,19 @@
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMCommon</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMModels</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMResolver</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion KPMCommon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.kunlab.kpm</groupId>
<artifactId>TeamKunPluginManager</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
24 changes: 12 additions & 12 deletions KPMDaemon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>TeamKunPluginManager</artifactId>
<groupId>org.kunlab.kpm</groupId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand All @@ -23,7 +23,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<version>3.12.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
Expand Down Expand Up @@ -52,7 +52,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version>
<version>3.6.3</version>
<configuration>
<author>true</author>
<outputDirectory>${project.basedir}/docs</outputDirectory>
Expand Down Expand Up @@ -111,55 +111,55 @@
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMModels</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMCommon</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMResolver</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMAlias</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMMeta</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMHooks</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMInfo</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMPluginInstaller</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMTasks</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions KPMHooks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.kunlab.kpm</groupId>
<artifactId>TeamKunPluginManager</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -22,13 +22,13 @@
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMModels</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMCommon</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
10 changes: 5 additions & 5 deletions KPMInfo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.kunlab.kpm</groupId>
<artifactId>TeamKunPluginManager</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -22,25 +22,25 @@
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMCommon</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMModels</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMHooks</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMResolver</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
8 changes: 4 additions & 4 deletions KPMMeta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.kunlab.kpm</groupId>
<artifactId>TeamKunPluginManager</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -22,19 +22,19 @@
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMCommon</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMModels</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMResolver</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions KPMModels/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.kunlab.kpm</groupId>
<artifactId>TeamKunPluginManager</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -31,7 +31,7 @@
<dependency>
<groupId>org.kunlab.kpm</groupId>
<artifactId>KPMCommon</artifactId>
<version>3.1.0-pre1</version>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ public interface QueryContext
*/
String versionEqualQuerySeparator = "==";

/**
* バージョンを指定する指定子です。
*/
String versionChooseSpecifier = "?";

/**
* 指定するリゾルバの名前を取得します。
*
Expand Down Expand Up @@ -57,4 +62,11 @@ public interface QueryContext
* @param version バージョン
*/
void setVersion(Version version);

/**
* バージョンを選択するかどうかを取得します。
*
* @return バージョンを選択するかどうか
*/
boolean isChooseVersion();
}
Loading
Loading