ManifoldCF
  1. ManifoldCF
  2. CONNECTORS-443

All patched jars must be built within ManifoldCF release process

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: ManifoldCF 0.5
    • Fix Version/s: ManifoldCF 0.5
    • Component/s: Build
    • Labels:
      None

      Description

      Downloading already-built patched jars is not permissible within Apache any longer. The fix to this will entail downloading source and patching that as part of the build process. In order for the build process to succeed on Windows, this currently means that the sources must be checked out using svn.

      The following changes will therefore need to occur under this ticket:

      (1) Apache binaries that are available as releases but which are not in Maven should be downloaded and unpacked from http://archive.apache.org/dist. This will include the solr and sharepoint mcf plugins.

      (2) The "download-dependencies" target must be split into "download-dependencies" and "download-proprietary-dependencies". The "download-dependencies" target will become responsible for downloading, patching, and building the non-proprietary packages. Packages that will need to be checked out by this target from svn include: httpclient 3.1, xerces 2.9.1, hsqldb 2.2.8, and jetty 6.1.26.

      (3) A new release artifact, XXX-dep.zip/tar.gz, will be produced which will contain all the dependency binaries.

      (4) Any non-sourceable dependency binaries we find must be replaced with a sourced equivalent, or code for it developed from scratch.

        Activity

        Hide
        Karl Wright added a comment -

        Another complication is other Apache Java projects which have patched jars in their dependencies. Apache Chemistry has a couple, I believe, and we have a CMIS connector.

        Show
        Karl Wright added a comment - Another complication is other Apache Java projects which have patched jars in their dependencies. Apache Chemistry has a couple, I believe, and we have a CMIS connector.
        Hide
        Karl Wright added a comment -

        For jetty, it looks like the right answer might be to move to Jetty 7, since that supposedly fixes the problems. Jetty 6 builds with Maven, which definitely would complicate the build even further by providing yet more build dependencies. Hopefully the port won't be too painful.

        Show
        Karl Wright added a comment - For jetty, it looks like the right answer might be to move to Jetty 7, since that supposedly fixes the problems. Jetty 6 builds with Maven, which definitely would complicate the build even further by providing yet more build dependencies. Hopefully the port won't be too painful.
        Show
        Piergiorgio Lucidi added a comment - Here the two dependencies URLs for the Alfresco Connector that are not in public Maven repositories: http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/3rd-party/lib/wss4j-1.5.4-patched.jar http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/3rd-party/lib/opensaml-1.0.1.jar
        Show
        Piergiorgio Lucidi added a comment - Here xmlsec: http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/3rd-party/lib/xmlsec-1.4.1.jar
        Show
        Piergiorgio Lucidi added a comment - Here the dependencies for H2 support: http://clojars.org/repo/it/sk/alfresco/h2-support/1.1/h2-support-1.1.jar http://repo2.maven.org/maven2/com/h2database/h2/1.3.158/h2-1.3.158.jar
        Show
        Piergiorgio Lucidi added a comment - Another here: http://repo1.maven.org/maven2/org/apache/felix/org.osgi.core/1.0.0/org.osgi.core-1.0.0.jar
        Hide
        Karl Wright added a comment -

        Thanks to Piergiorgio, all downloads are now taken care of, so no Apache resource other than Maven is accessed when grabbing the dependent jars. The one exception is building the patched xerces and commons-httpclient jars, which check these projects out from tags in order to build.

        If tests pass, we may be ready for the next 0.5-incubating RC.

        Show
        Karl Wright added a comment - Thanks to Piergiorgio, all downloads are now taken care of, so no Apache resource other than Maven is accessed when grabbing the dependent jars. The one exception is building the patched xerces and commons-httpclient jars, which check these projects out from tags in order to build. If tests pass, we may be ready for the next 0.5-incubating RC.
        Hide
        Karl Wright added a comment -

        r1308867 trunk

        Show
        Karl Wright added a comment - r1308867 trunk
        Hide
        Karl Wright added a comment -

        r1308871 (release branch)

        Show
        Karl Wright added a comment - r1308871 (release branch)

          People

          • Assignee:
            Karl Wright
            Reporter:
            Karl Wright
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development