cloudberrydb / pljava

PL/Java for Cloudberry Database, bringing Java™ Stored Procedures, Triggers, Functions, Aggregates, Operators, Types, etc., to CloudberryDB.
Other
0 stars 3 forks source link

Update nar-maven-plugin download url #2

Closed tuhaihe closed 2 months ago

tuhaihe commented 2 months ago

fix #1


Change logs

Update nar-maven-plugin download url.

Contributor's checklist

Here are some reminders before you submit your pull request:

tuhaihe commented 2 months ago
root@djwang-test-ubuntu:~# curl -o nar-maven-plugin.tar.gz https://codeload.github.com/maven-nar/nar-maven-plugin/tar.gz/refs/tags/nar-maven-plugin-3.5.2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  683k    0  683k    0     0   239k      0 --:--:--  0:00:02 --:--:--  239k
root@djwang-test-ubuntu:~# tar xzf nar-maven-plugin.tar.gz
root@djwang-test-ubuntu:~# ls
nar-maven-plugin-nar-maven-plugin-3.5.2  nar-maven-plugin.tar.gz
root@djwang-test-ubuntu:~# mv nar-maven-plugin-nar-maven-plugin-3.5.2 nar-maven-plugin
root@djwang-test-ubuntu:~# cd nar-maven-plugin
root@djwang-test-ubuntu:~/nar-maven-plugin# mvn
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------< com.github.maven-nar:nar-maven-plugin >----------------
[INFO] Building Native ARchive plugin for Maven 3.5.2
[INFO] ----------------------------[ maven-plugin ]----------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ nar-maven-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ban-known-bad-maven-versions) @ nar-maven-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ nar-maven-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ nar-maven-plugin ---
[INFO]
[INFO] --- maven-plugin-plugin:3.2:helpmojo (generated-helpmojo) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ nar-maven-plugin ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ nar-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 257 source files to /root/nar-maven-plugin/target/classes
[WARNING] /root/nar-maven-plugin/src/main/java/com/github/maven_nar/cpptasks/borland/CBuilderXProjectWriter.java: Some input files use or override a deprecated API.
[WARNING] /root/nar-maven-plugin/src/main/java/com/github/maven_nar/cpptasks/borland/CBuilderXProjectWriter.java: Recompile with -Xlint:deprecation for details.
[WARNING] /root/nar-maven-plugin/src/main/java/com/github/maven_nar/cpptasks/ProcessorDef.java: Some input files use unchecked or unsafe operations.
[WARNING] /root/nar-maven-plugin/src/main/java/com/github/maven_nar/cpptasks/ProcessorDef.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-plugin-plugin:3.2:descriptor (default-descriptor) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 23 mojo descriptors.
[INFO]
[INFO] --- maven-plugin-plugin:3.2:descriptor (generate-descriptor) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 23 mojo descriptors.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ nar-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ nar-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 44 source files to /root/nar-maven-plugin/target/test-classes
[WARNING] /root/nar-maven-plugin/src/test/java/com/github/maven_nar/test/TestNarLayout21.java: Some input files use or override a deprecated API.
[WARNING] /root/nar-maven-plugin/src/test/java/com/github/maven_nar/test/TestNarLayout21.java: Recompile with -Xlint:deprecation for details.
[WARNING] /root/nar-maven-plugin/src/test/java/com/github/maven_nar/cpptasks/sun/TestForteCCCompiler.java: Some input files use unchecked or unsafe operations.
[WARNING] /root/nar-maven-plugin/src/test/java/com/github/maven_nar/cpptasks/sun/TestForteCCCompiler.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ nar-maven-plugin ---
[INFO] Surefire report directory: /root/nar-maven-plugin/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.github.maven_nar.test.TestNarLayout20
[debug] Using com.github.maven_nar.NarLayout20
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec - in com.github.maven_nar.test.TestNarLayout20
Running com.github.maven_nar.test.TestNarLayout21
[debug] Using com.github.maven_nar.NarLayout21
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.test.TestNarLayout21
Running com.github.maven_nar.test.TestNarFileLayout10
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in com.github.maven_nar.test.TestNarFileLayout10
Running com.github.maven_nar.test.TestLinkerVersion
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec - in com.github.maven_nar.test.TestLinkerVersion
Running com.github.maven_nar.cpptasks.TestDependencyTable
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec - in com.github.maven_nar.cpptasks.TestDependencyTable
Running com.github.maven_nar.cpptasks.TestAllClasses
Class: CompilerDef and: CompilerDef
Tests run: 231, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.63 sec - in com.github.maven_nar.cpptasks.TestAllClasses
Running com.github.maven_nar.cpptasks.compiler.TestAbstractProcessor
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.compiler.TestAbstractProcessor
Running com.github.maven_nar.cpptasks.compiler.TestAbstractLinker
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.compiler.TestAbstractLinker
Running com.github.maven_nar.cpptasks.compiler.TestCommandLineCompilerConfiguration
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.compiler.TestCommandLineCompilerConfiguration
Running com.github.maven_nar.cpptasks.compiler.TestLinkType
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.compiler.TestLinkType
Running com.github.maven_nar.cpptasks.compiler.TestAbstractCompiler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.compiler.TestAbstractCompiler
Running com.github.maven_nar.cpptasks.TestCUtil
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in com.github.maven_nar.cpptasks.TestCUtil
Running com.github.maven_nar.cpptasks.types.TestDefineArgument
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in com.github.maven_nar.cpptasks.types.TestDefineArgument
Running com.github.maven_nar.cpptasks.types.TestLibrarySet
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in com.github.maven_nar.cpptasks.types.TestLibrarySet
Running com.github.maven_nar.cpptasks.trolltech.TestMetaObjectParser
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.trolltech.TestMetaObjectParser
Running com.github.maven_nar.cpptasks.trolltech.TestMetaObjectCompiler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.trolltech.TestMetaObjectCompiler
Running com.github.maven_nar.cpptasks.TestOutputTypeEnum
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.TestOutputTypeEnum
Running com.github.maven_nar.cpptasks.sun.TestForteCCCompiler
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in com.github.maven_nar.cpptasks.sun.TestForteCCCompiler
Running com.github.maven_nar.cpptasks.borland.TestBorlandCCompiler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.borland.TestBorlandCCompiler
Running com.github.maven_nar.cpptasks.TestTargetHistoryTable
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in com.github.maven_nar.cpptasks.TestTargetHistoryTable
Running com.github.maven_nar.cpptasks.TestCompilerEnum
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.TestCompilerEnum
Running com.github.maven_nar.cpptasks.TestLinkerDef
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in com.github.maven_nar.cpptasks.TestLinkerDef
Running com.github.maven_nar.cpptasks.msvc.TestMsvcCCompiler
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.msvc.TestMsvcCCompiler
Running com.github.maven_nar.cpptasks.msvc.TestMsvcLinker
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.msvc.TestMsvcLinker
Running com.github.maven_nar.cpptasks.msvc.TestMsvc2005CCompiler
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.msvc.TestMsvc2005CCompiler
Running com.github.maven_nar.cpptasks.msvc.TestInstalledMsvcLinker
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.msvc.TestInstalledMsvcLinker
Running com.github.maven_nar.cpptasks.gcc.TestAbstractLdLinker
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in com.github.maven_nar.cpptasks.gcc.TestAbstractLdLinker
Running com.github.maven_nar.cpptasks.gcc.TestAbstractArLibrarian
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.gcc.TestAbstractArLibrarian
Running com.github.maven_nar.cpptasks.gcc.TestGccCCompiler
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in com.github.maven_nar.cpptasks.gcc.TestGccCCompiler
Running com.github.maven_nar.cpptasks.gcc.TestGccLinker
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.gcc.TestGccLinker
Running com.github.maven_nar.cpptasks.parser.TestCParser
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in com.github.maven_nar.cpptasks.parser.TestCParser
Running com.github.maven_nar.cpptasks.parser.TestFortranParser
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.parser.TestFortranParser
Running com.github.maven_nar.cpptasks.TestCCTask
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.TestCCTask
Running com.github.maven_nar.cpptasks.ibm.TestVisualAgeCCompiler
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.ibm.TestVisualAgeCCompiler
Running com.github.maven_nar.cpptasks.hp.TestaCCCompiler
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in com.github.maven_nar.cpptasks.hp.TestaCCCompiler
Running com.github.maven_nar.cpptasks.TestTargetInfo
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.TestTargetInfo
Running com.github.maven_nar.cpptasks.TestCompilerDef
Class: CompilerDef and: CompilerDef
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in com.github.maven_nar.cpptasks.TestCompilerDef
Running com.github.maven_nar.cpptasks.TestLinkerEnum
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in com.github.maven_nar.cpptasks.TestLinkerEnum

Results :

Tests run: 465, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ nar-maven-plugin ---
[INFO] Building jar: /root/nar-maven-plugin/target/nar-maven-plugin-3.5.2.jar
[INFO]
[INFO] --- maven-plugin-plugin:3.2:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ nar-maven-plugin ---
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ nar-maven-plugin ---
[INFO] Installing /root/nar-maven-plugin/target/nar-maven-plugin-3.5.2.jar to /root/.m2/repository/com/github/maven-nar/nar-maven-plugin/3.5.2/nar-maven-plugin-3.5.2.jar
[INFO] Installing /root/nar-maven-plugin/pom.xml to /root/.m2/repository/com/github/maven-nar/nar-maven-plugin/3.5.2/nar-maven-plugin-3.5.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.699 s
[INFO] Finished at: 2024-09-06T11:48:01+08:00
[INFO] ------------------------------------------------------------------------
gfphoenix78 commented 2 months ago

please update the commit message in details.