Re: Trying out the ROP tutorial but stuck on Maven

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Oct 24 2007 - 04:37:26 EDT

  • Next message: Giulio Cesare Solaroli: "Issuing a debug SQL statement for a given transaction"

    Actually you do not have to use Maven at all. I suggest you use 2.0
    ROP tutorial based on JettyLauncher:

    http://cayenne.apache.org/doc20/remote-object-persistence-quick-
    start.html

    (and while we are working on testing and fixing the 3.0 tutorial, I
    guess we need to change the link on the web site to point to 2.0. It
    is too much to ask the new users to use unstable code and based on
    maven)

    > ----------------------------------------------------------------------
    > --
    > [ERROR] BUILD ERROR
    > [INFO]
    > ----------------------------------------------------------------------
    > --
    > [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin'
    > does not
    > exist o
    > r no valid version could be found
    > [INFO]

    Not sure if we put that in the docs somewhere (if we did, this is our
    mistake), but I just realized that you are using the wrong plugin.
    Here is the right Group and Artifact for the Jetty plugin:

             <groupId>org.mortbay.jetty</groupId>
             <artifactId>maven-jetty-plugin</artifactId>

    But as I said above, you are better off not using Maven at all.

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Oct 24 2007 - 04:38:00 EDT