On 29 August 2014 09:22, Thomas Larsson <[email protected]> wrote:
> 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?
>

Are you able to create an archetype that creates a multi module project?

Can you create an archetype that contains a profile?

What happened when you combined the result of the two actions above?
(Given that they both worked?)

I am seldom working with archetypes so I haven't tried to create one
that creates a multi module project with a profile.

/Thomas

-- 
Thomas Sundberg
M. Sc. in Computer Science

Mobile: +46 70 767 33 15
Blog: http://thomassundberg.wordpress.com/
Twitter: @thomassundberg

Better software through faster feedback

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

Reply via email to