Maven 2 Modeler - Configuration

From: Gilberto C. Andrade (gilbertoc..mail.com)
Date: Thu Aug 06 2009 - 15:45:21 EDT

  • Next message: Andrey Razumovsky: "Re: Maven 2 Modeler - dependences problem"

    Hi,

    I need more information about this plugin. Until now, this [1] is only
    source I've could find.

    Can I setup my database on pom.xml file? For example:
    [code]
                            <plugin>
                                    <groupId>org.apache.cayenne.plugins</groupId>
                                    <artifactId>maven-cayenne-modeler-plugin</artifactId>
                                    <version>${cm.version}</version>
                                    <configuration>
                                            <driver>${jdbc.driverClassName}</driver>
                                            <username>${jdbc.username}</username>
                                            <password>${jdbc.password}</password>
                                            <url>${jdbc.url}</url>
                                            <src>src/test/resources/cayenne.xml</src>
                                    </configuration>
                                    <dependencies>
                                            <dependency>
                                                    <groupId>${jdbc.groupId}</groupId>
                                                    <artifactId>${jdbc.artifactId}</artifactId>
                                                    <version>${jdbc.version}</version>
                                            </dependency>
                                    </dependencies>
                            </plugin>
                    </plugins>
    [/code]

    How can I set it to:
    * open the cayenne.xml from the project it is running;
    * use maven classpath

    Gilberto

    [1]http://cayenne.apache.org/doc/maven2-plugins.html



    This archive was generated by hypermail 2.0.0 : Thu Aug 06 2009 - 15:45:56 EDT