Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-103432

No Sharepoint module bundled into portal during build process

    Description

    Steps to reproduce:

    1. Build 7.2.x-private bunlde
    2. Start the bundle
    3. Go to DM > Repository
    4. Add a repository
    5. Assert Sharepoint lists under Repository Type

    Current behavior:
    No Sharepoint lists under Repository Type.

    Expected behavior:
    Sharepoint lists under Repository Type.

    It also failed on Jenkins under deploy-osgi-apps
    The build log from Jenkins:

    deploy-osgi-apps:
         [echo] Deploying all relevant modules that make up Liferay CE Sharepoint Connector.lpkg.
         [move] Warning: Could not find file /opt/dev/projects/github/liferay-portal-7.2.x-private/modules/private/apps/sharepoint/settings.gradle to copy.
     [sync-dir] Synchronizing /opt/dev/projects/github/liferay-binaries-cache-2020/.gradle/caches/modules-2/files-2.1 into /opt/dev/projects/github/liferay-portal-7.2.x-private/.gradle/caches/modules-2/files-2.1
     [sync-dir] 0 files synchronized in 290ms
         [echo] Executing Gradle task: deploy
         [exec] Using proxy squid.lax.liferay.com:3128.
         [exec] Configuration on demand is an incubating feature.
         [exec] 
         [exec] FAILURE: Build failed with an exception.
         [exec] 
         [exec] * Where:
         [exec] Gradle build finished at 2019-10-19 10:22:11.305.
         [exec] 
         [exec] Build file '/opt/dev/projects/github/liferay-portal-7.2.x-private/modules/private/apps/sharepoint/build.gradle' line: 1See the profiling report at: file:///opt/dev/projects/github/liferay-portal-7.2.x-private/modules/private/apps/sharepoint/reports/profile/profile-2019-10-19-10-22-09.html
         [exec] 
         [exec] 
         [exec] * What went wrong:
         [exec] A problem occurred evaluating root project 'sharepoint'.
         [exec] > Plugin with id 'com.liferay.app.defaults.plugin' not found.A fine-grained performance profile is available: use the --scan option.
         [exec] 
         [exec] * Try:
         [exec] Run with --info or --debug option to get more log output. Run with --scan to get full insights.
         [exec] 
         [exec] * Exception is:
         [exec] org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'sharepoint'.
         [exec] 
         [exec] 	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:92)
         [exec] 	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:206)
         [exec] 	at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)
         [exec] 	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:211)
         [exec] 	at org.gradle.configuration.BuildOperationScriptPlugin$1$1.run(BuildOperationScriptPlugin.java:69)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
         [exec] 	at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
         [exec] 	at org.gradle.configuration.BuildOperationScriptPlugin$1.execute(BuildOperationScriptPlugin.java:66)
         [exec] 	at org.gradle.configuration.BuildOperationScriptPlugin$1.execute(BuildOperationScriptPlugin.java:63)
         [exec] 	at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:48)
         [exec] 	at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:63)
         [exec] 	at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:41)
         [exec] 	at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)
         [exec] 	at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
         [exec] 	at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.run(LifecycleProjectEvaluator.java:105)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
         [exec] 	at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
         [exec] 	at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:68)
         [exec] 	at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:687)
         [exec] 	at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:140)
         [exec] 	at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:35)
         [exec] 	at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:39)
         [exec] 	at org.gradle.initialization.DefaultGradleLauncher$ConfigureBuild.run(DefaultGradleLauncher.java:274)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
         [exec] 	at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
         [exec] 	at org.gradle.initialization.DefaultGradleLauncher.configureBuild(DefaultGradleLauncher.java:182)
         [exec] 	at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:141)
         [exec] 	at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:124)
         [exec] 	at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:77)
         [exec] 	at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:74)
         [exec] 	at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:154)
         [exec] 	at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:38)
         [exec] 	at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:96)
         [exec] 	at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:74)
         [exec] 	at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
         [exec] 	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
         [exec] 	at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
         [exec] 	at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.run(RunAsBuildOperationBuildActionRunner.java:50)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
         [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
         [exec] 	at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
         [exec] 	at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:45)
         [exec] 	at org.gradle.tooling.internal.provider.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:51)
         [exec] 	at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:47)
         [exec] 	at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:44)
         [exec] 	at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:79)
         [exec] 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:44)
         [exec] 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
         [exec] 	at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:39)
         [exec] 	at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:25)
         [exec] 	at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:80)
         [exec] 	at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:53)
         [exec] 	at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:62)
         [exec] 	at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:34)
         [exec] 	at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
         [exec] 	at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
         [exec] 	at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)
         [exec] 	at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)
         [exec] 	at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59)
         [exec] 	at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
         [exec] 	at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:59)
         [exec] 	at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:44)
         [exec] 	at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:46)
         [exec] 	at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:30)
         [exec] 	at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:52)
         [exec] 	at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:207)
         [exec] 	at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:402)
         [exec] 	at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:375)
         [exec] 	at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:37)
         [exec] 	at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:23)
         [exec] 	at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:368)
         [exec] 	at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:298)
         [exec] 	at org.gradle.launcher.Main.doAction(Main.java:36)
         [exec] 	at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
         [exec] 	at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:60)
         [exec] 	at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37)
         [exec] 	at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
         [exec] 	at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:31)
         [exec] 	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108)
         [exec] 	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
         [exec] Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'com.liferay.app.defaults.plugin' not found.
         [exec] 	at org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:128)
         [exec] 	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyType(DefaultObjectConfigurationAction.java:120)
         [exec] 	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:38)
         [exec] 	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:86)
         [exec] 	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:143)
         [exec] 	at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:46)
         [exec] 	at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.java:34)
         [exec] 	at org.gradle.api.Script$apply$0.callCurrent(Unknown Source)
         [exec] 	at build_7eak8u60z16662cagcj2v0z0b.run(/opt/dev/projects/github/liferay-portal-7.2.x-private/modules/private/apps/sharepoint/build.gradle:1)
         [exec] 	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:90)
         [exec] 	... 90 more
         [exec] 
         [exec] 
         [exec] * Get more help at https://help.gradle.org
         [exec] 
         [exec] BUILD FAILED in 3s
         [exec] 
    

      Attachments

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 weeks, 5 days ago

                Packages

                Version Package
                7.2.X
                7.2.1 CE GA2