Paste #125510: Compile fails on 1.19.3

Date: 2024/08/11 19:35:13 UTC-07:00
Type: Shell Session

View Raw Paste Download This Paste
Copy Link


D:\Dev\Citizens2>mvn
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] citizens-parent                                                    [pom]
[INFO] citizens-main                                                      [jar]
[INFO] citizens-v1_19_R3                                                  [jar]
[INFO] citizens-v1_20_R4                                                  [jar]
[INFO] citizens-v1_21_R1                                                  [jar]
[INFO] citizens                                                           [pom]
[INFO]
[INFO] ------------------< net.citizensnpcs:citizens-parent >------------------
[INFO] Building citizens-parent 2.0.35-SNAPSHOT                           [1/6]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ citizens-parent ---
[INFO]
[INFO] --- install:3.1.1:install (default-install) @ citizens-parent ---
[INFO] Installing D:\Dev\Citizens2\pom.xml to C:\Users\socce\.m2\repository\net\citizensnpcs\citizens-parent\2.0.35-SNAPSHOT\citizens-parent-2.0.35-SNAPSHOT.pom
[INFO]
[INFO] -------------------< net.citizensnpcs:citizens-main >-------------------
[INFO] Building citizens-main 2.0.35-SNAPSHOT                             [2/6]
[INFO]   from main\pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ citizens-main ---
[INFO] Deleting D:\Dev\Citizens2\main\target
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ citizens-main ---
[INFO] Copying 13 resources from src\main\resources to target\classes
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ citizens-main ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 184 source files with javac [debug release 8] to target\classes
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.
[INFO] /D:/Dev/Citizens2/main/src/main/java/net/citizensnpcs/editor/EndermanEquipperGUI.java: Some input files use or override a deprecated API.
[INFO] /D:/Dev/Citizens2/main/src/main/java/net/citizensnpcs/editor/EndermanEquipperGUI.java: Recompile with -Xlint:deprecation for details.
[INFO] /D:/Dev/Citizens2/main/src/main/java/net/citizensnpcs/trait/ShopTrait.java: Some input files use unchecked or unsafe operations.
[INFO] /D:/Dev/Citizens2/main/src/main/java/net/citizensnpcs/trait/ShopTrait.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ citizens-main ---
[INFO] skip non existing resourceDirectory D:\Dev\Citizens2\main\src\test\resources
[INFO]
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ citizens-main ---
[INFO] No sources to compile
[INFO]
[INFO] --- surefire:3.1.2:test (default-test) @ citizens-main ---
[INFO] No tests to run.
[INFO]
[INFO] --- jar:3.4.1:jar (default-jar) @ citizens-main ---
[INFO] Building jar: D:\Dev\Citizens2\main\target\citizens-main-2.0.35-SNAPSHOT.jar
[INFO]
[INFO] --- shade:3.5.2:shade (default) @ citizens-main ---
[INFO] Including net.citizensnpcs:citizensapi:jar:2.0.35-SNAPSHOT in the shaded jar.
[INFO] Including net.byteflux:libby-bukkit:jar:1.1.5 in the shaded jar.
[INFO] Including net.byteflux:libby-core:jar:1.1.5 in the shaded jar.
[INFO] Minimizing jar net.citizensnpcs:citizens-main:jar:2.0.35-SNAPSHOT
[WARNING] citizens-main-2.0.35-SNAPSHOT.jar, citizensapi-2.0.35-SNAPSHOT.jar, libby-bukkit-1.1.5.jar, libby-core-1.1.5.jar define 1 overlapping resource:
[WARNING]   - META-INF/MANIFEST.MF
[WARNING] maven-shade-plugin has detected that some files are
[WARNING] present in two or more JARs. When this happens, only one
[WARNING] single version of the file is copied to the uber jar.
[WARNING] Usually this is not harmful and you can skip these warnings,
[WARNING] otherwise try to manually exclude artifacts based on
[WARNING] mvn dependency:tree -Ddetail=true and the above output.
[WARNING] See https://maven.apache.org/plugins/maven-shade-plugin/
[INFO] Minimized 720 -> 718 (99%)
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing D:\Dev\Citizens2\main\target\citizens-main-2.0.35-SNAPSHOT.jar with D:\Dev\Citizens2\main\target\citizens-main-2.0.35-SNAPSHOT-shaded.jar
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ citizens-main ---
[INFO] Copying 13 resources from src\main\resources to target\classes
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ citizens-main ---
[INFO] Nothing to compile - all classes are up to date.
[WARNING] Overwriting artifact's file from D:\Dev\Citizens2\main\target\citizens-main-2.0.35-SNAPSHOT.jar to D:\Dev\Citizens2\main\target\classes
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ citizens-main ---
[INFO] skip non existing resourceDirectory D:\Dev\Citizens2\main\src\test\resources
[INFO]
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ citizens-main ---
[INFO] No sources to compile
[INFO]
[INFO] --- surefire:3.1.2:test (default-test) @ citizens-main ---
[INFO] No tests to run.
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO]
[INFO] --- jar:3.4.1:jar (default-jar) @ citizens-main ---
[INFO]
[INFO] --- shade:3.5.2:shade (default) @ citizens-main ---
[INFO] Including net.citizensnpcs:citizensapi:jar:2.0.35-SNAPSHOT in the shaded jar.
[INFO] Including net.byteflux:libby-bukkit:jar:1.1.5 in the shaded jar.
[INFO] Including net.byteflux:libby-core:jar:1.1.5 in the shaded jar.
[INFO] Minimizing jar net.citizensnpcs:citizens-main:jar:2.0.35-SNAPSHOT
[WARNING] citizens-main-2.0.35-SNAPSHOT.jar, libby-bukkit-1.1.5.jar define 2 overlapping resources:
[WARNING]   - META-INF/maven/net.byteflux/libby-bukkit/pom.properties
[WARNING]   - META-INF/maven/net.byteflux/libby-bukkit/pom.xml
[WARNING] citizens-main-2.0.35-SNAPSHOT.jar, libby-core-1.1.5.jar define 2 overlapping resources:
[WARNING]   - META-INF/maven/net.byteflux/libby-core/pom.properties
[WARNING]   - META-INF/maven/net.byteflux/libby-core/pom.xml
[WARNING] citizens-main-2.0.35-SNAPSHOT.jar, citizensapi-2.0.35-SNAPSHOT.jar, libby-bukkit-1.1.5.jar, libby-core-1.1.5.jar define 1 overlapping resource:
[WARNING]   - META-INF/MANIFEST.MF
[WARNING] citizens-main-2.0.35-SNAPSHOT.jar, citizensapi-2.0.35-SNAPSHOT.jar define 346 overlapping classes and resources:
[WARNING]   - META-INF/maven/net.citizensnpcs/citizensapi/pom.properties
[WARNING]   - META-INF/maven/net.citizensnpcs/citizensapi/pom.xml
[WARNING]   - net.citizensnpcs.api.CitizensAPI
[WARNING]   - net.citizensnpcs.api.CitizensPlugin
[WARNING]   - net.citizensnpcs.api.LocationLookup
[WARNING]   - net.citizensnpcs.api.LocationLookup$AsyncPhTreeLoader
[WARNING]   - net.citizensnpcs.api.LocationLookup$PerPlayerMetadata
[WARNING]   - net.citizensnpcs.api.LocationLookup$TreeFactory
[WARNING]   - net.citizensnpcs.api.LocationLookup$TreeFactory$Node
[WARNING]   - net.citizensnpcs.api.NMSHelper
[WARNING]   - 336 more...
[WARNING] maven-shade-plugin has detected that some files are
[WARNING] present in two or more JARs. When this happens, only one
[WARNING] single version of the file is copied to the uber jar.
[WARNING] Usually this is not harmful and you can skip these warnings,
[WARNING] otherwise try to manually exclude artifacts based on
[WARNING] mvn dependency:tree -Ddetail=true and the above output.
[WARNING] See https://maven.apache.org/plugins/maven-shade-plugin/
[INFO] Minimized 1085 -> 1068 (98%)
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing D:\Dev\Citizens2\main\target\citizens-main-2.0.35-SNAPSHOT.jar with D:\Dev\Citizens2\main\target\citizens-main-2.0.35-SNAPSHOT-shaded.jar
[INFO]
[INFO] --- install:3.1.1:install (default-install) @ citizens-main ---
[INFO] Installing D:\Dev\Citizens2\main\pom.xml to C:\Users\socce\.m2\repository\net\citizensnpcs\citizens-main\2.0.35-SNAPSHOT\citizens-main-2.0.35-SNAPSHOT.pom
[INFO] Installing D:\Dev\Citizens2\main\target\citizens-main-2.0.35-SNAPSHOT.jar to C:\Users\socce\.m2\repository\net\citizensnpcs\citizens-main\2.0.35-SNAPSHOT\citizens-main-2.0.35-SNAPSHOT.jar
[INFO]
[INFO] -----------------< net.citizensnpcs:citizens-v1_19_R3 >-----------------
[INFO] Building citizens-v1_19_R3 2.0.35-SNAPSHOT                         [3/6]
[INFO]   from v1_19_R3\pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for citizens-parent 2.0.35-SNAPSHOT:
[INFO]
[INFO] citizens-parent .................................... SUCCESS [  0.238 s]
[INFO] citizens-main ...................................... SUCCESS [  8.282 s]
[INFO] citizens-v1_19_R3 .................................. FAILURE [  0.338 s]
[INFO] citizens-v1_20_R4 .................................. SKIPPED
[INFO] citizens-v1_21_R1 .................................. SKIPPED
[INFO] citizens ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.006 s
[INFO] Finished at: 2024-08-11T22:27:19-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project citizens-v1_19_R3: Could not resolve dependencies for project net.citizensnpcs:citizens-v1_19_R3:jar:2.0.35-SNAPSHOT: The following artifacts could not be resolved: org.spigotmc:spigot:jar:remapped-mojang:1.19.4-R0.1-SNAPSHOT (absent), org.spigotmc:spigot-api:jar:1.19.4-R0.1-SNAPSHOT (absent): org.spigotmc:spigot:jar:remapped-mojang:1.19.4-R0.1-SNAPSHOT was not found in https://maven.citizensnpcs.co/repo during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of citizens-repo has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :citizens-v1_19_R3

Highlighting for 'Other' types handled by Highlight.JS, which was released under the BSD 3-Clause License.