So, I have a plugin, I need several executions of it, and each one
looks like what follows. It's getting long in a hurry. I could make
this a little more concise by using a map instead of a Properties in
my plugin, bu there's still a lot of it, and I'll have, oh, 16 of
these by the time I'm done. Is there any mechanism I'm missing (other
than deciding that driving this process via Maven is using a
dictionary to swat gnats)?
<profile>
<id>enModel</id>
<build>
<defaultGoal>compile</defaultGoal>
<plugins>
<plugin>
<groupId>com.basistech</groupId>
<artifactId>maven-rex2009task-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
<id>en</id>
<goals>
<goal>rex2009tasks</goal>
</goals>
<configuration>
<taskFile>src/main/tasks/en.xml</taskFile>
<taskBeanNames>
<taskBeanName>tasks</taskBeanName>
</taskBeanNames>
<properties>
<property>
<name>trainCorpus</name>
<value>${en.trainCorpus}</value>
</property>
<property>
<name>testCorpus</name>
<value>${en.testCorpus}</value>
</property>
</properties>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]