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

Reply via email to