>>KM:You'll need a gpg.passphrase. Perhaps you deleted to keep it secret in >>your email... Not that it's causing the problem.
I setup this in settings.xml. >>KM:However, if it does occur, you need to clean it up. Otherwise, we start to >>pre-release artifacts. >>KM:Last night, I went into m2-ibiblio-rsync-repository (/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/openwebbeans on people.apache.org) and >>KM:deleted everything in org/apache/openwebbeans. Unfortunately, looks like the rsync chron job ran before I got to them... FYI, the rsync runs once a night (it >>KM:completed >>about 16 minutes after you sent your email). Pre-releasing artifacts is something we definitely want to avoid (not the first time, or the last time, that this >>KM:has happened, >>though). How to remove this repository from the maven settings? I think, this respository is set by the maven as a default. Otherwise I can do the same mistake unwillingly. Maybe the problem is in <distributionManagement> section. Currently it contains the site-url. To upload artifacts to my local staging repo, do I have to specify the <repository> in this section? In the mean time, we will look into details with Mark tonight who is more experience than me! Thanks; Gurkan ________________________________ From: Kevan Miller <[email protected]> To: [email protected] Sent: Friday, January 30, 2009 3:43:30 PM Subject: Re: M1-Release On Jan 29, 2009, at 8:02 PM, Gurkan Erdogdu wrote: > Hi; > > I have created a tag in the svn successfully with mvn release:prepare. But > when I want to the release:perform, maven did upload the artifacts into the > /www/people.apache.org/repo/m2-ibliblio-repo instead of my people@ folder. I > have set the release server url in my settings.xml but maven does not see > this. > > In my settings.xml > <profile> > <id>release</id> > > <deploy.altRepository>apache.releases::default::scp://people.apache.org/home/gerdogdu/public_html/staging-repo/${siteId}</deploy.altRepository> > </profile> You'll need a gpg.passphrase. Perhaps you deleted to keep it secret in your email... Not that it's causing the problem. > > > Then, I run the following command > > mvn release:perform -Prelease > > What is the problem? I'm not sure. I know from past (and personal) experience that properly configuring this is pretty tricky and copying files into the rsync-repository is easy to do... However, if it does occur, you need to clean it up. Otherwise, we start to pre-release artifacts. Last night, I went into m2-ibiblio-rsync-repository (/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/openwebbeans on people.apache.org) and deleted everything in org/apache/openwebbeans. Unfortunately, looks like the rsync chron job ran before I got to them... FYI, the rsync runs once a night (it completed about 16 minutes after you sent your email). Pre-releasing artifacts is something we definitely want to avoid (not the first time, or the last time, that this has happened, though). --kevan
