Re: Cayenne configuration with Maven

From: Stephen Winnall (stev..innall.ch)
Date: Mon Sep 22 2008 - 12:41:20 EDT

  • Next message: Scott Anderson: "RE: Using Cayenne in GWT wthout DTOs"

    Thanks for that, Andrey. I hadn't realised that the namespace
    org.objectstyle.cayenne was a precursor of org.apache.cayenne and was
    mixing the two up...

    I then had some weird errors where the group id was getting mangled
    and Maven was getting horribly confused (see below), but I fixed that
    by deleting the repository and starting again from scratch. So I'm
    back ontrack again. Thanks

    Steve

    Weird errors (fixed by deleting repository and rebuilding from scratch):

    [exec:exec]
    log4j:WARN No appenders could be found for logger
    (org.apache.cayenne.conf.DefaultConfiguration).
    log4j:WARN Please initialize the log4j system properly.
    ------------------------------------------------------------------------
    BUILD SUCCESSFUL
    ------------------------------------------------------------------------
    Total time: 34 seconds
    Finished at: Mon Sep 22 15:31:11 CEST 2008
    Final Memory: 76M/197M
    ------------------------------------------------------------------------

    org.apache.maven.project.ProjectBuildingException: POM
    'cayenne.unpublished:cayenne-jdk1.5-unpublished' not found in
    repository: Unable to download the artifact from any repository

       cayenne.unpublished:cayenne-jdk1.5-unpublished:pom:3.0-SNAPSHOT

    org.apache.maven.project.ProjectBuildingException: POM 'ging:commons-
    logging' not found in repository: Unable to download the artifact from
    any repository

       ging:commons-logging:pom:1.1

    Caused by:
    org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
    to download the artifact from any repository

       ging:commons-logging:pom:1.1

    org.apache.maven.project.ProjectBuildingException: POM
    'lections:commons-collections' not found in repository: Unable to
    download the artifact from any repository

       lections:commons-collections:pom:3.2

    Caused by:
    org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
    to download the artifact from any repository

       lections:commons-collections:pom:3.2

    org.apache.maven.project.ProjectBuildingException: POM
    'tyle.ashwood:ashwood' not found in repository: Unable to download the
    artifact from any repository

       tyle.ashwood:ashwood:pom:2.0

    Caused by:
    org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
    to download the artifact from any repository

       tyle.ashwood:ashwood:pom:2.0



    This archive was generated by hypermail 2.0.0 : Mon Sep 22 2008 - 12:42:16 EDT