From 9a6189586be9363c29fd043d4988450e73028ec9 Mon Sep 17 00:00:00 2001 From: Andrea Di Giorgi Date: Thu, 25 Jan 2018 14:17:55 -0800 Subject: [PATCH] LPS-77441 Run "baseline" on portal artifacts via Gradle --- build-common-java.xml | 95 +-------------------------------- build-common.xml | 6 --- portal-impl/bnd.bnd | 1 - portal-kernel/bnd.bnd | 3 +- portal-test-integration/bnd.bnd | 3 +- portal-test/bnd.bnd | 3 +- util-bridges/bnd.bnd | 3 +- util-java/bnd.bnd | 3 +- util-slf4j/bnd.bnd | 3 +- util-taglib/bnd.bnd | 3 +- 10 files changed, 8 insertions(+), 115 deletions(-) diff --git a/build-common-java.xml b/build-common-java.xml index 37081207997a35..33fd0bdbb88ff9 100644 --- a/build-common-java.xml +++ b/build-common-java.xml @@ -114,106 +114,13 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - diff --git a/build-common.xml b/build-common.xml index 9e554a28d4db76..9b5d5db69a078f 100644 --- a/build-common.xml +++ b/build-common.xml @@ -1113,12 +1113,6 @@ information. value="Bundle-Version: ${artifact.version.major.minor}.${artifact.version.micro}" /> - - diff --git a/portal-impl/bnd.bnd b/portal-impl/bnd.bnd index 61da02d78999ec..518707951772c6 100644 --- a/portal-impl/bnd.bnd +++ b/portal-impl/bnd.bnd @@ -83,5 +83,4 @@ Include-Resource:\ @../tmp/lib-pre/com.liferay.portal.impl.message.boards.compat.jar,\ @../tmp/lib-pre/com.liferay.portal.impl.trash.compat.jar Private-Package: com.liferay.*.dependencies --baseline: *;file=${project.dir}/.bnd/ant-baseline-cache/com.liferay.portal.impl-2.27.0.jar -donotcopy: (log4j\.properties|logging\.properties|portal-.*\.properties|system-.*\.properties|\.touch) \ No newline at end of file diff --git a/portal-kernel/bnd.bnd b/portal-kernel/bnd.bnd index e60ef5cc9c0c57..c43c5f186a103a 100644 --- a/portal-kernel/bnd.bnd +++ b/portal-kernel/bnd.bnd @@ -15,5 +15,4 @@ Include-Resource:\ @../tmp/lib-pre/com.liferay.portal.kernel.memory.compat.jar,\ @../tmp/lib-pre/com.liferay.portal.kernel.message.boards.compat.jar,\ @../tmp/lib-pre/com.liferay.portal.kernel.nio.compat.jar,\ - @../tmp/lib-pre/com.liferay.portal.kernel.util.compat.jar --baseline: *;file=${project.dir}/.bnd/ant-baseline-cache/com.liferay.portal.kernel-2.61.0.jar \ No newline at end of file + @../tmp/lib-pre/com.liferay.portal.kernel.util.compat.jar \ No newline at end of file diff --git a/portal-test-integration/bnd.bnd b/portal-test-integration/bnd.bnd index 0d724e0fcd4f80..085e3e1768d75d 100644 --- a/portal-test-integration/bnd.bnd +++ b/portal-test-integration/bnd.bnd @@ -34,5 +34,4 @@ Include-Resource:\ @${project.dir}/../lib/portal/httpcore.jar,\ @${project.dir}/../lib/portal/httpmime.jar,\ @${project.dir}/../lib/portal/juniversalchardet.jar,\ - @${project.dir}/../lib/portal/poi.jar --baseline: *;file=${project.dir}/.bnd/ant-baseline-cache/com.liferay.portal.test.integration-4.0.0.jar \ No newline at end of file + @${project.dir}/../lib/portal/poi.jar \ No newline at end of file diff --git a/portal-test/bnd.bnd b/portal-test/bnd.bnd index 09fb207aea7930..074efdcc998db9 100644 --- a/portal-test/bnd.bnd +++ b/portal-test/bnd.bnd @@ -33,5 +33,4 @@ Include-Resource:\ @${project.dir}/../lib/development/hamcrest-core.jar,\ @${project.dir}/../lib/development/junit.jar,\ @${project.dir}/../lib/development/spring-test.jar,\ - @${project.dir}/../lib/portal/aspectj-rt.jar --baseline: *;file=${project.dir}/.bnd/ant-baseline-cache/com.liferay.portal.test-4.0.0.jar \ No newline at end of file + @${project.dir}/../lib/portal/aspectj-rt.jar \ No newline at end of file diff --git a/util-bridges/bnd.bnd b/util-bridges/bnd.bnd index 919500e3c09371..6755db94ea86b2 100644 --- a/util-bridges/bnd.bnd +++ b/util-bridges/bnd.bnd @@ -6,5 +6,4 @@ Import-Package:\ com.liferay.*,\ \ *;resolution:=optional -Include-Resource: classes --baseline: *;file=${project.dir}/.bnd/ant-baseline-cache/com.liferay.util.bridges-2.0.0.jar \ No newline at end of file +Include-Resource: classes \ No newline at end of file diff --git a/util-java/bnd.bnd b/util-java/bnd.bnd index d99e6122dfcaa2..9d1cb2436851bf 100644 --- a/util-java/bnd.bnd +++ b/util-java/bnd.bnd @@ -8,5 +8,4 @@ Import-Package:\ *;resolution:=optional Include-Resource:\ classes,\ - @../tmp/lib-pre/com.liferay.util.java.compat.jar --baseline: *;file=${project.dir}/.bnd/ant-baseline-cache/com.liferay.util.java-2.5.0.jar \ No newline at end of file + @../tmp/lib-pre/com.liferay.util.java.compat.jar \ No newline at end of file diff --git a/util-slf4j/bnd.bnd b/util-slf4j/bnd.bnd index d580948ee674da..2f672d574ae84c 100644 --- a/util-slf4j/bnd.bnd +++ b/util-slf4j/bnd.bnd @@ -6,5 +6,4 @@ Import-Package:\ com.liferay.*,\ \ *;resolution:=optional -Include-Resource: classes --baseline: *;file=${project.dir}/.bnd/ant-baseline-cache/com.liferay.util.slf4j-2.0.0.jar \ No newline at end of file +Include-Resource: classes \ No newline at end of file diff --git a/util-taglib/bnd.bnd b/util-taglib/bnd.bnd index 3aa9f73cffd8c3..93fa08e614beec 100644 --- a/util-taglib/bnd.bnd +++ b/util-taglib/bnd.bnd @@ -71,5 +71,4 @@ Provide-Capability:\ osgi.extender;\ osgi.extender="jsp.taglib";\ uri="http://liferay.com/tld/util";\ - version:Version="${Bundle-Version}" --baseline: *;file=${project.dir}/.bnd/ant-baseline-cache/com.liferay.util.taglib-2.10.0.jar \ No newline at end of file + version:Version="${Bundle-Version}" \ No newline at end of file