Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4102

Investigate warnings in build log

XMLWordPrintable

      Maven build process in current version outputs few warnings that should be investigated.
      Command used:

      mvn -V -B clean install -Dnodeploy -Pwildfly1200,testsuite -Dserver.home=/tmp/wildfly/dist/target/wildfly-12.0.0.Beta2-SNAPSHOT 
      

      case 1

      [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ jbossws-cxf-client ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 17 source files to /tmp/jbossws-cxf/modules/client/target/test-classes
      [WARNING] The following options were not recognized by any processor: '[generatedTranslationFilesPath]'
      
      ....
      
      [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ jbossws-cxf-server ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 44 source files to /tmp/jbossws-cxf/modules/server/target/classes
      [WARNING] The following options were not recognized by any processor: '[generatedTranslationFilesPath]'
      
      ....
      
      [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ jbossws-cxf-server ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 2 source files to /tmp/jbossws-cxf/modules/server/target/test-classes
      [WARNING] The following options were not recognized by any processor: '[generatedTranslationFilesPath]'
      

      case 2

      [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ jbossws-cxf-test-utils ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 9 source files to /tmp/jbossws-cxf/modules/test-utils/target/classes
      [WARNING] /tmp/jbossws-cxf/modules/test-utils/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java:[54,20] sun.net.util.IPAddressUtil is internal proprietary API and may be removed in a future release
      [WARNING] /tmp/jbossws-cxf/modules/test-utils/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java:[240,57] sun.net.util.IPAddressUtil is internal proprietary API and may be removed in a future release
      

      case 3

      [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ jbossws-cxf-specific-tests ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 414 source files to /tmp/jbossws-cxf/modules/testsuite/cxf-tests/target/test-classes
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/Endpoint.java:[28,34] org.apache.cxf.annotations.Logging in org.apache.cxf.annotations has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3648/PolicyAttachmentTestCase.java:[35,34] org.apache.cxf.interceptor.LoggingInInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/fastinfoset/FastInfosetTestCase.java:[34,34] org.apache.cxf.interceptor.LoggingInInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/fastinfoset/FastInfosetTestCase.java:[35,34] org.apache.cxf.interceptor.LoggingOutInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/logging/LoggingFeatureEndpointImpl.java:[30,34] org.apache.cxf.annotations.Logging in org.apache.cxf.annotations has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/logging/MessageLoggingTestCase.java:[35,34] org.apache.cxf.interceptor.LoggingInInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/asyncclient/AsyncEnabledInfoInterceptor.java:[27,34] org.apache.cxf.interceptor.AbstractLoggingInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/logging/CustomInInterceptor.java:[6,34] org.apache.cxf.interceptor.LoggingInInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/Endpoint.java:[36,2] org.apache.cxf.annotations.Logging in org.apache.cxf.annotations has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3648/PolicyAttachmentTestCase.java:[104,42] org.apache.cxf.interceptor.LoggingInInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws3648/PolicyAttachmentTestCase.java:[132,42] org.apache.cxf.interceptor.LoggingInInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/fastinfoset/FastInfosetTestCase.java:[108,42] org.apache.cxf.interceptor.LoggingInInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/fastinfoset/FastInfosetTestCase.java:[109,43] org.apache.cxf.interceptor.LoggingOutInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/fastinfoset/FastInfosetTestCase.java:[138,42] org.apache.cxf.interceptor.LoggingInInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/fastinfoset/FastInfosetTestCase.java:[139,43] org.apache.cxf.interceptor.LoggingOutInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/fastinfoset/FastInfosetTestCase.java:[188,42] org.apache.cxf.interceptor.LoggingInInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/fastinfoset/FastInfosetTestCase.java:[189,43] org.apache.cxf.interceptor.LoggingOutInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/logging/LoggingFeatureEndpointImpl.java:[35,2] org.apache.cxf.annotations.Logging in org.apache.cxf.annotations has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/logging/MessageLoggingTestCase.java:[111,10] org.apache.cxf.interceptor.LoggingInInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/logging/MessageLoggingTestCase.java:[111,58] org.apache.cxf.interceptor.LoggingInInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/asyncclient/AsyncEnabledInfoInterceptor.java:[33,50] org.apache.cxf.interceptor.AbstractLoggingInterceptor in org.apache.cxf.interceptor has been deprecated
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws4046/JBWS4046TestCase.java:[82,64] non-varargs call of varargs method with inexact argument type for last parameter;
        cast to javax.xml.ws.WebServiceFeature for a varargs call
        cast to javax.xml.ws.WebServiceFeature[] for a non-varargs call and to suppress this warning
      [WARNING] /tmp/jbossws-cxf/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/logging/CustomInInterceptor.java:[9,42] org.apache.cxf.interceptor.LoggingInInterceptor in org.apache.cxf.interceptor has been deprecated
      

      case 4

      [INFO] --- maven-surefire-plugin:2.20.1:test (forked-integration-tests) @ jbossws-cxf-specific-tests ---
      [WARNING] The parameter forkMode is deprecated since version 2.14. Use forkCount and reuseForks instead.
      

      case 5

      [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ jbossws-cxf-specific-tests ---
      [WARNING] JAR will be empty - no content was marked for inclusion!
      [INFO] Building jar: /tmp/jbossws-cxf/modules/testsuite/cxf-tests/target/jbossws-cxf-specific-tests-5.2.1-SNAPSHOT.jar
      
      ...
      
      [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ jbossws-cxf-shared-tests ---
      [WARNING] JAR will be empty - no content was marked for inclusion!
      [INFO] Building jar: /tmp/jbossws-cxf/modules/testsuite/shared-tests/target/jbossws-cxf-shared-tests-5.2.1-SNAPSHOT.jar
      

      case 6 - JDK9+ only

      [WARNING] /home/travis/build/jbossws/jbossws-cxf/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingInterceptor.java:[25,25] java.security.acl.Group in java.security.acl has been deprecated and marked for removal
      [WARNING] /home/travis/build/jbossws/jbossws-cxf/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingPolicyInterceptor.java:[25,25] java.security.acl.Group in java.security.acl has been deprecated and marked for removal
      [WARNING] /home/travis/build/jbossws/jbossws-cxf/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingInterceptor.java:[25,25] java.security.acl.Group in java.security.acl has been deprecated and marked for removal
      [WARNING] /home/travis/build/jbossws/jbossws-cxf/modules/server/src/main/java/org/jboss/wsf/stack/cxf/security/authentication/SubjectCreatingPolicyInterceptor.java:[25,25] java.security.acl.Group in java.security.acl has been deprecated and marked for removal
      

        1. build.log
          169 kB
          Jan Blizňák

              rsearls r searls
              jbliznak@redhat.com Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: