Apache Maven integration for Zero Install
Failed to load latest commit information.
pom2feed-core Improved POMs, incremented version number Feb 17, 2016
pom2feed-maven-plugin Updated zeroinstall-model, use new OpenPgp interface Feb 17, 2016
pom2feed-parent Updated zeroinstall-model, use new OpenPgp interface Feb 17, 2016
pom2feed-service Updated zeroinstall-model, use new OpenPgp interface Feb 17, 2016
.gitignore Tweaked .gitignore Sep 27, 2014


#Introduction pom2feed connects the world of Zero Install with Apache Maven. With this project Zero Install gets access to the huge number of Java projects available at Maven Central. This is made possible by two components: the pom2feed-service and the pom2feed-maven-plugin.

#pom2feed-service The pom2feed-service is a Java Servlet which transparently maps the POMs from Maven Central to Zero Install feeds.

You can use Java system properties to configure the service:

  • pom2feed-service.serviceURL (MUST be set to URL where service is hosted)
  • pom2feed-service.mavenRepository (MAY be set to alternative Maven repository)
  • pom2feed-service.gnuPGKey (MUST be set to ID of GnuPG signing key)

An instance of the pom2feed-service is hosted at http://maven.0install.net/. Have a look at the (automatically generated) Google Guava feed for an example.

#pom2feed-maven-plugin To comfortably create Zero Install feeds for your own Maven project you can use the pom2feed-maven-plugin. This will convert your Maven dependencies to Zero Install dependencies (pointing to the pom2feed-service) so you can deploy your application without having to include or host the dependencies yourself. To do this you have two options: include pom2feed-maven-plugin in your POM or invoke it from the command-line.

##Include it in your POM Add the following to your project's POM to automatically generate a feed at Maven's package goal.


After executing mvn package at your Maven project root you can find the generated feed in the target folder.

##Generate feed from the command-line If you don't want to include the plugin in your POM, or you just want to try it out once, you can invoke the plugin from the command-line. Just run mvn net.zeroinstall.pom and the feed will be created in the target folder.

An example of a feed generated for the project Ldif Sort can be found here.