On 9/27/07, Yan Huang <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is there a way to skip the "deploy" phase for a module? I tried "skip" tag
> for the "maven-deploy-plugin" and it seems not working ...

You've a parent pom with some child modules and do not want to 'deploy'
one of them during 'mvn deploy' executed from top right?
You may define a profile in parent pom containing modules that you do not want
to deploy and then activate this profile for 'all-but-not-deploy' builds.
Unfortunately (AFAIK) there's no way do disable profile using
a command line.

Something like this:

<modules>
  <module>api</module>
  <module>impl</module>
</modules>

<profiles>
  <profile>
    <id>it</id>
    <modules>
     <module>itest</module>
    </modules>
  </profile>
</profiles>


HTH,
Tomek

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to