# Publishing Codename One Libraries on Maven Central

DevFeed: [Publishing Codename One Libraries on Maven Central](<https://devfeed.tech/articles/publishing-codename-one-libraries-on-maven-central-19453.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/publishing-codename-one-libraries-on-maven-central/>)

Author: Steve Hannah

Published: 2021-04-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Maven Central](<https://devfeed.tech/topics/maven-central.md>), [Maven](<https://devfeed.tech/topics/maven.md>), [Publishing](<https://devfeed.tech/topics/publishing.md>), [Java](<https://devfeed.tech/topics/java.md>), [XML](<https://devfeed.tech/topics/xml.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [developers](<https://devfeed.tech/tags/developers.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [maven-central](<https://devfeed.tech/tags/maven-central.md>), [xml](<https://devfeed.tech/tags/xml.md>)

## AI overview

This tutorial explains how to publish Codename One libraries to Maven Central so app developers can use them through Maven dependency snippets. It describes the previous .cn1lib distribution process, the Maven-based alternative, continued Codename One Settings support, and manual installation for libraries not yet on Maven Central.

## Source excerpt

One of the cool things about Maven is Maven Central - the repository that contains every version of every Java library (that has been published on Maven central at least). Once your library is published, it can be used by other projects by copying and pasting an XML snippet into their pom.xml file. In this article, I describe how to publish your Codename One libraries to Maven central so that app developers can use them in their projects.