Skip to content

Commit

Permalink
version 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Mar 18, 2023
1 parent c383f59 commit 363de19
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ We will try to stay in sync with CSSParser regarding the features in the future.
### Project News
[HtmlUnit@Twitter][3]

### Latest release Version 1.14.0 / January 22, 2023
### Latest release Version 3.0.0 / March 19, 2023

For maven, you would add:

<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<groupId>org.htmlunit</groupId>
<artifactId>htmlunit-cssparser</artifactId>
<version>1.14.0</version>
<version>3.0.0</version>
</dependency>

### Latst CI build
Expand All @@ -34,16 +34,16 @@ The latest builds are available from our
If you use maven please add:

<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<groupId>org.htmlunit</groupId>
<artifactId>htmlunit-cssparser</artifactId>
<version>1.15.0-SNAPSHOT</version>
<version>3.1.0-SNAPSHOT</version>
</dependency>

You have to add the sonatype snapshot repository to your pom distributionManagement section also:

<repository>
<id>OSS Sonatype snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
Expand Down Expand Up @@ -100,19 +100,19 @@ This part is intended for committer who are packaging a release.
mvn -up clean deploy
```

* Go to [Sonatype staging repositories](https://oss.sonatype.org/index.html#stagingRepositories) and process the deploy
* Go to [Sonatype staging repositories](https://s01.oss.sonatype.org/index.html#stagingRepositories) and process the deploy
- select the repository and close it - wait until the close is processed
- release the package and wait until it is processed

* Create the version on Github
* login to Github and open project https://github.com/HtmlUnit/htmlunit-cssparser
* click Releases > Draft new release
* fill the tag and title field with the release number (e.g. 1.1.0)
* fill the tag and title field with the release number (e.g. 3.0.0)
* append
* htmlunit-cssparser-1.x.x.jar
* htmlunit-cssparser-1.x.x.jar.asc
* htmlunit-cssparser-1.x.x-javadoc.jar
* htmlunit-cssparser-1.x.x-javadoc.jar.asc
* htmlunit-cssparser-3.x.x.jar
* htmlunit-cssparser-3.x.x.jar.asc
* htmlunit-cssparser-3.x.x-javadoc.jar
* htmlunit-cssparser-3.x.x-javadoc.jar.asc
* and publish the release

* Update the version number in pom.xml to start next snapshot development
Expand Down
14 changes: 9 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.sourceforge.htmlunit</groupId>
<groupId>org.htmlunit</groupId>
<artifactId>htmlunit-cssparser</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0</version>
<name>HtmlUnit CSS Parser</name>
<organization>
<name>HtmlUnit</name>
<url>https://www.htmlunit.org</url>
</organization>
<packaging>jar</packaging>
<description>CSS parser for HtmlUnit.</description>
<url>https://github.com/HtmlUnit/htmlunit-cssparser</url>
Expand Down Expand Up @@ -359,11 +363,11 @@
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>
<repositories>
Expand All @@ -376,7 +380,7 @@
<enabled>false</enabled>
</releases>
<id>OSS Sonatype snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
</project>

0 comments on commit 363de19

Please sign in to comment.