[INFO] [INFO] ---------------< org.glassfish.main.admin:rest-service >---------------- [INFO] Building GlassFish Admin REST Service 7.0.13-SNAPSHOT [89/349] [INFO] from nucleus/admin/rest/rest-service/pom.xml [INFO] ---------------------------[ glassfish-jar ]---------------------------- [INFO] [INFO] --- clean:3.3.1:clean (default-clean) @ rest-service --- [INFO] [INFO] --- enforcer:3.1.0:enforce (enforce-maven) @ rest-service --- [INFO] [INFO] --- osgiversion:3.0.6:compute-osgi-version (generate-osgi-version-property) @ rest-service --- [INFO] [INFO] --- compiler:3.11.0:compile (generate-hk2-config) @ rest-service --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 189 source files with javac [debug target 11] to target/classes [INFO] [INFO] --- build-helper:3.4.0:add-resource (add-resource) @ rest-service --- [INFO] [INFO] --- build-helper:3.4.0:add-resource (add-legal-resource) @ rest-service --- [INFO] [INFO] --- dependency:3.6.1:unpack (unpack-resource) @ rest-service --- [INFO] Configured Artifact: org.glassfish.main:nucleus-parent:resources:7.0.13-SNAPSHOT:zip [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ rest-service --- [INFO] Copying 13 resources from src/main/resources to target/classes [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/src/main/manpages [INFO] Copying 2 resources from target/common-resources/legal to target/classes/META-INF [INFO] [INFO] --- compiler:3.11.0:compile (default-compile) @ rest-service --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 189 source files with javac [debug target 11] to target/classes [WARNING] /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/provider/ProviderUtil.java:[178,68] non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning [INFO] /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/cli/SupportsUserManagementCommand.java: Some input files use or override a deprecated API. [INFO] /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/cli/SupportsUserManagementCommand.java: Recompile with -Xlint:deprecation for details. [INFO] /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/provider/ProviderUtil.java: Some input files use unchecked or unsafe operations. [INFO] /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/provider/ProviderUtil.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- osgiversion:3.0.6:compute-osgi-version (default-compute-osgi-version) @ rest-service --- [INFO] [INFO] --- hk2-inhabitant-generator:3.0.6:generate-inhabitants (default-generate-inhabitants) @ rest-service --- [INFO] [INFO] --- bundle:5.1.9:manifest (default-manifest) @ rest-service --- [INFO] No MANIFEST.MF file found, generating manifest. [WARNING] Manifest org.glassfish.main.admin:rest-service:glassfish-jar:7.0.13-SNAPSHOT : Export org.glassfish.admin.rest.composite, has 1, private references [org.glassfish.admin.rest.resources] [WARNING] Manifest org.glassfish.main.admin:rest-service:glassfish-jar:7.0.13-SNAPSHOT : Export org.glassfish.admin.rest.utils, has 2, private references [org.glassfish.admin.rest.provider, org.glassfish.admin.rest.results] [INFO] Writing manifest: /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/target/classes/META-INF/MANIFEST.MF [INFO] [INFO] --- command-security:1.0.17:check (default-check) @ rest-service --- [WARNING] Following command classes neither provide nor inherit authorization: [org.glassfish.admin.rest.cli.GetGroupNamesCommand, org.glassfish.admin.rest.cli.GetTokensCommand, org.glassfish.admin.rest.cli.IsAnonymousUserEnabledCommand, org.glassfish.admin.rest.cli.PredefinedAuthRealmClassNamesCommand, org.glassfish.admin.rest.cli.SupportsUserManagementCommand, org.glassfish.admin.rest.cli.SynchronizeRealmFromConfig] [INFO] [INFO] --- compiler:3.11.0:compile (process-annotations) @ rest-service --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 189 source files with javac [debug target 11] to target/classes [WARNING] Supported source version 'RELEASE_8' from annotation processor 'org.glassfish.corba.annotation.processing.ExceptionWrapperProcessor' less than -source '11' [INFO] LogMessagesResourceBundleGenerator invoked. [INFO] Initial messages found so far: {} [INFO] Processing: NCLS-REST-00001 [INFO] Message NCLS-REST-00001 needs checking for cause/action: false [INFO] Processing: NCLS-REST-00002 [INFO] Message NCLS-REST-00002 needs checking for cause/action: false [INFO] Processing: NCLS-REST-00003 [INFO] Message NCLS-REST-00003 needs checking for cause/action: true [INFO] Processing: NCLS-REST-00004 [INFO] Message NCLS-REST-00004 needs checking for cause/action: true [INFO] Processing: NCLS-REST-00005 [INFO] Message NCLS-REST-00005 needs checking for cause/action: true [INFO] Processing: NCLS-REST-00006 [INFO] Message NCLS-REST-00006 needs checking for cause/action: true [INFO] Processing: NCLS-REST-00007 [INFO] Message NCLS-REST-00007 needs checking for cause/action: true [INFO] Processing: NCLS-REST-00008 [INFO] Message NCLS-REST-00008 needs checking for cause/action: false [INFO] Processing: NCLS-REST-00009 [INFO] Message NCLS-REST-00009 needs checking for cause/action: false [INFO] Processing: NCLS-REST-00010 [INFO] Message NCLS-REST-00010 needs checking for cause/action: false [INFO] Processing: NCLS-REST-00011 [INFO] Message NCLS-REST-00011 needs checking for cause/action: false [INFO] Processing: NCLS-REST-00012 [INFO] Message NCLS-REST-00012 needs checking for cause/action: false [INFO] Processing: NCLS-REST-00013 [INFO] Message NCLS-REST-00013 needs checking for cause/action: true [INFO] Processing: NCLS-REST-00014 [INFO] Message NCLS-REST-00014 needs checking for cause/action: false [INFO] Processing: NCLS-REST-00015 [INFO] Message NCLS-REST-00015 needs checking for cause/action: true [INFO] Processing: NCLS-REST-00016 [INFO] Message NCLS-REST-00016 needs checking for cause/action: true [INFO] Total Messages including ones found from disk so far: {NCLS-REST-00001=Listening to REST requests at context: {0}/domain., NCLS-REST-00002=Incorrectly formatted entry in {0}: {1}, NCLS-REST-00003=An error occurred while processing the request. Please see the server logs for details., NCLS-REST-00004=The class specified by generator does not implement DefaultsGenerator, NCLS-REST-00005=Unsupported fixed value. Supported types are String, boolean, Boolean, int, Integer, long, Long, double, Double, float, and Float, NCLS-REST-00006=Fixed value type does not match the property type, NCLS-REST-00007=Cannot marshal, NCLS-REST-00008=Unexpected exception during command execution., NCLS-REST-00009=Unable to delete directory {0}. Will attempt deletion again upon JVM exit., NCLS-REST-00010=Unable to delete file %s. Will attempt deletion again upon JVM exit., NCLS-REST-00011={0}: {1}, NCLS-REST-00012=Compilation failed., NCLS-REST-00013=File creation failed: {0}, NCLS-REST-00014=Directory creation failed: {0}, NCLS-REST-00015=Unexpected exception during initilization., NCLS-REST-00016=I/O exception: {0}} [INFO] org.glassfish.annotation.processing.logging.LogMessagesResourceBundleGenerator: Annotation processing finished successfully. [INFO] LoggerInfoMetadataGenerator invoked. [INFO] Total Messages including ones found from disk so far: {} [INFO] Processing: jakarta.enterprise.admin.rest on element REST_MAIN_LOGGER [INFO] Enclosing type is org.glassfish.admin.rest.RestLogging [INFO] Loggers found so far: {jakarta.enterprise.admin.rest.description=Main REST Logger, jakarta.enterprise.admin.rest.publish=true, jakarta.enterprise.admin.rest.subsystem=REST} [INFO] org.glassfish.annotation.processing.logging.LoggerInfoMetadataGenerator: Generating logger metadata service. [INFO] Found enclosing element REST_MAIN_LOGGER [INFO] Found enclosing element org.glassfish.admin.rest.RestLogging [INFO] org.glassfish.annotation.processing.logging.LoggerInfoMetadataGenerator: Annotation processing finished successfully. [INFO] LogMessagesResourceBundleGenerator invoked. [INFO] LoggerInfoMetadataGenerator invoked. [INFO] Attempt to reopen a file for path /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/target/classes/META-INF/loggerinfo/LoggerInfoMetadata.properties:Unable to load resource bundle: META-INF/loggerinfo/LoggerInfoMetadata [INFO] Total Messages including ones found from disk so far: {} [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ rest-service --- [INFO] Copying 5 resources from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ rest-service --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 15 source files with javac [debug target 11] to target/test-classes [WARNING] Supported source version 'RELEASE_8' from annotation processor 'org.glassfish.corba.annotation.processing.ExceptionWrapperProcessor' less than -source '11' [INFO] /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/src/test/java/org/glassfish/admin/rest/EncodingTest.java: /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/src/test/java/org/glassfish/admin/rest/EncodingTest.java uses or overrides a deprecated API. [INFO] /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/src/test/java/org/glassfish/admin/rest/EncodingTest.java: Recompile with -Xlint:deprecation for details. [INFO] /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/src/test/java/org/glassfish/admin/rest/EncodingTest.java: Some input files use unchecked or unsafe operations. [INFO] /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/src/test/java/org/glassfish/admin/rest/EncodingTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- hk2-inhabitant-generator:3.0.6:generate-test-inhabitants (default-generate-test-inhabitants) @ rest-service --- [INFO] [INFO] --- surefire:3.2.2:test (default-test) @ rest-service --- [INFO] Tests are skipped. [INFO] [INFO] --- antrun:3.1.0:run (default-manifest) @ rest-service --- [INFO] Executing tasks [INFO] [echo] Generating manifest for /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/target/classes/META-INF for [INFO] [echo] rest-service [INFO] Executed tasks [INFO] [INFO] --- jar:3.3.0:jar (default-jar) @ rest-service --- [INFO] Building jar: /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/target/rest-service.jar [INFO] [INFO] --- jar:3.3.0:test-jar (default) @ rest-service --- [INFO] Building jar: /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/target/rest-service-tests.jar [INFO] [INFO] --- failsafe:3.2.2:integration-test (integration-test) @ rest-service --- [INFO] Tests are skipped. [INFO] [INFO] --- failsafe:3.2.2:verify (verify) @ rest-service --- [INFO] Tests are skipped. [INFO] [INFO] --- checkstyle:3.3.0:check (org.glassfish.main.admin-rest-service-checkstyle) @ rest-service --- [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- install:3.1.1:install (default-install) @ rest-service --- [INFO] Installing /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/pom.xml to /home/jenkins/.m2/repository/org/glassfish/main/admin/rest-service/7.0.13-SNAPSHOT/rest-service-7.0.13-SNAPSHOT.pom [INFO] Installing /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/target/rest-service.jar to /home/jenkins/.m2/repository/org/glassfish/main/admin/rest-service/7.0.13-SNAPSHOT/rest-service-7.0.13-SNAPSHOT.jar [INFO] Installing /home/jenkins/agent/workspace/build-glassfish/nucleus/admin/rest/rest-service/target/rest-service-tests.jar to /home/jenkins/.m2/repository/org/glassfish/main/admin/rest-service/7.0.13-SNAPSHOT/rest-service-7.0.13-SNAPSHOT-tests.jar