This page describes how to upload the Isis snapshots into the Apache snapshot repo (hosted via Nexus).
The prerequisite is to raise a JIRA; this has been done.
According to the comment in above JIRA, the process is in the following:
However, that doc is inaccurate or at least misleading:
- we want to do a snapshot without necessarily doing a release (no dry run)
- the simple "mvn deploy" by itself to deploy the snapshot does not work for us
- I think this is because of how we use Maven profiles ourselves.
That said, the process isn't actually that difficult, though.
Prereqs
In order to be able to do a deploy, you may need to get login permission to the Nexus repository. Not sure of the process; I got the necessary karma by way of raising the above JIRA.
Update settings.xml
As described in http://www.apache.org/dev/publishing-maven-artifacts.html#dev-env
Deploy using the relevant profile:
Applib (trial run)
mvn -D modules=applib -D deploy=snapshot deploy
Just to make sure that the applib (and isis-parent) can be deployed
The "deploy=snapshot" actives a profile that brings in the "deploy" plugin for us.
Confirm that they are present by browsing to the Nexus repository manager https://repository.apache.org and doing a search for "isis".
Standard Modules
mvn -D modules=standard -D deploy=snapshot deploy
This will take a long time.
Release Module
mvn -D modules=release -D deploy=snapshot deploy
Support Modules (archetype)
mvn -D modules=support -D deploy=snapshot deploy
Automated Snapshot Releases
Still investigating... got this link from query on #asfinfra:
- https://issues.apache.org/jira/browse/INFRA-1896
- which references: http://www.apache.org/dev/publishing-maven-artifacts.html
Looks like projects (eg MyFaces CODI) deploy from Hudson CI, see eg CODI deploy job definition.