Skip to content

sentrysoftware/http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Java Client

GitHub release (with filter) Build GitHub top language License

The HTTP Java Client is a simple Java library that facilitates the execution of HTTP requests. Built on Java's HttpURLConnection, it requires no external dependencies and supports various HTTP methods (GET, POST, PUT, DELETE).

See Project Documentation and the Javadoc for more information on how to use this library in your code.

Build instructions

This is a simple Maven project. Build with:

mvn verify

Release instructions

The artifact is deployed to Sonatype's Maven Central.

The actual repository URL is https://s01.oss.sonatype.org/, with server Id ossrh and requires credentials to deploy artifacts manually.

But it is strongly recommended to only use GitHub Actions "Release to Maven Central" to perform a release:

  • Manually trigger the "Release" workflow
  • Specify the version being released and the next version number (SNAPSHOT)
  • Release the corresponding staging repository on Sonatype's Nexus server
  • Merge the PR that has been created to prepare the next version

License

License is Apache-2. Each source file must include the Apache-2 header (build will fail otherwise). To update source files with the proper header, simply execute the below command:

mvn license:update-file-header