Re: Why Maven?

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Tue Nov 07 2006 - 09:52:25 EST

  • Next message: Anjo Krank: "Re: Why Maven?"

    Moin Anjo,

    Am 07.11.2006 um 15:31 schrieb Anjo Krank:

    > OK, so doing
    >
    > mvn install:install-file -DgroupId=webobjects.apple -
    > DartifactId=java-foundation -Dversion=5.3.2 -Dpackaging=jar -
    > Dfile=/Library/WebObjects/lib/JavaFoundation.jar
    >
    > works. Now one would need to know that the jars in question are the
    > ones in /Library/WebObjects/lib/JavaFoundation.jar, not the ones
    > in /System/Library/Frameworks/JavaFoundation.framework/Resources/
    > Java :)
    >
    > Cheers, Anjo
    >
    > BTW: is there a reason why the docs are made with pictures and not
    > with text? You can get monospaced text in confluence with {{foo}}...

    I wasn't aware of it.

    Uli
    >
    > Am 07.11.2006 um 15:20 schrieb Anjo Krank:
    >
    >> NOTE: I haven't the first idea what this this all about, but
    >> anyway: so I just updated my svn follow the stuff here
    >>
    >>> http://www.objectstyle.org/confluence/display/WOL/Guided+Maven
    >>> +Example
    >>
    >> (Installed maven, verified that "mvn --version" works, "cd
    >> woproject; svn up"'ed)
    >>
    >> used "mvn" and now I get this:
    >>
    >> ricardo:~/extras/woproject ak$ mvn
    >> ...
    >> Downloading: http://objectstyle.org/maven2/webobjects/apple/java-
    >> foundation/5.3.2/java-foundation-5.3.2.pom
    >> [WARNING] Unable to get resource from repository objectstyle
    >> (http://objectstyle.org/maven2)
    >> Downloading: http://repo1.maven.org/maven2/webobjects/apple/java-
    >> foundation/5.3.2/java-foundation-5.3.2.pom
    >> [WARNING] Unable to get resource from repository central (http://
    >> repo1.maven.org/maven2)
    >> Downloading: http://objectstyle.org/maven2/webobjects/apple/java-
    >> foundation/5.3.2/java-foundation-5.3.2.jar
    >> [WARNING] Unable to get resource from repository objectstyle
    >> (http://objectstyle.org/maven2)
    >> Downloading: http://repo1.maven.org/maven2/webobjects/apple/java-
    >> foundation/5.3.2/java-foundation-5.3.2.jar
    >> [WARNING] Unable to get resource from repository central (http://
    >> repo1.maven.org/maven2)
    >>
    >> Now being not only cute but also cunning, I'd try to bootstrap:
    >>
    >> ricardo:~/extras/woproject ak$ mvn wobootstrap:bootstrap
    >> ..
    >> [ERROR] BUILD ERROR
    >> [INFO]
    >> ---------------------------------------------------------------------
    >> ---
    >> [INFO] The plugin 'org.apache.maven.plugins:maven-wobootstrap-
    >> plugin' does not exist or no valid version could be found
    >>
    >> but of course this doesn't work as we need the built woproject
    >> first, which I can't build because the wo jars are not in the
    >> repository...help!
    >>
    >> Cheers, Anjo
    >>
    >> Am 07.11.2006 um 14:01 schrieb Ulrich Köster:
    >>
    >>> Moin Dov,
    >>>
    >>> the main differences is that ant is based on build files and
    >>> maven is based on property files. (build.xml vs pom.xml)
    >>>
    >>> You could try the brand new guide: http://www.objectstyle.org/
    >>> confluence/display/WOL/Guided+Maven+Example
    >>>
    >>> Uli
    >>>
    >>>
    >>>
    >>> Am 07.11.2006 um 13:47 schrieb Dov Rosenberg:
    >>>
    >>>> I have been following the Maven discussions for a bit but I
    >>>> don’t understand what the benefit of Maven is? How is it
    >>>> different than ANT? I am always looking for ways to improve the
    >>>> build processes of our products – maybe Maven can help us as well.
    >>>>
    >>>>
    >>>> --
    >>>> Dov Rosenberg
    >>>> Conviveon/Inquira
    >>>> Knowledge Management Experts
    >>>> http://www.conviveon.com
    >>>> http://www.inquira.com
    >>>>
    >>>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Tue Nov 07 2006 - 09:52:28 EST