The id param could be anything. It's just your name/id of the binding.

/Anders

On Mon, Nov 9, 2009 at 10:41, Ludwig Magnusson <lud...@itcatapult.com>wrote:

> Hi!
>
> I am using the torque plugin for maven and  I am trying to set
> goal-specific
> configurations but when I run the goal. Maven can't find the parameters.
>
>
>
> When I do a "global" configuration, everything works. Like this:
>
>
>
> <plugin>
>
>  <groupId>org.apache.torque</groupId>
>
>  <artifactId>torque-maven-plugin</artifactId>
>
>  <version>4.0-alpha1-SNAPSHOT</version>
>
>  <configuration>
>
>    //my configuration
>
>  </configuration>
>
> </plugin>
>
>
>
> But when I do a goal specific configuration the parameters aren't found.
> Like this:
>
>
>
> <plugin>
>
>  <groupId>org.apache.torque</groupId>
>
>  <artifactId>torque-maven-plugin</artifactId>
>
>  <version>4.0-alpha1-SNAPSHOT</version>
>
>  <executions>
>
>    <execution>
>
>      <id>my-id</id>
>
>      <goals>
>
>        <goal>om</goal>
>
>      </goals>
>
>      <configuration>
>
>        //my configuration
>
>      </configuration>
>
>    </execution>
>
>  </executions>
>
> </plugin>
>
>
>
> In both cases I run mvn torque:om from the command line.
>
> I'm not really sure about the id-parameter. I have read the documentation
> but I'm not sure I get it.
>
> /Ludwig
>
>

Reply via email to