As I understand it, one does not add the plugin more than once, but one
specifies more than one executions for the same plugin. Check the maven
documentation.
Thomas
> <!-- Adding torque plugin 2 for database access -->
> <plugin>
> <groupId>org.apache.db.torque</groupId>
> <artifactId>torque-maven-plugin</artifactId>
> <configuration>
> <targetDatabase>mysql</targetDatabase>
> <targetPackage></targetPackage>
> <driver>org.gjt.mm.mysql.Driver</driver>
> <url>jdbc:mysql://localhost:3306/bookstore</url>
> <user>root</user>
> <password>1234</password>
> </configuration>
> <executions>
> <execution>
> <phase>generate-sources</phase>
> <goals>
> <goal>om</goal>
> <goal>documentation</goal>
> </goals>
> </execution>
> </executions>
> <dependencies>
> <dependency>
> <artifactId>mysql-connector-java</artifactId>
> <groupId>mysql</groupId>
> <version>3.1.12</version>
> <type>jar</type>
> </dependency>
> </dependencies>
> </plugin>
> <!-- End of torque plugin 2 for database access -->
>
>
> <!-- Adding torque plugin for database access -->
> <plugin>
> <groupId>org.apache.db.torque</groupId>
> <artifactId>torque-maven-plugin</artifactId>
> <configuration>
> <targetDatabase>mysql</targetDatabase>
> <targetPackage></targetPackage>
> <driver>org.gjt.mm.mysql.Driver</driver>
>
<url>jdbc:mysql://192.168.41.116:3306/bookstore2</url>
> <user>root</user>
> <password>root</password>
> </configuration>
> <executions>
> <execution>
> <phase>generate-sources</phase>
> <goals>
> <goal>om</goal>
> <goal>documentation</goal>
> </goals>
> </execution>
> </executions>
> <dependencies>
> <dependency>
> <artifactId>mysql-connector-java</artifactId>
> <groupId>mysql</groupId>
> <version>3.1.12</version>
> <type>jar</type>
> </dependency>
> </dependencies>
> </plugin>
> <!-- End of torque plugin for database access -->
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]