Skip to content

Commit 531a73e

Browse files
pspatnyRichard HlavicaPavel Kostelnikkoszta5kikovalle
authored
New authorization with certificate, fixes, upgrade to Spring 6.2 (#76)
* new sharepoint online * handling large files wihtout java heap space * update version * ver 1.1.1-mdw, final fixes of new authentication with certificate for sharepoint online * MDW-6169 migration to SB3 and httpclient 5 * fix uploadBigFile * ver. 1.1.2-mdw * MDW-6169 version update --------- Co-authored-by: Richard Hlavica <richard.hlavica@onsemi.com> Co-authored-by: Pavel Kostelnik <Pavel.Kostelnik@onsemi.com> Co-authored-by: koszta5 <koszta@seznam.cz> Co-authored-by: Francisco Valle González <kikovalle@gmail.com>
1 parent c704922 commit 531a73e

7 files changed

Lines changed: 1002 additions & 180 deletions

File tree

pom.xml

Lines changed: 115 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>io.github.kikovalle.com.panxoloto.sharepoint.rest</groupId>
66
<artifactId>PLGSharepointRestAPI</artifactId>
7-
<version>1.1.0</version>
7+
<version>1.2.0</version>
88
<name>PLGSharepointRestAPI-java</name>
99
<description>Sharepoint Rest API v1 easy to use java library for sharepoint online.</description>
1010
<url>https://github.com/kikovalle/PLGSharepointRestAPI-java</url>
@@ -103,6 +103,59 @@
103103
</configuration>
104104
</plugin>
105105
<plugin>
106+
<groupId>org.sonatype.plugins</groupId>
107+
<artifactId>nexus-staging-maven-plugin</artifactId>
108+
<version>1.6.8</version>
109+
<extensions>true</extensions>
110+
<configuration>
111+
<serverId>ossrh</serverId>
112+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
113+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
114+
</configuration>
115+
</plugin>
116+
<plugin>
117+
<groupId>org.apache.maven.plugins</groupId>
118+
<artifactId>maven-source-plugin</artifactId>
119+
<version>2.2.1</version>
120+
<executions>
121+
<execution>
122+
<id>attach-sources</id>
123+
<goals>
124+
<goal>jar-no-fork</goal>
125+
</goals>
126+
</execution>
127+
</executions>
128+
</plugin>
129+
<plugin>
130+
<groupId>org.apache.maven.plugins</groupId>
131+
<artifactId>maven-javadoc-plugin</artifactId>
132+
<version>2.9.1</version>
133+
<executions>
134+
<execution>
135+
<id>attach-javadocs</id>
136+
<goals>
137+
<goal>jar</goal>
138+
</goals>
139+
</execution>
140+
</executions>
141+
<configuration>
142+
<additionalparam>-Xdoclint:none</additionalparam>
143+
</configuration>
144+
</plugin>
145+
146+
<plugin>
147+
<groupId>org.sonatype.plugins</groupId>
148+
<artifactId>nexus-staging-maven-plugin</artifactId>
149+
<version>1.6.8</version>
150+
<extensions>true</extensions>
151+
<configuration>
152+
<serverId>ossrh</serverId>
153+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
154+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
155+
</configuration>
156+
</plugin>
157+
<plugin>
158+
106159
<artifactId>maven-compiler-plugin</artifactId>
107160
<version>${maven-compiler-plugin.version}</version>
108161
<configuration>
@@ -112,14 +165,20 @@
112165
</plugins>
113166
</build>
114167

168+
<properties>
169+
<spring.framework>6.2.10</spring.framework>
170+
<apache.client.from.spring.version>5.5</apache.client.from.spring.version>
171+
<serializer.version>2.8.1</serializer.version>
172+
</properties>
115173

116174
<dependencies>
117-
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
118-
<dependency>
119-
<groupId>org.apache.httpcomponents.client5</groupId>
120-
<artifactId>httpclient5</artifactId>
121-
<version>${httpclient.version}</version>
122-
</dependency>
175+
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
176+
<dependency>
177+
<groupId>org.apache.httpcomponents.client5</groupId>
178+
<artifactId>httpclient5</artifactId>
179+
<version>${apache.client.from.spring.version}</version>
180+
</dependency>
181+
123182
<dependency>
124183
<groupId>org.springframework</groupId>
125184
<artifactId>spring-core</artifactId>
@@ -135,6 +194,11 @@
135194
<artifactId>spring-web</artifactId>
136195
<version>${spring.framework}</version>
137196
</dependency>
197+
<dependency>
198+
<groupId>org.codehaus.jackson</groupId>
199+
<artifactId>jackson-mapper-asl</artifactId>
200+
<version>1.9.4</version>
201+
</dependency>
138202
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
139203
<dependency>
140204
<groupId>commons-io</groupId>
@@ -191,25 +255,56 @@
191255
<version>${gson.version}</version>
192256
<scope>compile</scope>
193257
</dependency>
258+
259+
<dependency>
260+
<groupId>junit</groupId>
261+
<artifactId>junit</artifactId>
262+
<version>4.13.1</version>
263+
</dependency>
264+
<dependency>
265+
<groupId>org.testng</groupId>
266+
<artifactId>testng</artifactId>
267+
<version>7.3.0</version>
268+
<scope>test</scope>
269+
</dependency>
270+
<dependency>
271+
<groupId>com.google.code.gson</groupId>
272+
<artifactId>gson</artifactId>
273+
<version>2.3.1</version>
274+
<scope>compile</scope>
275+
</dependency>
276+
277+
<dependency>
278+
<groupId>com.azure</groupId>
279+
<artifactId>azure-core</artifactId>
280+
<version>1.55.4</version>
281+
</dependency>
194282
<dependency>
195-
<groupId>org.apache.httpcomponents</groupId>
196-
<artifactId>httpmime</artifactId>
197-
<version>${httpmime.version}</version>
283+
<groupId>com.azure</groupId>
284+
<artifactId>azure-identity</artifactId>
285+
<version>1.16.3</version>
198286
</dependency>
287+
199288
<dependency>
200-
<!-- JDK 11+ dependency -->
201-
<groupId>jakarta.xml.ws</groupId>
202-
<artifactId>jakarta.xml.ws-api</artifactId>
203-
<version>${jakarta.xml.ws.version}</version>
289+
<groupId>javax.xml.ws</groupId>
290+
<artifactId>jaxws-api</artifactId>
291+
<version>2.3.1</version> <!-- Check for the latest version -->
204292
</dependency>
293+
205294
<dependency>
206-
<!-- JDK 11+ dependency -->
207-
<groupId>com.sun.xml.ws</groupId>
208-
<artifactId>jaxws-rt</artifactId>
209-
<version>${jakarta.xml.ws.version}</version>
210-
<scope>runtime</scope>
295+
<groupId>org.apache.commons</groupId>
296+
<artifactId>commons-lang3</artifactId>
297+
<version>3.18.0</version>
211298
</dependency>
212-
</dependencies>
299+
300+
<dependency>
301+
<groupId>com.sun.xml.messaging.saaj</groupId>
302+
<artifactId>saaj-impl</artifactId>
303+
<version>1.5.3</version>
304+
<scope>test</scope>
305+
</dependency>
306+
307+
</dependencies>
213308

214309
<profiles>
215310
<profile>

0 commit comments

Comments
 (0)