Spring Framework
  1. Spring Framework
  2. SPR-6575

Add Gradle task for building zip with dependencies

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: 3.0 GA
    • Fix Version/s: 3.2 M2
    • Component/s: [Build]
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Several classes of users would benefit from a -with-dependencies.zip download in addition to the regular spring-framework download:
      1. Those who do not yet use automated dependency management tool such as Maven or Ivy
      2. Those behind corporate firewalls that cannot access remote repositories such as Maven Central or the EBR

      Spring Web Flow, also using the "Spring Build" Ant+Ivy-based build system, originally published one .zip without dependencies, but added back a -with-dependencies.zip after user demand. To make it work, we added a few customizations to the package-top-level.xml fragment here: https://src.springframework.org/svn/spring-webflow/branches/spring-webflow-2.0-maintenance/build-spring-webflow/package-top-level.xml

        Issue Links

          Activity

          Hide
          Idle added a comment -

          Spring Framework 3.0.2.RELEASE was the last release where the -dependencies.zip was released.
          It would be of great help if you guys please bundle every framework with all the dependencies.
          Not everyone uses Maven [the HELL]. So, it will be quite helpful if you can bundle everything together when you release a framework.

          Please!!!!

          Show
          Idle added a comment - Spring Framework 3.0.2.RELEASE was the last release where the -dependencies.zip was released. It would be of great help if you guys please bundle every framework with all the dependencies. Not everyone uses Maven [the HELL] . So, it will be quite helpful if you can bundle everything together when you release a framework. Please!!!!
          Hide
          Chris Beams added a comment -

          We are currently looking into re-introducing the -with-dependencies zip for public download in future releases of the framework. In the meantime, please keep in mind that you can build the framework from a tag (e.g. spring-framework-3.0.6.RELEASE) and generate the -with-dependencies.zip locally.

          Instructions for building the framework can be found here: http://blog.springsource.com/2009/03/03/building-spring-3/

          In step 2 of the instructions, replace the ant command with ant clean-integration jar package. When the build completes, you'll find the -with-dependencies.zip under the build-spring-framework/target/artifacts directory.

          Our apologies for the inconvenience.

          Show
          Chris Beams added a comment - We are currently looking into re-introducing the -with-dependencies zip for public download in future releases of the framework. In the meantime, please keep in mind that you can build the framework from a tag (e.g. spring-framework-3.0.6.RELEASE ) and generate the -with-dependencies.zip locally. Instructions for building the framework can be found here: http://blog.springsource.com/2009/03/03/building-spring-3/ In step 2 of the instructions, replace the ant command with ant clean-integration jar package . When the build completes, you'll find the -with-dependencies.zip under the build-spring-framework/target/artifacts directory. Our apologies for the inconvenience.
          Hide
          Idle added a comment -

          Thanks Chris.
          Hope to see -with-dependencies zip real soon with the release of next version of framework.

          Also, thanks for the link for steps on building the framework from the source.

          Show
          Idle added a comment - Thanks Chris. Hope to see -with-dependencies zip real soon with the release of next version of framework. Also, thanks for the link for steps on building the framework from the source.
          Hide
          Chris Beams added a comment -
          commit e5bbec7e2b322f280cffc540d3419baefd29d187
          Author: Chris Beams <cbeams@vmware.com>
          Date:   Tue Jun 19 16:00:22 2012 +0200
          
              Add Gradle task for building zip with dependencies
              
              Some Spring Framework users and teams cannot use transitive dependency
              management tools like Maven, Gradle and Ivy. For them, a `distZip` task
              has been added to allow for creating a Spring Framework distribution
              from source that includes all optional and required runtime
              dependencies for all modules of the framework.
              
              This 'dist-with-deps' zip is not published to the SpringSource
              repository nor to the SpringSource community download page. It is
              strictly an optional task introduced as a convenience to the users
              mentioned above.
              
              Detailed instructions for building this zip locally have been added to
              the wiki and the README has been updated with a link to that new doc.
              
              Issue: SPR-6575
          
          $ git remote show springsource | grep Fetch
            Fetch URL: git@github.com:SpringSource/spring-framework.wiki.git
          
          $ git log -1
          commit 0e3ddf0487f7ea5c66bd54e3396e0828954052f4
          Author: Chris Beams <cbeams@vmware.com>
          Date:   Tue Jun 19 07:34:31 2012 -0700
          
              Add 'Building a distribution with dependencies' page
              
               - Add page with instructions for building 'dist-with-deps' zip
               - Link to that page from the 'Downloading Spring artifacts' page
               - Link to that page from the 'Home' page
              
              Issue: SPR-6575
          

          https://github.com/SpringSource/spring-framework/wiki/Building-a-distribution-with-dependencies

          Show
          Chris Beams added a comment - commit e5bbec7e2b322f280cffc540d3419baefd29d187 Author: Chris Beams <cbeams@vmware.com> Date: Tue Jun 19 16:00:22 2012 +0200 Add Gradle task for building zip with dependencies Some Spring Framework users and teams cannot use transitive dependency management tools like Maven, Gradle and Ivy. For them, a `distZip` task has been added to allow for creating a Spring Framework distribution from source that includes all optional and required runtime dependencies for all modules of the framework. This 'dist-with-deps' zip is not published to the SpringSource repository nor to the SpringSource community download page. It is strictly an optional task introduced as a convenience to the users mentioned above. Detailed instructions for building this zip locally have been added to the wiki and the README has been updated with a link to that new doc. Issue: SPR-6575 $ git remote show springsource | grep Fetch Fetch URL: git@github.com:SpringSource/spring-framework.wiki.git $ git log -1 commit 0e3ddf0487f7ea5c66bd54e3396e0828954052f4 Author: Chris Beams <cbeams@vmware.com> Date: Tue Jun 19 07:34:31 2012 -0700 Add 'Building a distribution with dependencies' page - Add page with instructions for building 'dist-with-deps' zip - Link to that page from the 'Downloading Spring artifacts' page - Link to that page from the 'Home' page Issue: SPR-6575 https://github.com/SpringSource/spring-framework/wiki/Building-a-distribution-with-dependencies
          Hide
          Chris Beams added a comment -

          Updated issue Summary, Type and Component to reflect actual implementation.

          Show
          Chris Beams added a comment - Updated issue Summary, Type and Component to reflect actual implementation.

            People

            • Assignee:
              Chris Beams
              Reporter:
              Keith Donald
              Last updater:
              Trevor Marshall
            • Votes:
              27 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 43 weeks, 3 days ago