maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Heinz Marbaise <khmarba...@gmx.de>
Subject Maven Plugin - Configuration
Date Fri, 11 Jan 2013 18:16:08 GMT
Hi,
i'm working on a maven-plugin 
(https://github.com/khmarbaise/maven-iterator-invoker-plugin/blob/master/src/main/java/com/soebes/maven/plugins/IteratorInvokerMojo.java)

which gets a configuration snippet from the following (from an 
integration test):

<configuration>
   <plugin>
      <groupId>com.soebes.maven.plugins</groupId>
      <artifactId>maven-echo-plugin</artifactId>
      <version>0.1</version>
   </plugin>
   <goal>echo</goal>
   <configuration>
     <echos>
       <echo>This is a message: @item@</echo>
     </echos>
   </configuration>
</configuration>

like this:

   <configuration>
     <echos>
       <echo>This is a message: @item@</echo>
     </echos>
   </configuration>

and will do replaces some values in there (which is working via 
InterpolationFilterReader) and now i want to recreate a configuration 
object which can be used by a plugin execution call.

The problem is based on that i can't convert the resulting XML snippet
like the above back into a correct X3ppDom tree to inject into the 
calling of the plugin ?

Does some have a hint or idea ?

Thanks in advance.

Kind regards
Karl-Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl-Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 W├╝rselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message