This is something that I have tried using Maven 2.0.2 with no success
- say that I have a large project consisting of a number of jars, EJB
jars, wars and an EAR. I would like to maintain in one common place
the definitions of java-compiler settings, test settings, report
generation etc.

I have tried to create profiles in the parent pom with
activeByDefault=false and then activating them in the child poms - but
have not found any way to make this work.

I have tried to use XML-entities and embed the definitions as
XML-"fragments" in the child-poms, but for some reason the XML pull(?)
parser doesn't like entities.

I imagine I could create intermediary poms with pom-packaging, but
this would also result in artifacts - something I don't think I want.
Or is it possible to make this work without creating artifacts?

Is there a simple solution to this problem that I have overlooked?

-- jarl

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

Reply via email to