6 Replies Latest reply: Feb 26, 2013 9:29 AM by Greybird-Oracle RSS

    http://www.oracle.com/technetwork/products/berkeleydb/downloads/maven-08763

    931231
      Please remove or let this page

      [http://www.oracle.com/technetwork/products/berkeleydb/downloads/maven-087630.html]

      be removed then if maven repo is not any longer supported.

      Would be really pleasant to have them on Maven central uploaded anyway ..
        • 1. Re: http://www.oracle.com/technetwork/products/berkeleydb/downloads/maven-08763
          Greybird-Oracle
          Are you saying the Maven repository doesn't work at all, or that the directory is not browsable, i.e., it works except it cannot be browsed, which I understand is a fatal flaw for some?

          We have tried unsuccessfully to get the browsing issue resolved with IT. This isn't something we're able to fix ourselves, but feel free to blame me if you'd like. Even so I'm hesitant to just take down our Maven repository when people (who don't have the browsing issue) may be relying on it.

          --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
          • 2. Re: http://www.oracle.com/technetwork/products/berkeleydb/downloads/maven-08763
            931231
            Are you saying the Maven repository doesn't work at all, or that the directory is not browsable, i.e., it works except it cannot be browsed, which I understand is a fatal flaw for some?
            I tried to access with the browser, that did not work for me.

            Then I tried cURL (curl), which is not a browser, and it did not work either. I also tried curl with header "accept: text/plain", same result.

            From there I concluded that neither Ant nor Maven will work. True I have not tried them, cause .. what could be the difference between a HTTP call made by Maven and one from curl?
            • 3. Re: http://www.oracle.com/technetwork/products/berkeleydb/downloads/maven-08763
              Greybird-Oracle
              Did you try curl with a specific file, or only the directory? There is a known problem with permissions for browsing the directory, as you know. This problem doesn't come up normally because individual files are normally fetched by Maven, or at least that's what we think.

              --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
              • 4. Re: http://www.oracle.com/technetwork/products/berkeleydb/downloads/maven-08763
                931231
                Got it:
                wget http://download.oracle.com/maven/com/sleepycat/je/4.1.17/je-4.1.17.jar
                works!

                It got confused by HTTP 404 returned browsing http://download.oracle.com/maven
                $ curl -v http://download.oracle.com/maven
                About to connect() to download.oracle.com port 80 (#0)
                Trying 88.221.216.136...
                connected
                Connected to download.oracle.com (88.221.216.136) port 80 (#0)
                GET /maven HTTP/1.1
                User-Agent: curl/7.24.0 (x86_64-apple-darwin10.8.0) libcurl/7.24.0 OpenSSL/1.0.1 zlib/1.2.6 libidn/1.22
                Host: download.oracle.com
                Accept: */*
                 
                HTTP/1.1 404 Not Found
                • 5. Re: http://www.oracle.com/technetwork/products/berkeleydb/downloads/maven-08763
                  993442
                  The trick if you're using Nexus to proxy the Oracle Maven repository is to configure it thus :

                  - Download Remote Indexes = false
                  - Auto Blocking Enabled = false

                  This stops the 404 errors automatically disabling your proxy repository, and ensures that when Maven asks for a file, it always tries to fetch it from the remote repository if it's not cached locally.
                  • 6. Re: http://www.oracle.com/technetwork/products/berkeleydb/downloads/maven-08763
                    Greybird-Oracle
                    Wonderful! Thanks so much for posting this.
                    --mark