Re: Maven 2 Modeler - Configuration

From: Kevin Menard (nirvdru..mail.com)
Date: Wed Aug 12 2009 - 12:25:36 EDT

  • Next message: Gilberto C. Andrade: "Re: Maven 2 Modeler - Configuration"

    Hi Gilberto,

    The plugin should launch the modeler with the current project open.
    If it's not, that is a regression; please file a JIRA.

    As for the second part, the modeler maintains its own classpath for
    searching for JARs. The maven plugin does not augment this. Even if
    the modeler were changed, maven's classworlds or whatever they are
    called complicate what constitutes a maven classpath.

    -- 
    Kevin
    

    On Thu, Aug 6, 2009 at 3:45 PM, Gilberto C. Andrade<gilbertoc..mail.com> wrote: > 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 : Wed Aug 12 2009 - 12:28:11 EDT