tags:

views:

23

answers:

0

I have not found a way to do this, but it seems like a feature that should exist. Is it possible to invoke a maven-2 plugin by inherited reference? For example I would like to be able to do something like the following (yes I know you can't do this):

<pluginManagment>
<plugin id="exec-inno-setup">
 <artifactId>maven-exec-plugin...
 <executions>...
  <configuration>...</configuration
 <executions>
</plugin>

And somewhere in my child POM, I want to do something like:

 <pluginRef id="exec-inno-setup">
  <configuration>
   <script>someFile.iss</script>
  </configuration>
 </pluginRef>

The question is: is there some way to do this, (or come close).