This page describes the process for uploading an artifact that is currently not available in any public Maven repository. If you are rebuilding the thirdparty jar, see Maven Deploying a Release. If you are uploading prebuilt binary and source jars, this is the correct page.
The first step is to check for the artifact in the common repositories. There are several sites to help you locate a specific artifact.
- The JBoss Community nexus instance ( https://repository.jboss.org/nexus )
- Maven Central Search (http://search.maven.org/)
- The Apache nexus instance ( https://repository.apache.org/index.html )
- The mvnrepository site ( http://mvnrepository.com/ )
- Jarvana ( http://www.jarvana.com/jarvana/ )
If the artifact is found in an existing repository, but this repository is not already proxied by the JBoss Community repository, create an jira issue ( https://jira.jboss.org/jira/browse/JBBUILD ) to request that this repository be added.
If the artifact is not found in any repository, you will need to manually upload the artifact to one of two repositories.
- JBoss Thirdparty Uploads - If the license allows redistribution of the artifact
- Internal QA Nexus Repository - If the license does not allow redistribution
It is really important to take care to not redefine an artifact already defined in maven central or another well know public repository. If your copy is different from the one usually used by Maven users it may create some problems very difficult to diagnoze.
First, create a basic POM for the artifact that contains the information listed in the page Maven Project Configuration Requirements.
To upload the artifact to one of these two repositories, simply log into Nexus ( https://repository.jboss.org/nexus ). Click on the appropriate repository, and then choose the "Artifact Upload" tab. This tab provides a form which can be used to upload the files. Select GAV Definition "From POM" and locate your newly created POM file.