Skip to content

Commit 1c93262

Browse files
committed
version 4.3.0
1 parent 283efcd commit 1c93262

File tree

2 files changed

+45
-19
lines changed

2 files changed

+45
-19
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# HtmlUnit Android package
22

3-
Version 3.7.0 / October 31, 2023
3+
Version 4.3.0 / June 28, 2024
44

55
:heart: [Sponsor](https://github.com/sponsors/rbri)
66

@@ -24,7 +24,7 @@ Add to your `pom.xml`:
2424
<dependency>
2525
<groupId>org.htmlunit</groupId>
2626
<artifactId>htmlunit3-android</artifactId>
27-
<version>3.7.0</version>
27+
<version>4.4.0</version>
2828
</dependency>
2929
```
3030

@@ -33,7 +33,7 @@ Add to your `pom.xml`:
3333
Add to your `build.gradle`:
3434

3535
```groovy
36-
implementation group: 'org.htmlunit', name: 'htmlunit3-android', version: '3.7.0'
36+
implementation group: 'org.htmlunit', name: 'htmlunit3-android', version: '4.3.0'
3737
```
3838

3939
Overview
@@ -50,8 +50,10 @@ There are no changes done to the implementation.
5050
Or to be more detailed, this packages includes
5151
* HtmlUnit itself (org.htmlunit, netscape.javascript)
5252
* htmlunit-core-js (org.htmlunit.corejs)
53+
* htmlunit-csp (org.htmlunit.csp)
5354
* htmlunit-cssparser (org.htmlunit.cssparser)
5455
* htmlunit-xpath (org.htmlunit.xpath)
56+
* htmlunit-websocket-client (org.htmlunit.websocket)
5557
* neko-htmlunit (org.htmlunit.cyberneko)
5658

5759
* httpcomponents/httpmime:jar (shaded org.apache.http -> org.htmlunit.org.apache.http)
@@ -64,7 +66,7 @@ All the other dependencies are still dependencies of this package (see the pom.x
6466

6567
**Android 7 (Nougat)**
6668

67-
Due to the lack of support for ThreadLocal#withInitial, the connons-io version 2.13.0 used by HtmlUnit does not work.
69+
Due to the lack of support for ThreadLocal#withInitial, the connons-io version 2.16.1 used by HtmlUnit does not work.
6870
Therefore, you need to override the dependency and use commons-io 2.5 instead.
6971

7072
Contributing
@@ -102,7 +104,7 @@ Add the snapshot repository and dependency to your `pom.xml`:
102104
<dependency>
103105
<groupId>net.sourceforge.htmlunit</groupId>
104106
<artifactId>htmlunit3-android</artifactId>
105-
<version>3.8.0-SNAPSHOT</version>
107+
<version>4.4.0-SNAPSHOT</version>
106108
</dependency>
107109
<!-- ... -->
108110
</dependencies>

pom.xml

Lines changed: 38 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.htmlunit</groupId>
77
<artifactId>htmlunit3-android</artifactId>
8-
<version>3.7.0</version>
8+
<version>4.3.0</version>
99

1010
<name>HtmlUnitAndroid</name>
1111
<organization>
@@ -26,7 +26,7 @@
2626
<maven.compiler.source>8</maven.compiler.source>
2727
<maven.compiler.target>8</maven.compiler.target>
2828

29-
<htmlunit.version>3.7.0</htmlunit.version>
29+
<htmlunit.version>4.3.0</htmlunit.version>
3030
<!-- overwrite the jetty version to be compatible with older android api's -->
3131
<!-- see https://github.com/HtmlUnit/htmlunit-android/issues/5 -->
3232
<jetty.version>9.4.19.v20190610</jetty.version>
@@ -46,12 +46,12 @@
4646
<dependency>
4747
<groupId>org.apache.commons</groupId>
4848
<artifactId>commons-lang3</artifactId>
49-
<version>3.13.0</version>
49+
<version>3.14.0</version>
5050
</dependency>
5151
<dependency>
5252
<groupId>org.apache.commons</groupId>
5353
<artifactId>commons-text</artifactId>
54-
<version>1.11.0</version>
54+
<version>1.12.0</version>
5555
<exclusions>
5656
<exclusion>
5757
<groupId>org.apache.commons</groupId>
@@ -63,17 +63,17 @@
6363
<dependency>
6464
<groupId>commons-io</groupId>
6565
<artifactId>commons-io</artifactId>
66-
<version>2.15.0</version>
66+
<version>2.16.1</version>
6767
</dependency>
6868
<dependency>
6969
<groupId>commons-logging</groupId>
7070
<artifactId>commons-logging</artifactId>
71-
<version>1.2</version>
71+
<version>1.3.2</version>
7272
</dependency>
7373
<dependency>
7474
<groupId>commons-net</groupId>
7575
<artifactId>commons-net</artifactId>
76-
<version>3.10.0</version>
76+
<version>3.11.1</version>
7777
</dependency>
7878
<dependency>
7979
<groupId>org.brotli</groupId>
@@ -98,7 +98,7 @@
9898
<plugin>
9999
<groupId>org.apache.maven.plugins</groupId>
100100
<artifactId>maven-jar-plugin</artifactId>
101-
<version>3.3.0</version>
101+
<version>3.4.2</version>
102102
<configuration>
103103
<archive>
104104
<manifest>
@@ -111,7 +111,7 @@
111111
<plugin>
112112
<groupId>org.apache.maven.plugins</groupId>
113113
<artifactId>maven-shade-plugin</artifactId>
114-
<version>3.5.1</version>
114+
<version>3.6.0</version>
115115
<executions>
116116
<execution>
117117
<phase>package</phase>
@@ -169,7 +169,7 @@
169169
<plugin>
170170
<groupId>org.apache.maven.plugins</groupId>
171171
<artifactId>maven-source-plugin</artifactId>
172-
<version>3.3.0</version>
172+
<version>3.3.1</version>
173173
<executions>
174174
<execution>
175175
<goals>
@@ -181,7 +181,7 @@
181181
<plugin>
182182
<groupId>org.apache.maven.plugins</groupId>
183183
<artifactId>maven-javadoc-plugin</artifactId>
184-
<version>3.6.0</version>
184+
<version>3.7.0</version>
185185
<configuration>
186186
<quiet>true</quiet>
187187
<!-- see https://stackoverflow.com/questions/69320220/maven-javadoc-listed-classes-twice -->
@@ -205,7 +205,7 @@
205205
<plugin>
206206
<groupId>org.apache.maven.plugins</groupId>
207207
<artifactId>maven-gpg-plugin</artifactId>
208-
<version>3.1.0</version>
208+
<version>3.2.4</version>
209209
<executions>
210210
<execution>
211211
<phase>verify</phase>
@@ -215,6 +215,29 @@
215215
</execution>
216216
</executions>
217217
</plugin>
218+
<plugin>
219+
<groupId>org.apache.maven.plugins</groupId>
220+
<artifactId>maven-enforcer-plugin</artifactId>
221+
<version>3.5.0</version>
222+
<executions>
223+
<execution>
224+
<configuration>
225+
<rules>
226+
<requireMavenVersion>
227+
<version>3.6.3</version>
228+
</requireMavenVersion>
229+
<requireJavaVersion>
230+
<version>1.8.0</version>
231+
</requireJavaVersion>
232+
<dependencyConvergence />
233+
</rules>
234+
</configuration>
235+
<goals>
236+
<goal>enforce</goal>
237+
</goals>
238+
</execution>
239+
</executions>
240+
</plugin>
218241
</plugins>
219242
</build>
220243

@@ -254,13 +277,14 @@
254277
</developers>
255278
<contributors>
256279
</contributors>
280+
257281
<distributionManagement>
258282
<snapshotRepository>
259-
<id>sonatype-nexus-snapshots</id>
283+
<id>s01-sonatype-nexus-snapshots</id>
260284
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
261285
</snapshotRepository>
262286
<repository>
263-
<id>sonatype-nexus-staging</id>
287+
<id>s01-sonatype-nexus-staging</id>
264288
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
265289
</repository>
266290
</distributionManagement>

0 commit comments

Comments
 (0)