Skip to content

Commit

Permalink
version 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Jun 28, 2024
1 parent 283efcd commit 1c93262
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 19 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# HtmlUnit Android package

Version 3.7.0 / October 31, 2023
Version 4.3.0 / June 28, 2024

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

Expand All @@ -24,7 +24,7 @@ Add to your `pom.xml`:
<dependency>
<groupId>org.htmlunit</groupId>
<artifactId>htmlunit3-android</artifactId>
<version>3.7.0</version>
<version>4.4.0</version>
</dependency>
```

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

```groovy
implementation group: 'org.htmlunit', name: 'htmlunit3-android', version: '3.7.0'
implementation group: 'org.htmlunit', name: 'htmlunit3-android', version: '4.3.0'
```

Overview
Expand All @@ -50,8 +50,10 @@ There are no changes done to the implementation.
Or to be more detailed, this packages includes
* HtmlUnit itself (org.htmlunit, netscape.javascript)
* htmlunit-core-js (org.htmlunit.corejs)
* htmlunit-csp (org.htmlunit.csp)
* htmlunit-cssparser (org.htmlunit.cssparser)
* htmlunit-xpath (org.htmlunit.xpath)
* htmlunit-websocket-client (org.htmlunit.websocket)
* neko-htmlunit (org.htmlunit.cyberneko)

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

**Android 7 (Nougat)**

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

Contributing
Expand Down Expand Up @@ -102,7 +104,7 @@ Add the snapshot repository and dependency to your `pom.xml`:
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit3-android</artifactId>
<version>3.8.0-SNAPSHOT</version>
<version>4.4.0-SNAPSHOT</version>
</dependency>
<!-- ... -->
</dependencies>
Expand Down
52 changes: 38 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.htmlunit</groupId>
<artifactId>htmlunit3-android</artifactId>
<version>3.7.0</version>
<version>4.3.0</version>

<name>HtmlUnitAndroid</name>
<organization>
Expand All @@ -26,7 +26,7 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>

<htmlunit.version>3.7.0</htmlunit.version>
<htmlunit.version>4.3.0</htmlunit.version>
<!-- overwrite the jetty version to be compatible with older android api's -->
<!-- see https://github.com/HtmlUnit/htmlunit-android/issues/5 -->
<jetty.version>9.4.19.v20190610</jetty.version>
Expand All @@ -46,12 +46,12 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.13.0</version>
<version>3.14.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.11.0</version>
<version>1.12.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.commons</groupId>
Expand All @@ -63,17 +63,17 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.15.0</version>
<version>2.16.1</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.2</version>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.10.0</version>
<version>3.11.1</version>
</dependency>
<dependency>
<groupId>org.brotli</groupId>
Expand All @@ -98,7 +98,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<version>3.4.2</version>
<configuration>
<archive>
<manifest>
Expand All @@ -111,7 +111,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.1</version>
<version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
Expand Down Expand Up @@ -169,7 +169,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<version>3.3.1</version>
<executions>
<execution>
<goals>
Expand All @@ -181,7 +181,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.0</version>
<version>3.7.0</version>
<configuration>
<quiet>true</quiet>
<!-- see https://stackoverflow.com/questions/69320220/maven-javadoc-listed-classes-twice -->
Expand All @@ -205,7 +205,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.4</version>
<executions>
<execution>
<phase>verify</phase>
Expand All @@ -215,6 +215,29 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<configuration>
<rules>
<requireMavenVersion>
<version>3.6.3</version>
</requireMavenVersion>
<requireJavaVersion>
<version>1.8.0</version>
</requireJavaVersion>
<dependencyConvergence />
</rules>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -254,13 +277,14 @@
</developers>
<contributors>
</contributors>

<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<id>s01-sonatype-nexus-snapshots</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<id>s01-sonatype-nexus-staging</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>
Expand Down

0 comments on commit 1c93262

Please # to comment.