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

Reply via email to