Re: Maven

From: Borut Bolčin (cayenn..mail.si)
Date: Wed Mar 01 2006 - 06:35:49 EST

  • Next message: Andrus Adamchik: "Re: Maven"

    I already had installed Cayenne at my local M2 repository via my application's
    pom with M9 dependency. I tried to correct errors in cayenne.pom file based on
    http://maven.apache.org/maven-v4_0_0.xsd schema. As I am new to Maven2, I am not
    aware of what info is relevant to which build cycle. Anyway, I installed Cayenne
    in M2 repo as you suggested. My M2 build which depends on Cayenne 1.2-dev (as of
    now) works now.

    Any plans for cayenne.pom to be conformant with the above schema?

    Thanks again Andrus!

    Just FYI Cayenne will be integrated in my company's blog and news search web
    application in several countries in a month or two.

    -Borut

    On Wed, 1 Mar 2006 at 11:51:53, Andrus Adamchik wrote:

    > Cayenne is NOT a Maven project. M2 support is added with an Ant task.
    > So you can do something like this to install Cayenne in your local M2
    > repo:
    >
    > cd cayenne/cayenne-ant/ant/maven
    > ant install-all -Dm2.repo=/path/to/your/m2/repo
    >
    > Andrus
    >
    > On Mar 1, 2006, at 1:06 PM, Borut Bolčina wrote:
    >
    > > I checked out cayenne into my workspace, but can't find corrected
    > > pom.xml
    > > anywhere. Can you please tell me where this file is?
    > >
    > > -Borut
    > >
    > >
    > > On Tue, 28 Feb 2006 at 06:35:05, Andrus Adamchik wrote:
    > >
    > >> Borut,
    > >>
    > >> this problem is already fixed in CVS. Also, as you noticed we do not
    > >> always put the latest stuff to ibiblio (as this is a manual process
    > >> consuming extra time). This is going to improve in the future, as we
    > >> are evaluating m2 for internal use.
    > >>
    > >> Andrus
    > >>
    > >>
    > >> On Feb 28, 2006, at 2:31 AM, Borut Bolčina wrote:
    > >>
    > >>> I am getting
    > >>>
    > >>> 28.2.06 8:15:18 CET: [WARN] POM for
    > >>> 'org.objectstyle.cayenne:cayenne:pom:1.2M9'
    > >>> is invalid. It will be ignored for artifact resolution. Reason:
    > >>> Parse error
    > >>> reading POM. Reason: expected START_TAG or END_TAG not TEXT
    > >>> (position: TEXT seen
    > >>> ...</url>\n\t\t<logo>/images/os_logo.gif</.....3:30)
    > >>>
    > >>> when using maven 2 for dependency download from ibiblio. Notice
    > >>> there is also M9
    > >>> version instead of the latest one.
    > >>>
    > >>> -Borut
    > >
    > >
    > >
    > > ____________________
    > > http://www.email.si/
    > >
    > >

    ____________________
    http://www.email.si/



    This archive was generated by hypermail 2.0.0 : Wed Mar 01 2006 - 06:35:51 EST