Re: Deploying Maven snapshots using WebDav

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Fri Nov 24 2006 - 05:04:56 EST

  • Next message: Andrus Adamchik: "Re: Deploying Maven snapshots using WebDav"

    Still getting a lot of
    24.11.2006 10:59:41 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:41 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:41 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:42 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:42 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:43 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:43 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:44 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:45 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:45 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:46 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:46 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:46 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:47 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:48 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:48 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:49 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:49 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:49 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:50 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse
    INFO: Redirect requested but followRedirects is disabled
    24.11.2006 10:59:50 org.apache.commons.httpclient.HttpMethodBase
    processRedirectResponse

    and then

    [INFO] Installing /Projekte/woproject/workspace/woproject/maven2/
    maven-wobootstrap-plugin/target/maven-wobootstrap-plugin-2.0-
    SNAPSHOT.jar to /Users/ulrich/.m2/repository/org/objectstyle/
    woproject/maven2/maven-wobootstrap-plugin/2.0-SNAPSHOT/maven-
    wobootstrap-plugin-2.0-SNAPSHOT.jar
    [INFO] [plugin:updateRegistry]
    [INFO] [deploy:deploy]
    [INFO] Retrieving previous build number from objectstyle
    [WARNING] repository metadata for: 'snapshot
    org.objectstyle.woproject.maven2:maven-wobootstrap-plugin:2.0-
    SNAPSHOT' could not be retrieved from repository: objectstyle due to
    an error: Authentication failed: Cannot connect. Reason:
    Session.connect: java.net.ConnectException: Operation timed out
    [INFO] Repository 'objectstyle' will be blacklisted
    [INFO]
    ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Error deploying artifact: Authentication failed: Cannot
    connect. Reason: Session.connect: java.net.ConnectException:
    Operation timed out

    I have no idea what's wrong.

    Uli
    Am 23.11.2006 um 17:04 schrieb Andrus Adamchik:

    > Looks like file permissions were messed up - I just changed the
    > ownership to be Apache user - it seems to work.
    >
    > Andrus
    >
    >
    > On Nov 23, 2006, at 3:48 AM, Ulrich Köster wrote:
    >
    >> Moin Andrus,
    >>
    >> I'am able to add files but I'm not allowed to modify files.
    >>
    >> [INFO] Error installing artifact's metadata: Error while deploying
    >> metadata: Authorization failed: Access denided to: https://
    >> www.objectstyle.org/maven2/org/objectstyle/woproject/maven2/maven2/
    >> maven-metadata.xml
    >>
    >>
    >> Uli
    >> Am 22.11.2006 um 16:00 schrieb Andrus Adamchik:
    >>
    >>>
    >>> On Nov 22, 2006, at 3:01 AM, Ulrich Köster wrote:
    >>>> Am 22.11.2006 um 01:09 schrieb Andrus Adamchik:
    >>>>
    >>>>> Just figured out the procedure to deploy Maven snapshots to
    >>>>> objectstyle.org using WebDAV and basic authentication with Jira
    >>>>> passwords. Initial setup is rather involved. After that it
    >>>>> should be ok. Here are the steps:
    >>>>>
    >>>>> 1. You must be a committer of WOProject to have the right
    >>>>> permissions
    >>>>
    >>>> Am I a committer? ;-) Can't access https://www.objectstyle.org/
    >>>> maven2/org/objectstyle/woproject/maven2/ with my jira username
    >>>> and password in safari nor finder.
    >>>
    >>> Fixed permissions. Try it again. Also let me know if you need to
    >>> deploy to any directories other than "maven2/org/objectstyle/
    >>> woproject".
    >>>
    >>>
    >>>>> 2. Download wagon-webdav libs and stick them in your Maven
    >>>>> installation ([1], follow Carlos Sanchez comments, not the text
    >>>>> of the article)
    >>>>
    >>>> <build>
    >>>> <extensions>
    >>>> <extension>
    >>>> <groupId>org.apache.maven.wagon</groupId>
    >>>> <artifactId>wagon-webdav</artifactId>
    >>>> <version>1.0-beta-1</version>
    >>>> </extension>
    >>>> </extensions>
    >>>> </build>
    >>>>
    >>>> within the pom.xml does the same.
    >>>
    >>> I tried something similar and it didn't work because of some of
    >>> the dependencies missing from the Maven repo. If it works for you
    >>> - great.
    >>>
    >>> Andrus
    >>>
    >>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Fri Nov 24 2006 - 05:05:04 EST