You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2020/02/07 10:24:15 UTC
[sling-org-apache-sling-scripting-jsp] branch bnd-sources-true
updated: Further experiments with inlining sources
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch bnd-sources-true
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-jsp.git
The following commit(s) were added to refs/heads/bnd-sources-true by this push:
new 2103b8b Further experiments with inlining sources
2103b8b is described below
commit 2103b8bdee4021d4b2789249db9302ff325ac592
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Feb 7 11:23:48 2020 +0100
Further experiments with inlining sources
Note that the commons-lang3 dependency is bogus, it's used just to inline
something.
---
bnd.bnd | 4 ++++
pom.xml | 13 +++++++++++++
2 files changed, 17 insertions(+)
diff --git a/bnd.bnd b/bnd.bnd
index 1ae1481..e37baeb 100644
--- a/bnd.bnd
+++ b/bnd.bnd
@@ -1,4 +1,8 @@
ScriptEngine-Name:${project.name}
ScriptEngine-Version:${project.version}
+Private-Package: org.apache.commons.lang3
-conditionalpackage: org.apache.el.*
-sources true
+
+src=src/main/java, ${repo; org.apache.commons:commons-lang3:jar:sources; 3.8.1}
+#-includeresource: OSGI-OPT/src=@${repo; repo; org.apache.commons:commons-lang3:jar:sources; 3.8.1}
diff --git a/pom.xml b/pom.xml
index 5955b19..6ee08c1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -105,6 +105,19 @@
<scope>provided</scope>
</dependency>
<dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ <version>3.8.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ <version>3.8.1</version>
+ <classifier>sources</classifier>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.scripting.api</artifactId>
<version>2.1.6</version>