Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-455

org.jboss.metadata.test.ComparePreviousSchemasTestCase fails because of last-major-release property in pom.xml

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 16.1.0.Final
    • None
    • None
    • None
    • Untriaged

      While builiding the repository, the build fails with following errors. For last-major-release it has 15.4.0 version.

      [INFO] Running org.jboss.metadata.test.ComparePreviousSchemasTestCase
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.007 s <<< FAILURE! - in org.jboss.metadata.test.ComparePreviousSchemasTestCase
      [ERROR] org.jboss.metadata.test.ComparePreviousSchemasTestCase  Time elapsed: 0.007 s  <<< ERROR!
      java.lang.RuntimeException: last-major-release property in the POM is out of date. This should be set to the previous stable release, so testing can be done to make sure schemas have not been modified
          at org.jboss.metadata.test.ComparePreviousSchemasTestCase.failTestVersion(ComparePreviousSchemasTestCase.java:96)
          at org.jboss.metadata.test.ComparePreviousSchemasTestCase.checkCorrectVersion(ComparePreviousSchemasTestCase.java:89)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
          at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
          at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
          at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
          at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
          at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
          at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
          at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
          at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
          at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

              ssur@redhat.com Sudeshna Sur (Inactive)
              ssur@redhat.com Sudeshna Sur (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: