It's not possible currently, but Milos has an issue in JIRA for it. Basically mixins for the POM.

On 4 Jul 07, at 7:10 AM 4 Jul 07, [EMAIL PROTECTED] wrote:

Hi,

I'trying to separately organise pom-profiles in external xml files and
include them at the point of need.
I've tried it in several ways. Like using xml enities (apparently entities
aren't supported in maven 2)  or something like:

<profile>
         <id>debug_local</id>
         <import uri="Profiles/local_debug.xml"/>
 </profile>

But none of my tryouts were successful.
I always got an error like which sounds logically to me if an invalid tag
is used within the pom.
org.apache.maven.reactor.MavenExecutionException: Parse error reading POM.
Reason: Unrecognised tag:
 'import' (position: START_TAG seen ...</id>\r\n\t\t \r\n <import
uri="Profiles/local_deb

Does somebody know how external xml files can be included in a pom file
with maven 2.

Regards,

Lorenz Graf

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------




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

Reply via email to