Skip to content

Commit

Permalink
4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Oct 20, 2024
1 parent 77c4b85 commit a8ba401
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 33 deletions.
51 changes: 24 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,40 @@ and "htmlunit-core-js" which has the test cases and packaging.

Notice that "org.mozilla.*" is renamed to "org.htmlunit.corejs.*"

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

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.htmlunit/htmlunit-core-js/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.htmlunit/htmlunit-core-js)

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

### Project News

**[Developer Blog][5]**

[HtmlUnit@mastodon][4] | [HtmlUnit@Twitter][3]

## Getting Started
## Start HtmlUnit - core-js Development

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
See deployment for notes on how to deploy the project on a live system.

### Prerequisites

You simply only need a local git client and gradle installation.
You simply only need a local maven installation.


### Building

1. Clone the two projects into sibling folders
2. Create eclipse project for "htmlunit-rhino-fork", with 'src' 'testsrc' and 'toolsrc' folder as source folders, while having build/classes as the output folder
3. In "htmlunit-rhino-fork", run:
- git remote add upstream https://github.com/mozilla/rhino
- git fetch upstream

With proxy:
- git config --global http.proxy http://proxyhost:port

To unset proxy:
- git config --global --unset http.proxy

Create a local clone of the repository and you are ready to start.

## Running the tests
Open a command line window from the root folder of the project and call

```
gradlew test
mvn compile
```

## Generating the JARs
### Running the tests

```
gradlew jar
mvn test
```

## Contributing
Expand Down Expand Up @@ -86,12 +78,16 @@ This part is intended for committer who are packaging a release.
* Create the version on Github
* login to Github and open project https://github.com/HtmlUnit/htmlunit-core-js
* click Releases > Draft new release
* fill the tag and title field with the release number (e.g. 3.0.0)
* fill the tag and title field with the release number (e.g. 4.0.0)
* append
* htmlunit-core-js-3.x.x.jar
* htmlunit-core-js-3.x.x.jar.asc
* htmlunit-core-js-3.x.x-javadoc.jar
* htmlunit-core-js-3.x.x-javadoc.jar.asc
* htmlunit-core-js-4.x.x.jar
* htmlunit-core-js-4.x.x.jar.asc
* htmlunit-core-js-4.x.x.pom
* htmlunit-core-js-4.x.x.pom.asc
* htmlunit-core-js-4.x.x-javadoc.jar
* htmlunit-core-js-4.x.x-javadoc.jar.asc
* htmlunit-core-js-4.x.x-sources.jar
* htmlunit-core-js-4.x.x-sources.jar.asc
* and publish the release

* Update the version number in pom.xml to start next snapshot development
Expand All @@ -111,4 +107,5 @@ This project is licensed under the Apache 2.0 License
Many thanks to all of you contributing to HtmlUnit/Rhino in the past.

[3]: https://twitter.com/HtmlUnit "https://twitter.com/HtmlUnit"
[4]: https://fosstodon.org/@HtmlUnit
[4]: https://fosstodon.org/@HtmlUnit
[5]: https://htmlunit.github.io/htmlunit-blog/
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.htmlunit</groupId>
<artifactId>htmlunit-core-js</artifactId>
<version>4.5.0-SNAPSHOT</version>
<version>4.5.0</version>
<name>HtmlUnit JavaScript Engine</name>
<organization>
<name>HtmlUnit</name>
Expand All @@ -20,7 +20,7 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>

<dependencycheck.version>10.0.3</dependencycheck.version>
<dependencycheck.version>10.0.4</dependencycheck.version>
</properties>
<build>
<resources>
Expand Down Expand Up @@ -379,7 +379,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.3.1</version>
<version>3.5.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -419,7 +419,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.8.0</version>
<version>3.10.1</version>
<configuration>
<quiet>true</quiet>
<doclint>none</doclint>
Expand All @@ -439,7 +439,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.4</version>
<version>3.2.7</version>
<executions>
<execution>
<phase>verify</phase>
Expand Down Expand Up @@ -499,7 +499,7 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.10.2</version>
<version>5.11.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit a8ba401

Please sign in to comment.