Thanx Jerome, i was missing the snapshots server entry in settings.xml /Kaare
On 04/02/06, jerome lacoste <[EMAIL PROTECTED]> wrote: > On 2/4/06, Kaare Nilsen <[EMAIL PROTECTED]> wrote: > > Hi. > > > > I have a question. Yesterday I made some large changes to the aspectj > > plugin. Now i would like to know how to make sure that the plugin is > > available through the mojo snapshot repository. > > > > I have tried to do a mvn deploy, but did not have any success with it. > > > Hi Kaare. Takk for sist. > > I also had issues the first time :) > > > So if you guys who know how this is done, could take the time to tell > > me how i would appriciate it very much. > > > > Perhaps it would be a good idea to get it up on the mojo website as a howto > > ? > > I could write up that howto after the first successfull snapshot synch ;) > > You will probably want to deploy both your site and your artifact. > > mvn deploy > mvn site site:deploy > > For these operations to work. you will need to have: > - a correct pom > - a correct settings.xml (where credentials are stored) > > General information on setting this up, you will find at in the mini guides. > For the exact name of the servers you need in settings.xml you can > look at what maven does when deploying (mvn -X is your friend), or > look at the parent poms: > > https://svn.mojo.codehaus.org/mojo/trunk/mojo/mojo-sandbox/pom.xml > https://svn.mojo.codehaus.org/mojo/trunk/mojo/pom.xml > > Your plugin should inherit from them, so your settings.xml should > contain a <server> entry with the following ids: > > - mojo.website for site deployment on beaver > - snapshots for snapshot deployment > - repo1 for release deployment (if you plan to release a non snapshot > artifact). > > Better to put all of these. > > By default the url are scp://, so you will need to write your key > information in your settings.xml (and maybe the key path). I > personally prefer the scpexe protocl. (I started a thread on that in > this list a couple of days ago). > > Other links that might be of interest: > http://maven.apache.org/guides/mini/guide-deployment-security-settings.html > http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html > (that's for scpexe) > http://www.coffeebreaks.org/blogs/?p=37 (shameless self-plug) > > Hope that helped, > > Vi sees, > > Jerome >
