Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-7031

Can't run jarAppTLDDoc on modules/apps/asset at git tag 7.1.0-ga1

    Details

    • Type of Documentation:
      User

      Description

      Command: ~/liferay-portal-ee/modules/apps/asset $ ../../../gradlew jarAppTLDDoc
      Git tag: 7.1.0-ga

      ~/liferay-portal-ee/modules/apps/asset $ ../../../gradlew jarAppTLDDoc --stacktrace
      Configuration on demand is an incubating feature.
      :apps:asset:copyAppTLDDocResources UP-TO-DATE
      :apps:asset:asset-api:validateTLD UP-TO-DATE
      :apps:asset:asset-browser-web:validateTLD UP-TO-DATE
      :apps:asset:asset-categories-admin-web:validateTLD UP-TO-DATE
      :apps:asset:asset-categories-navigation-api:validateTLD UP-TO-DATE
      :apps:asset:asset-categories-navigation-web:validateTLD UP-TO-DATE
      :apps:asset:asset-categories-selector-web:validateTLD UP-TO-DATE
      :apps:asset:asset-categories-service:validateTLD UP-TO-DATE
      :apps:asset:asset-category-property-api:validateTLD UP-TO-DATE
      :apps:asset:asset-category-property-service:validateTLD UP-TO-DATE
      :apps:asset:asset-category-property-test:validateTLD UP-TO-DATE
      :apps:asset:asset-display-api:validateTLD UP-TO-DATE
      :apps:asset:asset-display-impl:validateTLD UP-TO-DATE
      :apps:asset:asset-display-page-api:validateTLD UP-TO-DATE
      :apps:asset:asset-display-page-item-selector-api:validateTLD UP-TO-DATE
      :apps:asset:asset-display-page-item-selector-web:validateTLD UP-TO-DATE
      :apps:asset:asset-display-page-service:validateTLD UP-TO-DATE
      :apps:asset:asset-display-page-test:validateTLD UP-TO-DATE
      :apps:asset:asset-display-web:validateTLD UP-TO-DATE
      :apps:asset:asset-entry-query-processor-custom-user-attributes:validateTLD UP-TO-DATE
      :apps:asset:asset-entry-rel-api:validateTLD UP-TO-DATE
      :apps:asset:asset-entry-rel-service:validateTLD UP-TO-DATE
      :apps:asset:asset-entry-rel-test:validateTLD UP-TO-DATE
      :apps:asset:asset-link-service:validateTLD UP-TO-DATE
      :apps:asset:asset-link-test:validateTLD UP-TO-DATE
      :apps:asset:asset-publisher-api:validateTLD UP-TO-DATE
      :apps:asset:asset-publisher-layout-prototype:validateTLD UP-TO-DATE
      :apps:asset:asset-publisher-test:validateTLD UP-TO-DATE
      :apps:asset:asset-publisher-web:validateTLD UP-TO-DATE
      :apps:asset:asset-service:validateTLD UP-TO-DATE
      :apps:asset:asset-tag-stats-api:validateTLD UP-TO-DATE
      :apps:asset:asset-tag-stats-service:validateTLD UP-TO-DATE
      :apps:asset:asset-tag-stats-test:validateTLD UP-TO-DATE
      :apps:asset:asset-taglib:validateTLD
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:6:14: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'digitalData = {
          "page": {'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:8:49: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '"category": {
                  "primaryCategory": "IBM_Marketplace"'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:10:22: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '},
              "pageInfo": {'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:12:29: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '"language": "en-IN",
                  "country": "IN",'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:14:30: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '"publisher": "IBM Corporation",
                  "version": "v18",'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:16:47: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '"ibm": {
                      "contentDelivery": "Drupal 8",'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:18:53: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '"contentProducer": "1426461 - Products Offering Type Page Wrapper",
                      "owner": "Dave R McDuff/Ottawa/IBM",'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:20:48: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '"siteID": "ECOM",
                      "contactModuleConfiguration": {'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:22:54: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '"contactInformationBundleKey": {
                              "focusArea": "IBM Portfolio",'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:24:43: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '"languageCode": "en",
                              "regionCode": "IN"'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:26:53: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '},
                          "contactModuleTranslationKey": {'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:28:43: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '"languageCode": "en",
                              "regionCode": "IN"'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:30:19: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '}
                      },'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:32:34: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '"config": {
                          "masthead": {'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:34:23: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '"type": "alternate"
                          },'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:36:44: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '"footer": {
                              "type": "alternate"'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:38:18: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '}
                      }'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:40:10: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '}
              }'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:42:2: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '}
      }'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:59:61: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'cpp = {"path":"\/cloud\/ajax\/product\/{product}"}'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:72:40: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'IBM Software - India | IBM'.
      [ant:schemavalidate] http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:86:63: Attribute name "async" associated with an element type "script" must be followed by the ' = ' character.
      :apps:asset:asset-taglib:validateTLD FAILED
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':apps:asset:asset-taglib:validateTLD'.
      > Could not validate document /home/chas/liferay-portal-ee/modules/apps/asset/asset-taglib/src/main/resources/META-INF/liferay-asset.tld
      
      * Try:
      Run with --info or --debug option to get more log output.
      
      * Exception is:
      org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':apps:asset:asset-taglib:validateTLD'.
              at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:84)
              at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)
              at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
              at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
              at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
              at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:46)
              at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
              at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
              at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
              at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
              at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:236)
              at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:228)
              at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
              at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
              at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)
              at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:228)
              at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)
              at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:77)
              at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:58)
              at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:32)
              at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:113)
              at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
              at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
              at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
              at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
              at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
              at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
              at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
              at org.gradle.initialization.DefaultGradleLauncher$3.execute(DefaultGradleLauncher.java:196)
              at org.gradle.initialization.DefaultGradleLauncher$3.execute(DefaultGradleLauncher.java:193)
              at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
              at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
              at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
              at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:193)
              at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:119)
              at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:102)
              at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:71)
              at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
              at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
              at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
              at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
              at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
              at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)
              at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:44)
              at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:29)
              at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
              at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
              at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:244)
              at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:217)
              at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:33)
              at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
              at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
              at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
              at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:210)
              at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:174)
              at org.gradle.launcher.Main.doAction(Main.java:33)
              at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
              at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:60)
              at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37)
              at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
              at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:31)
              at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108)
              at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
      Caused by: : Could not validate document /home/chas/liferay-portal-ee/modules/apps/asset/asset-taglib/src/main/resources/META-INF/liferay-asset.tld
              at org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:562)
              at org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:321)
              at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
              at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
              at org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:78)
              at org.gradle.api.internal.project.ant.BasicAntBuilder.doInvokeMethod(BasicAntBuilder.java:103)
              at com.liferay.gradle.plugins.tlddoc.builder.tasks.ValidateSchemaTask.validateSchema(ValidateSchemaTask.java:123)
              at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
              at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.doExecute(DefaultTaskClassInfoStore.java:141)
              at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
              at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)
              at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:632)
              at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:615)
              at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95)
              at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76)
              ... 62 more
      
      
      BUILD FAILED
      
      Total time: 23.506 secs

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                7.1.x