Skip to content

Commit

Permalink
Merge pull request #204 from mohanvive/master
Browse files Browse the repository at this point in the history
Add dependencies as private package required for JDK 11
  • Loading branch information
niveathika authored Oct 7, 2019
2 parents f805815 + 9d234f2 commit 699c9f1
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

language: java

jdk:
- openjdk8

services:
- docker

Expand Down Expand Up @@ -42,3 +45,9 @@ cache:
bundler: true
directories:
- $HOME/.m2
- "$HOME/apache-maven-3.5.3"

before_install:
- export M2_HOME=$HOME/apache-maven-3.5.3
- if [ ! -d $M2_HOME/bin ]; then curl https://archive.apache.org/dist/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.tar.gz | tar zxf - -C $HOME; fi
- export PATH=$M2_HOME/bin:$PATH
21 changes: 21 additions & 0 deletions component/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,22 @@
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.carbon.datasources</groupId>
<artifactId>org.wso2.carbon.datasource.core</artifactId>
Expand Down Expand Up @@ -132,6 +148,11 @@
<Bundle-Name>${project.artifactId}</Bundle-Name>
<Private-Package>
!com.zaxxer.hikari.*,
com.sun.istack.*,
com.sun.xml.*,
javax.xml.*,
com.sun.activation.*,
javax.activation.*
</Private-Package>
<Export-Package>
!com.zaxxer.hikari.*,
Expand Down
7 changes: 7 additions & 0 deletions component/src/main/resources/META-INF/mailcap.default
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# This is a very simple 'mailcap' file
#
image/gif;; x-java-view=com.sun.activation.viewers.ImageViewer
image/jpeg;; x-java-view=com.sun.activation.viewers.ImageViewer
text/*;; x-java-view=com.sun.activation.viewers.TextViewer
text/*;; x-java-edit=com.sun.activation.viewers.TextEditor
25 changes: 25 additions & 0 deletions component/src/main/resources/META-INF/mimetypes.default
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#
# A simple, old format, mime.types file
#
text/html html htm HTML HTM
text/plain txt text TXT TEXT
image/gif gif GIF
image/ief ief
image/jpeg jpeg jpg jpe JPG
image/tiff tiff tif
image/png png PNG
image/x-xwindowdump xwd
application/postscript ai eps ps
application/rtf rtf
application/x-tex tex
application/x-texinfo texinfo texi
application/x-troff t tr roff
audio/basic au
audio/midi midi mid
audio/x-aifc aifc
audio/x-aiff aif aiff
audio/x-mpeg mpeg mpg
audio/x-wav wav
video/mpeg mpeg mpg mpe
video/quicktime qt mov
video/x-msvideo avi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.sun.xml.bind.v2.ContextFactory
24 changes: 22 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@
<sqljdbc4.version>4.0</sqljdbc4.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<io.fabric8.version>0.20.0</io.fabric8.version>
<jaxb.version>2.2.11</jaxb.version>
<javax.annotation.version>1.1.1</javax.annotation.version>
</properties>

<scm>
Expand Down Expand Up @@ -450,6 +452,26 @@
<artifactId>commons-io</artifactId>
<version>${commons.io.version}</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>${javax.annotation.version}</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon</groupId>
<artifactId>osgi-test-util</artifactId>
Expand Down Expand Up @@ -498,8 +520,6 @@
<version>${carbon.analytics.common.version}</version>
<type>zip</type>
</dependency>


<dependency>
<groupId>io.siddhi.distribution</groupId>
<artifactId>io.siddhi.distribution.msf4j.interceptor.common.feature</artifactId>
Expand Down

0 comments on commit 699c9f1

Please sign in to comment.