Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.10.0.Beta2
    • Component/s: build
    • Labels:
      None

      Description

      Some warnings I noticed:

      [WARNING] 'build.plugins.plugin.version' for org.wildfly.plugins:wildfly-maven-plugin is missing. @ org.hibernate:hibernate-search-integrationtest-wildfly:[unknown-version], /var/lib/jenkins/workspace/hibernate-search-PR/integrationtest/wildfly/pom.xml, line 467, column 29
      
      [WARNING] 'build.plugins.plugin.version' for org.wildfly.plugins:wildfly-maven-plugin is missing. @ org.hibernate:hibernate-search-performance-orm:[unknown-version], /var/lib/jenkins/workspace/hibernate-search-PR/integrationtest/performance/orm/pom.xml, line 319, column 21
      
      [WARNING] The project org.hibernate:hibernate-search-parent:pom:5.10.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
      
      [WARNING] /var/lib/jenkins/workspace/hibernate-search-PR/engine/src/test/java/org/hibernate/search/test/engine/typehandling/BasicTypeCollectionsTest.java:[32,61] non-varargs call of varargs method with inexact argument type for last parameter;
        cast to java.lang.Class<?> for a varargs call
        cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning
      
      [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ hibernate-search ---
      [WARNING] JAR will be empty - no content was marked for inclusion!
      [INFO] Building jar: /var/lib/jenkins/workspace/hibernate-search-PR/legacy/target/hibernate-search-5.10.0-SNAPSHOT.jar
      [INFO] 
      [INFO] --- maven-jar-plugin:3.0.2:test-jar (build-test-jar) @ hibernate-search ---
      [WARNING] JAR will be empty - no content was marked for inclusion!
      [INFO] Building jar: /var/lib/jenkins/workspace/hibernate-search-PR/legacy/target/hibernate-search-5.10.0-SNAPSHOT-tests.jar
      
      [WARNING] Manifest org.hibernate:hibernate-search-serialization-avro:jar:5.10.0-SNAPSHOT : Unused Import-Package instructions: [org.hibernate.annotations.common.*] 
      
      [INFO] --- maven-jar-plugin:3.0.2:test-jar (build-test-jar) @ hibernate-search-testing ---
      [WARNING] JAR will be empty - no content was marked for inclusion!
      
      [INFO] 
      [INFO] --- maven-javadoc-plugin:3.0.0-M1:javadoc-no-fork (generate-javadoc) @ hibernate-search-elasticsearch ---
      [INFO] 
      1 warning
      [WARNING] Javadoc Warnings
      [WARNING] javadoc: warning - Error fetching URL: http://jgroups.org/javadoc/
      
      [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ hibernate-search-infinispan ---
      [WARNING] JAR will be empty - no content was marked for inclusion!
      [INFO] Building jar: /var/lib/jenkins/workspace/hibernate-search-PR/infinispan/target/hibernate-search-infinispan-5.10.0-SNAPSHOT.jar
      [INFO] 
      [INFO] --- maven-jar-plugin:3.0.2:test-jar (build-test-jar) @ hibernate-search-infinispan ---
      [WARNING] JAR will be empty - no content was marked for inclusion!
      
      [WARNING] The following patterns were never triggered in this artifact inclusion filter:
      o  'org.hibernate.javax.persistence:*'
      
      

      Also, we may want to have a look at the numerous javadoc-related warnings (maybe configure the javadoc plugin to relax the rules?)

      Some other warnings we may, or may not, be able to suppress:

      [WARNING] Class 'org.hibernate.SharedSessionContract' not found on classpath while parsing signature: org.hibernate.SharedSessionContract#getTransaction() [signature ignored]
      
      [WARNING] Classes directory does not exist, forbiddenapis check skipped: /var/lib/jenkins/workspace/hibernate-search-PR/integrationtest/performance/engine-lucene/target/test-classes
      
      [WARNING] diagnostic: warning: The following options were not recognized by any processor: '[org.jboss.logging.tools.addGeneratedAnnotation]'
      
      [WARNING] Cannot include project artifact: org.hibernate:hibernate-search-distribution:pom:5.10.0-SNAPSHOT; it doesn't have an associated file or directory.
      
      

        Attachments

          Activity

            People

            • Assignee:
              yrodiere Yoann Rodière
              Reporter:
              yrodiere Yoann Rodière
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: