You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Karl Heinz Marbaise <kh...@gmx.de> on 2013/01/11 19:16:08 UTC

Maven Plugin - Configuration

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