Uploading artifacts to maven
- On a clean machine follow the guide to setup GPG and the key.
- Download a version of jcodec you want to build
git clone https://github.com/jcodec/jcodec.git
- Go inside jcodec folder and execute:
mvn clean install
mvn javadoc:jar gpg:sign
mvn source:jar gpg:sign
- Go to https://oss.sonatype.org/
- Log in.
- Go to 'Staging Upload'.
- Under Upload Mode select 'Artifact(s) with a POM'.
- Select 'pom' from jcodec/target.
- In Select Artifacts to upload upload the artifacts ( press Add Artifact for each file).
- Fill in 'Description' field.
- Then press 'Upload artifacts'.
- Click on 'Staging Repositories' and find jcodec, it's normally the last one in the list.
- Verify that everything is fine and that the repository is closed ( no errors found ), check the 'Activity' tab. If something is wrong, fix it ( jcodecproject@gmail.com ).
- Click on 'Release' on the top of the page.
- Fill in the drescription, press the button, it should say 'Repository is released'.
jcodec-<version>.pom.asc
jcodec-<version>.jar
jcodec-<version>.jar.asc
jcodec-<version>-javadoc.jar
jcodec-<version>-javadoc.jar.asc
jcodec-<version>-sources.jar
jcodec-<version>-sources.jar.asc
- The changes will be synced to main maven within a day (most likely immediately).