Infrastructure changes in Spring 2.1-m2

Ben Hale

With the release of Spring 2.1-m2, some significant changes have been made to the infrastructure of the Spring distribution. Please see the announcement and changelog for the complete list of changes.

Distribution

The distribution has been trimmed from 26 JARs in 2.1-m1 to 17 JARs in 2.1-m2. Take a look at the changelog for the list of files that changed, but from the commit message, here's what's new:

  • spring-context.jar includes JMX support and core remoting support (no spring-jmx and spring-remoting jars anymore)
  • spring-orm.jar combines all ORM support packages (replaces spring-hibernate, spring-ibatis, spring-jdo, spring-jpa, and spring-toplink jars)
  • spring-web.jar contains web-related remoting and ORM classes (for proper use in J2EE EAR deployment structures)
  • renamed spring-dao.jar to spring-tx.jar, also containing the JCA support now
  • renamed spring-support.jar to spring-context-support.jar
  • renamed spring-portlet.jar to spring-webmvc-portlet.jar
  • module jar files contain module-specific "spring.handlers" and "spring.schemas" files now

Maven Artifacts

I'm also pleased to announce that starting with the 2.1-m2 release, each Spring module will now have source jars in the Maven repository. The 2.1-m2 Maven artifacts are located in a private snapshot repository at this point, but the final release will be in the main Maven repo. If you would like to start using 2.1-m2 in your Maven project add a repository location to your POM that points at https://springframework.svn.sourceforge.net/svnroot/springframework/repos/repo-snapshots/. If you are using any Maven IDE support, please also download the source jars and open any issues with them at our JIRA.

 

10 responses


  1. [quote post="170"]I'm also pleased to announce that starting with the 2.1-m2 release, each Spring module will now have source jars in the Maven repository.[/quote]

    Thank you. :)


  2. [quote post="170"]Thank you. [/quote]
    My pleasure. I deal with the Spring Maven artifacts quite a bit, so I know your frustration.


  3. spring-webmvc-portlet.jar??
    That seems to be a bit of a strange name.
    I take it spring-webmvc.jar is still there? Why not have a spring-portletmvc.jar?


  4. Why don't just include the portlet classes in the spring-web.jar?


  5. [quote comment="25669"]Why don't just include the portlet classes in the spring-web.jar?[/quote]

    Well this one is easier for me to answer than Erwin's. We've always made a distinction between our web support and our webmvc support. The -web jar contains all of the basic web support only. So for example, the DispatcherServlet goes there because it's not just used by MVC but also by the HttpInvoker, Hessian, and Burlap remoting support. Since the portlet support is really just another dialect of MVC, it made sense for it to go into a separate JAR as well.

    I've sent an email off to Juergen to have him chime in on this comment thread, but he'll be on vacation for a little while longer. Stay tuned for some more clarification.


  6. I have to say I also prefer spring-portletmvc.jar to spring-webmvc-portlet.

    Colin


  7. "I'm also pleased to announce that starting with the 2.1-m2 release, each Spring module will now have source jars in the Maven repository."

    This is the single best thing you could have included in this release, I just found this when I was checking for any related info before contacting you guys about this very issue.

    Thanks.


  8. Hello, I'm a regular visitor to your site so i finally decided its time to sign your guestbook, so here i sign !


  9. Great Website! It helps me a lot with my tough homework. I'm not so hot in that class :-) Thanks for the hard work, keep it up!


  10. Nice site try it here.

Leave a Reply