$ mvn -Dmaven.test.skip=true deploy -DaltDeploymentRepository=myserver::default::scp:// myserver.myhost.com/home/mikedd/temp22$ mvn -Dmaven.test.skip=true site:stage-deploy -DstagingSiteURL=scp://myserver.myhost.com:/home/mikedd/temp-site
What is the difference between site:deploy ad site:stage-deploy? Is it just a matter of which location it gets deployed to?
What's with the myserver::default:: syntax? Thanks, -Patrick On Jul 21, 2008, at 8:48 AM, Michael Dick wrote:
Hi,I gave this a quick test and it looks like it's working, here's exactly whatI ran : $ mvn -Dmaven.test.skip=true deploy -DaltDeploymentRepository=myserver::default::scp:// myserver.myhost.com/home/mikedd/temp22 $ mvn -Dmaven.test.skip=true site:stage-deploy -DstagingSiteURL=scp://myserver.myhost.com:/home/mikedd/temp-siteI think a similar set of arguments can be used for the release process.Here's what I propose, after the 1.0.3 release is approved I'll update the pom.xml files for 1.0.x and 1.2.x (1.1.x too if you approve). The changeswill be to update the default deploy location to beopenjpa.apache.org/builds/latest/${version} (or something similar). That way the automated build system will go ahead and publish to the latest directorywith no need for command line arguments. In the release profile we'll change the deployment location to bepeople.apache.org/${user}/public_html/. . . so that the release is publicly available. If we can't override the location via the profile I'll update theinstructions to pass it along as a command line arg.If this sounds acceptable to everyone else I'll go ahead and open anotherJIRA (633 has enough changes). -mikeOn Sat, Jul 19, 2008 at 11:53 AM, Michael Dick <[EMAIL PROTECTED]> wrote:Hi Patrick, If you're looking to upload a snapshot to say your home directory on people.apache.org you can just run $ mvn deploy I think we'd rather have the snapshots deployed to our builds directory though. Something like this should work (untested) $ mvn -DaltDeploymentRepository=people.apache.org::default:scp://people.apache.org/www/openjpa.apache.org/builds/${version}<http://people.apache.org/www/openjpa.apache.org/builds/$%7Bversion%7D >deploy You'll need to add a server tag for people.apache.org to your ${home}/.m2/settings.xml file. Something like this should work: <servers> <server> <id>people.apache.org</id> <username>[your apache id]</username> <passphrase>[secret passphrase]</passphrase> <filePermissions>664</filePermissions> <directoryPermissions>775</directoryPermissions> </server> </servers> The preceding examples will upload our maven artifacts. To deploy the site I *think* this would work $ mvn -DstagingSiteURL=scp:// people.apache.org/www/openjpa.apache.org/builds/${version}site:stage-deploy<http://people.apache.org/www/openjpa.apache.org/builds/$%7Bversion%7Dsite:stage-deploy >I'll take a closer look when time permits, this should be a starting point though. -mike On Fri, Jul 18, 2008 at 5:56 PM, Patrick Linskey <[EMAIL PROTECTED]> wrote:release process as possible. From what I can tell, mvn release:prepare is really oriented towards releases, not towards snapshots. Does anyone know ofHi, I'm trying to get the snapshot process working as closely to the newan equivalent snapshot target that we could use?-Patrick On Jul 16, 2008, at 7:06 AM, Kevin Sutter wrote:Sounds good, Patrick. So, in the mean time, should I make a temporaryrepository for the "latest" docs? Or, if you think this will getresolvedin the next day or two, then I could just wait. Thanks, KevinOn Tue, Jul 15, 2008 at 6:40 PM, Patrick Linskey <[EMAIL PROTECTED] >wrote:Hi,I think that this is because the machine that builds and uploads thesnapshots was offline for the last couple of months. I got thatpartiallyback up and running last week, and hope to get the snapshots uploadingagainlater this week. -Patrick On Jul 15, 2008, at 5:30 PM, Kevin Sutter wrote: Hi,I just noticed that our links for the "latest" OpenJPA documentationisout of date (http://cwiki.apache.org/openjpa/documentation.html). Iwouldexpect that our "latest" link should point at some version of documentationassociated with trunk. But, it's currently pointing at some versionbasedon the 1.1.0 build. I was going to go ahead and clean this up, but itlooks like I don't have proper authority to the /www/openjpa.apache.org/docs/latest directory. It looks like Patrick istheonly one with enough authority. This "latest" directory is currently linked to this: latest -> ../builds/1.1.0/apache-openjpa-1.1.0/docs/ So, I'm thinking a few things need to be done: o It would be great to post our current nightly drivers anddocumentationout on people.apache.org from our TC system. (BTW, it looks like our nightly drivers page is still pointing at the 1.1.0 SNAPSHOT builds,so wehave some clean up there as well.) I'm not sure on the status of Patrick'sTC system and whether we are able to get something like this setup ornot.o If we can post our nightly drivers and documentation, then we could change this "latest" directory link to our upload location for thedrivers.o If this type of clean up and setup of nightly drivers is going totakesome time, then at a minimum, it would be good to change thepermissionsonthis "latest" directory so that we could do some manual (pardon thepun)cleanup. BTW, all of this came about because I had pointed a user at our"latest"manual to find out how to turn on the Query SQL Cache support (knowingitwas part of the 1.2.0 trunk release). But, I soon discovered that our"latest" manual is quite out of date... :-) Thanks, Kevin-- Patrick Linskey 202 669 5907-- Patrick Linskey 202 669 5907
-- Patrick Linskey 202 669 5907
smime.p7s
Description: S/MIME cryptographic signature
