-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: icefaces-archetype-2.0.4
-
Fix Version/s: icefaces-archetype-2.0.5
-
Component/s: ICEfaces Archetype
-
Labels:None
Steps to reproduce:
- Navigate to the archetype parent project:
cd liferay-faces-bridge-ext/archetype
- 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.
- Discovered while testing
-
FACES-3323 Ensure that maven and gradle archetypes generate the exact* same wars
-
- Closed
-