Wendy Smoak
Sun, 02 Jul 2006 09:43:18 -0700
On 7/2/06, tm jee <[EMAIL PROTECTED]> wrote:
Thx for the info and cleaning up. I've got a question, if one alter some stuff in Struts2 archetype, how does one update the remote repository? Is it mvn install ? I think this will installed it to the remote repository, am i right?
'mvn install' installs it into your local repository, usually ~/.m2/repository. (I think... I've moved mine.) To deploy it to the snapshot repo, it's 'mvn deploy'. Maven will look at the version number, and pick either <distributionManagement>/<repository> or <distributionManagement>/<snapshotRepository> from the pom, depending on whether the version number ends in -SNAPSHOT. The distributionManagement section is inherited from the struts-master pom. In our case, both repository and snapshotRepository are the same: http://people.apache.org/maven-snapshot-repository . Before you deploy it, you might want to configure the 'apache.snapshots' server in your settings.xml, otherwise you'll get half a dozen pasword prompts as it uploads the various artifacts and metadata xml files. See 'suggested settings' here: http://wiki.apache.org/struts/StrutsMaintenanceMaven HTH, -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]