Skip to content

erikvanoosten/version99

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version 99 Does Not Exist

Version99 service in Go.

Please see my blog to read why I created Version 99 Does Not Exist and its predecessor no-commons-logging.

Version 99 Does Not Exist emulates a Maven 2 repository and serves empty jars for any valid package that has version number 99.0-does-not-exist. It also generates poms and of course the appropriate hashes.

For example the following links will give an empty jar, its pom for commons-logging.

The original Ruby/Camping application was ported to Go by my colleague Frank Schroeders.

Build it natively as follows:

cd src
go mod init example/version99
go build -o version99

Build and run it in a modern Docker as follows:

docker build -t version99:latest .
docker run -it --rm -p 8080:8080 version99:latest

This service is running on http://version99.grons.nl. However, I encourage you to run this service yourself as bandwidth to my machine is limited.

Often you only need this sevice for just 1 package. In that case you can also download the jar and pom for that package and upload it to your local repository (that is, if you have one).

Update April 2019

It has been 6 years since the Go version of this service was developed and deployed. Luckily, commons-logging is rarely encountered anymore and this service is less and less necessary. Nonetheless, the service is still running and I have found no reason yet to change that :)

About

Version99 service in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 55.6%
  • Ruby 41.0%
  • Dockerfile 3.4%