On Jun 2, 2010, at 4:42 AM, Jonathan Gallimore wrote:

> Hi Jean-Louis,
> 
> You have to add something to your Maven settings.xml to add your ASF login
> details - I don't have this to hand at the moment, but I'll forward an
> example on later.

Here's what I have in my settings.xml

<settings>
  <servers>
    <server>
      <id>apache.snapshots.https</id>
      <username>dblevins</username>
      <password>xxxxxxxxxxxxxx</password>
    </server>
    <server>
      <id>apache.releases.https</id>
      <username>dblevins</username>
      <password>xxxxxxxxxxxxxx</password>
    </server>
  </servers>
</settings>

> Then you can just do a 'mvn -Dassemble deploy' and Maven will do the rest.

I tend to use 'mvn clean deploy -Dassemble -Dmaven.test.skip=true'

Usually I build first with tests, then deploy if the tests pass.  And 'clean' 
just to make sure there's no cruft.  I tend to do a clean on every build 
anyway.  Been burned too many times by statics that are compiled in....


-David

Reply via email to