Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3324

Gradle build of icefaces 2.x archetype contains unnecessary dependencies

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: icefaces-archetype-2.0.4
    • Fix Version/s: None
    • Component/s: ICEfaces Archetype
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Navigate to the archetype parent project:
         cd liferay-faces-bridge-ext/archetype
        
      2. Run the MavenGradleGenerationDiffIT test:
         mvn clean install
        

        The error can also be reproduced with the 2.0.4 release:

        mvn clean install -Dit.archetype.version=2.0.4
        

      If the bug still exists, the build will fail with the following error:

      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 32.35 sec <<< FAILURE! - in com.liferay.faces.bridge.ext.archetype.test.integration.MavenGradleGenerationDiffIT
      testMavenGradleGenerationDiff(com.liferay.faces.bridge.ext.archetype.test.integration.MavenGradleGenerationDiffIT)  Time elapsed: 32.206 sec  <<< FAILURE!
      java.lang.AssertionError: The following file(s) were found only in the gradle war: WEB-INF/lib/jsp-api-2.0.jar, WEB-INF/lib/commons-io-2.4.jar, WEB-INF/lib/commons-fileupload-1.3.1.jar, WEB-INF/lib/activation-1.1.jar, WEB-INF/lib/mail-1.4.1.jar
              at com.liferay.faces.bridge.ext.archetype.test.integration.MavenGradleGenerationDiffIT.verifyNoExtraFilesInWar(MavenGradleGenerationDiffIT.java:223)
              at com.liferay.faces.bridge.ext.archetype.test.integration.MavenGradleGenerationDiffIT.testMavenGradleGenerationDiff(MavenGradleGenerationDiffIT.java:352)
      
      
      Results :
      
      Failed tests:
        MavenGradleGenerationDiffIT.testMavenGradleGenerationDiff:352->verifyNoExtraFilesInWar:223 The following file(s) were found only in the gradle war: WEB-INF/lib/jsp-api-2.0.jar, WEB-INF/lib/commons-io-2.4.jar, WEB-INF/lib/commons-fileupload-1.3.1.jar, WEB-INF/lib/activation-1.1.jar, WEB-INF/lib/mail-1.4.1.jar
      
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
      

      If the bug is fixed the build (and test) will pass.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kyle.stiemann Kyle Stiemann
                Reporter:
                kyle.stiemann Kyle Stiemann
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: