Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Commit

Permalink
dependencies are updated to their latest/nearest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray committed Mar 18, 2021
1 parent 092cc2b commit 92ae97d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
import org.apache.chemistry.opencmis.commons.PropertyIds;
import org.apache.chemistry.opencmis.commons.data.ContentStream;
import org.apache.chemistry.opencmis.commons.enums.VersioningState;
import org.apache.pdfbox.exceptions.COSVisitorException;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDPage;
import org.apache.pdfbox.pdmodel.edit.PDPageContentStream;
import org.apache.pdfbox.pdmodel.PDPageContentStream;
import org.apache.pdfbox.pdmodel.font.PDFont;
import org.apache.pdfbox.pdmodel.font.PDType1Font;
import org.slf4j.Logger;
Expand Down Expand Up @@ -141,7 +140,7 @@ public String generateInvoice(List<SalesOrderItem> salesOrderItemList) {
out.close();
reportPath = cmisDocument.getId();

} catch (IOException | COSVisitorException | CMISConnectionException e) {
} catch (IOException | CMISConnectionException e) {
LOGGER.error(e.getMessage());
throw new ReportGenerationException(e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import java.net.ProtocolException;
import java.net.URL;

import org.apache.geronimo.mail.util.Base64;
import org.apache.cxf.common.util.Base64Utility;
import org.codehaus.jettison.json.JSONArray;
import org.codehaus.jettison.json.JSONException;
import org.codehaus.jettison.json.JSONObject;
Expand Down Expand Up @@ -37,7 +37,7 @@ public class RequestExecutionHelper {
private static final String user = "ret";
private static final String password = "123";
private static final String AUTHORIZATION = "Basic "
+ new String(Base64.encode((user + ":" + password).getBytes()));
+ new String(Base64Utility.encode((user + ":" + password).getBytes()));

/**
* Get JSONArray from a JSON response
Expand Down
24 changes: 12 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<local.server.host>localhost</local.server.host>
<local.server.proxy.settings>--http-proxy-host proxy --http-proxy-port 8080 --https-proxy-host proxy --https-proxy-port 8080</local.server.proxy.settings>
<browser.proxy.settings>-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy -Dhttps.proxyPort=8080</browser.proxy.settings>
<sap.cloud.sdk.version>3.20.3.1</sap.cloud.sdk.version>
<sap.cloud.sdk.version>3.125.9</sap.cloud.sdk.version>
<sap.cloud.sdk.path>${project.build.directory}/install</sap.cloud.sdk.path>
<!-- Property that holds the source path to the backend destinations -->
<destinations.path>${basedir}/../destinations</destinations.path>
Expand All @@ -62,18 +62,18 @@
<local.server.http.port>8080</local.server.http.port>
<local.server.https.port>8443</local.server.https.port>
<local.server.ajp.port>8009</local.server.ajp.port>
<olingo.version>2.0.7</olingo.version>
<slf4j.version>1.7.12</slf4j.version>
<junit.version>4.13.1</junit.version>
<derby.version>10.9.1.0</derby.version>
<eclipselink.version>2.6.4</eclipselink.version>
<javax.servlet-api.version>3.0.1</javax.servlet-api.version>
<httpclient.version>4.5.2</httpclient.version>
<httpcore.version>4.4.5</httpcore.version>
<cxf-rt-frontend-jaxrs.version>2.7.18</cxf-rt-frontend-jaxrs.version>
<olingo.version>2.0.11</olingo.version>
<slf4j.version>1.7.30</slf4j.version>
<junit.version>4.13.2</junit.version>
<derby.version>10.14.2.0</derby.version>
<eclipselink.version>2.7.8</eclipselink.version>
<javax.servlet-api.version>4.0.1</javax.servlet-api.version>
<httpclient.version>4.5.13</httpclient.version>
<httpcore.version>4.4.14</httpcore.version>
<cxf-rt-frontend-jaxrs.version>3.2.14</cxf-rt-frontend-jaxrs.version>
<cmis.version>1.0.0</cmis.version>
<pdfbox.version>1.8.11</pdfbox.version>
<jettison.version>1.3.2</jettison.version>
<pdfbox.version>2.0.22</pdfbox.version>
<jettison.version>1.4.1</jettison.version>
<maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
<maven-war-plugin.version>3.0.0</maven-war-plugin.version>
<maven-dependency-plugin.version>3.0.0</maven-dependency-plugin.version>
Expand Down

0 comments on commit 92ae97d

Please sign in to comment.