Re: woenvironment pom breaks my build

From: Benoit Cantin (bcanti..amayo.com)
Date: Fri Aug 10 2007 - 06:28:22 EDT

  • Next message: Ulrich Köster: "Re: woenvironment pom breaks my build"

    Benoit Cantin wrote:

    > Hello all,
    >
    > I am currently using maven to create my projects. Those projects depend
    > on woproject, and so they also depend on woenvironment.
    >
    > The build fails with this message :
    >
    > Downloading:
    > http://mon.serveur/repository/org/objectstyle/woproject/ant/woenvironment/2.0.1/woenvironment-2.0.1.pom
    >
    > 1K downloaded
    > Downloading:
    > http://mon.serveur/repository/org/objectstyle/cayenne/cayenne/1.2M12/cayenne-1.2M12.pom
    >
    > 359b downloaded
    > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
    > '3db12474462844e4dafcc90b0254663aa81c5109'; remote =
    > '8adc3025fa4b70f694df9491d6175ad3e830fc49' - RETRYING
    > Downloading:
    > http://mon.serveur/repository/org/objectstyle/cayenne/cayenne/1.2M12/cayenne-1.2M12.pom
    >
    > 359b downloaded
    > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
    > '3db12474462844e4dafcc90b0254663aa81c5109'; remote =
    > '8adc3025fa4b70f694df9491d6175ad3e830fc49' - IGNORING
    > Downloading:
    > http://mon.serveur/repository/foundrylogic/vpp/vpp/2.2.1/vpp-2.2.1.pom
    > 261b downloaded
    > [INFO] artifact webobjects.apple:java-foundation: checking for updates
    > from org.objectstyle.woproject.maven2
    > [INFO] artifact webobjects.apple:java-foundation: checking for updates
    > from objectstyle
    > [INFO] artifact webobjects.apple:java-foundation: checking for updates
    > from central
    > [INFO]
    > ------------------------------------------------------------------------
    > [ERROR] BUILD ERROR
    > [INFO]
    > ------------------------------------------------------------------------
    > [INFO] Failed to resolve artifact.
    >
    > No versions are present in the repository for the artifact with a range
    > [5.2,)
    > webobjects.apple:java-foundation:jar:null
    >
    > from the specified remote repositories:
    > central (http://repo1.maven.org/maven2),
    > objectstyle (http://objectstyle.org/maven2),
    > org.objectstyle.woproject.maven2 (http://www.objectstyle.org/maven2/)
    >
    >
    > If I check my local repository, I can find that
    > webobjects.apple:java-foundation is present. Its version is 5.3.3.
    >
    > If I check woenvironment project's pom.xml, I can see :
    >
    > <dependency>
    > <groupId>webobjects.apple</groupId>
    > <artifactId>java-foundation</artifactId>
    > <version>[5.2,)</version>
    > </dependency>
    >
    > which seems to be the problem.
    >
    > Can someone help me to solve this issue ? Should the line be changed to
    > be <version>[5.3,)</version> ? Would it change sonething ? Thank you.

    I changed my woproject dependency from :

    <dependency>
            <groupId>org.objectstyle.woproject.maven2</groupId>
                   <artifactId>maven-wolifecycle-plugin</artifactId>
            <version>2.0.1</version>
            <extensions>true</extensions>
    </dependency>

    to :

    <dependency>
            <groupId>org.objectstyle.woproject.maven2</groupId>
                   <artifactId>maven-wolifecycle-plugin</artifactId>
            <version>2.0.2-SNAPSHOT</version>
            <extensions>true</extensions>
    </dependency>

    This solved my pb.
    Thank you ! :)

    -- 
    Benoit Cantin
    



    This archive was generated by hypermail 2.0.0 : Fri Aug 10 2007 - 06:29:20 EDT