Hi Ben,

On Tue, Mar 9, 2010 at 3:42 AM, bendg <[email protected]> wrote:
>
> Is there any way of maintaining a separate pom hierarchy for modules that I
> do not want in the main build?  ie. dev-build.pom.xml ?
>

Even the most casual examination of the POM reference [1] would reveal:

<project>
  <profiles>
    <profile>
      <id>dev</id>
      <modules>
        <module>mod1</module>
        <module>mod2</module>
      </modules>
    </profile>
  </profiles>
</project>

Where you can add additional modules via a profile. Enable the profile
with -Pdev on the command line.

[1] http://maven.apache.org/pom.html#Profiles

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to