maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Larsson <thomas.lars...@klarna.com>
Subject Create multi-module archetype with one module only active in a profile
Date Fri, 29 Aug 2014 07:22:39 GMT
Hello all.

I am trying to create an archetype with two modules, one main and one itest.
I would like to have the itest module only active when run with a profile.

In my original project, the root pom includes a part like this:

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

However, in the archetype-metadata.xml reference there is nothing mentioned
about profiles.

Is there anyway accomplish this?

Best Regards
/Thomas

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message