Re: Trying out the ROP tutorial but stuck on Maven

From: Tarik Cherkaoui (cherta..mail.com)
Date: Tue Oct 23 2007 - 23:15:54 EDT

  • Next message: Andrus Adamchik: "Re: Trying out the ROP tutorial but stuck on Maven"

    FYI, here is the build error now thrown when attempting to start jetty with
    maven:

    C:\dev\quick-start-rop>mvn jetty:run-war
    [INFO] Scanning for projects...
    [INFO] Reactor build order:
    [INFO] Cayenne ROP Tutorial Parent
    [INFO] Cayenne ROP Client Tutorial
    [INFO] Cayenne ROP Server Tutorial
    [INFO] Searching repository for plugin with prefix: 'jetty'.
    [INFO] artifact org.apache.maven.plugins:maven-jetty-plugin: checking for
    update
    s from mergere
    [INFO] artifact org.apache.maven.plugins:maven-jetty-plugin: checking for
    update
    s from central
    [INFO]
    ------------------------------------------------------------------------
    [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]
    ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Total time: 1 second
    [INFO] Finished at: Tue Oct 23 22:59:45 EDT 2007
    [INFO] Final Memory: 2M/4M
    [INFO]
    ------------------------------------------------------------------------

    On 10/23/07, Tarik Cherkaoui <cherta..mail.com> wrote:
    >
    > Yeah, the maven-jetty-pluggin is no longer supported by maven based on
    > their deprecation warning:
    > http://maven.apache.org/maven-1.x/plugins/jetty/
    >
    > In the meantime, any suggestions for running the ROP tutorial for Cayenne
    > 3? Maybe just jar up the web app and stick on jetty independently?
    >
    > On 10/23/07, Tarik Cherkaoui <cherta..mail.com> wrote:
    > >
    > > Thanks! I was able to build. I'll carry on.
    > >
    > > On 10/23/07, Andrus Adamchik < andru..bjectstyle.org> wrote:
    > > >
    > > > Ari, thanks for fixing that.
    > > >
    > > > I didn't even realize that we require maven for 3.0 tutorial (hence
    > > > my earlier question). Cayenne 2.0 tutorial was using JettyLauncher (a
    > > > very nice, but obscure and currently unsupported plugin), so some
    > > > upgrade was needed. Maybe we try to do the tutorial based on Eclipse
    > > > WTP for the future releases? Not sure, just an idea.
    > > >
    > > > Andrus
    > > >
    > > >
    > > > On Oct 23, 2007, at 5:58 AM, Aristedes Maniatis wrote:
    > > > > On 23/10/2007, at 12:04 PM, Tarik Cherkaoui wrote:
    > > > >
    > > > >> Hi Andrus, building the tutorial, when running mvn eclipse:eclipse
    > > > >> on this
    > > > >> page:
    > > > >> http://cayenne.apache.org/doc/remote-object-persistence-tutorial-
    > > > >> setup.html
    > > > >
    > > > >
    > > > > Please update your svn and try again. It should work now.
    > > > >
    > > > > The mystery that is maven is known only to a few people and it is
    > > > > quite a balance between coding in precise versions of libraries
    > > > > (which then get dropped from the official repositories) or leaving
    > > > > them without specific versions and be subject to arbitrary changes
    > > > > which break things. Sigh.
    > > > >
    > > > > Ari Maniatis
    > > > >
    > > > >
    > > > >
    > > > >
    > > > > -------------------------->
    > > > > Aristedes Maniatis
    > > > > phone +61 2 9660 9700
    > > > > PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8
    > > > >
    > > > >
    > > > >
    > > >
    > > >
    > >
    >



    This archive was generated by hypermail 2.0.0 : Tue Oct 23 2007 - 23:16:37 EDT