Skip to content

Instantly share code, notes, and snippets.

buildscript {
dependencies {
classpath group: "com.liferay", name: "com.liferay.css.builder", version: "3.0.0"
}
repositories {
maven {
url "https://repository-cdn.liferay.com/nexus/content/groups/public"
}
}
> Task :apps:service-builder:jdbc:jdbc-service:testIntegration
2019-10-04 16:38:32.128 INFO [RMI TCP Connection(10)-10.50.0.99][BundleStartStopLogger:39] STARTED com.liferay.blade.samples.jdbcservicebuilder.api_1.0.0 [1121]
2019-10-04 16:38:56.639 WARN [RMI TCP Connection(11)-10.50.0.99][ModuleApplicationContext:185] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayDataSource' defined in URL [bundleentry://1122.fwk909278444/META-INF/spring/ext-spring.xml]: Cannot resolve reference to bean 'liferayDataSourceFactory' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayDataSourceFactory' defined in URL [bundleentry://1122.fwk909278444/META-INF/spring/ext-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
2019-10-04 16:38:56.645
lawrence$ mvn clean verify
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sampletheme 1.0.0
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/com/liferay/com.liferay.frontend.css.common/4.0.1/com.liferay.frontend.css.common-4.0.1.pom
Downloaded: https://repo.maven.apache.org/maven2/com/liferay/com.liferay.frontend.css.common/4.0.1/com.liferay.frontend.css.common-4.0.1.pom (2 KB at 2.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/com/liferay/com.liferay.frontend.theme.styled/4.0.14/com.liferay.frontend.theme.styled-4.0.14.pom
Downloaded: https://repo.maven.apache.org/maven2/com/liferay/com.liferay.frontend.theme.styled/4.0.14/com.liferay.frontend.theme.styled-4.0.14.pom (2 KB at 12.3 KB/sec)
/Users/lawrence/Desktop/tmp/themewsmaven/wars/sampletheme
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sampletheme 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ sampletheme ---
[INFO]
[INFO] --- com.liferay.portal.tools.bundle.support:3.4.3:clean (clean) @ sampletheme ---
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building mymaventheme 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mymaventheme ---
[INFO]
[INFO] --- com.liferay.portal.tools.theme.builder:1.1.7:build (default) @ mymaventheme ---
lawrence$ bnd diff demo-theme.war HDFC-Sample-Theme.war
REMOVED MANIFEST <manifest>
MAJOR RESOURCES <resources>
REMOVED RESOURCE WEB-INF/classes/resources-importer/sitemap.json
MAJOR RESOURCE WEB-INF/liferay-look-and-feel.xml
REMOVED SHA 09D08662D9A258A48DDA6D19CD851A60D4362C80
ADDED SHA 2A8D7D61B560ABCBD7CCBC223E9898A58B88944C
MAJOR RESOURCE WEB-INF/liferay-plugin-package.properties
ADDED SHA 25A7541A770D67A389E08608BB2C447008463DD0
REMOVED SHA 4B8251EAD3F2624BA2F7FEE371F2E37C0D902F5A
oot@cloud-10-0-12-83:~/Desktop/junit930196095698659618/gradle/foo> diff package-lock.json ../../maven/foo/package-lock.json
13,16c13,16
< "loader-utils": "^1.1.0",
< "source-map": "^0.5.6",
< "typescript": "~2.6.2",
< "webpack-sources": "^1.0.1"
---
> "loader-utils": "1.1.0",
> "source-map": "0.5.7",
> "typescript": "2.6.2",
[ERROR] npm info lifecycle glob@7.1.5~postinstall: glob@7.1.5
[ERROR] npm sill postinstall shelljs@0.7.8
[ERROR] npm info lifecycle shelljs@0.7.8~postinstall: shelljs@0.7.8
[ERROR] npm sill postinstall globby@6.1.0
[ERROR] npm info lifecycle globby@6.1.0~postinstall: globby@6.1.0
[ERROR] npm sill postinstall fileset@2.0.3
[ERROR] npm info lifecycle fileset@2.0.3~postinstall: fileset@2.0.3
[ERROR] npm sill postinstall globby@7.1.1
[ERROR] npm info lifecycle globby@7.1.1~postinstall: globby@7.1.1
[ERROR] npm sill postinstall globule@1.2.1
This file has been truncated, but you can view the full file.
GRADLERESULT=****Optional[03:45:10.937 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 20692). The daemon log file: /tmp/.gradle-test-kit-root/test-kit-daemon/4.10.2/daemon-20692.out.log
[exec] 03:45:10.938 [INFO] [org.gradle.launcher.daemon.server.exec.LogAndCheckHealth] Starting build in new daemon [memory: 954.7 MB]
[exec] 03:45:10.938 [INFO] [org.gradle.launcher.daemon.server.exec.ForwardClientInput] Closing daemon's stdin at end of input.
[exec] 03:45:10.939 [INFO] [org.gradle.launcher.daemon.server.exec.ForwardClientInput] The daemon will no longer process any standard input.
[exec] 03:45:10.942 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.
[exec] 03:45:10.942 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=66b168a8-1788-4f02-9f27-497d31df4b43,javaHome=
This file has been truncated, but you can view the full file.
MAVENRESULT=****Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T19:39:06Z)
[exec] Maven home: /tmp/maven7441032174429727810
[exec] Java version: 1.8.0_121, vendor: Oracle Corporation
[exec] Java home: /opt/java/jdk1.8.0_121-x64/jre
[exec] Default locale: en_US, platform encoding: UTF-8
[exec] OS name: "linux", version: "2.6.32-042stab123.9", arch: "amd64", family: "unix"
[exec] [DEBUG] Created new class realm maven.api
[exec] [DEBUG] Importing foreign packages into class realm maven.api
[exec] [DEBUG] Imported: javax.enterprise.inject.* < plexus.core
[exec] [DEBUG] Imported: javax.enterprise.util.* < plexus.core