浏览 5197 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-10-26
昨天突发奇想,在网上下载了Spring-2.5的源码下来,很失望,可能它比Maven早出世很久吧,它并不是用Maven建的项目,简单看了下,是用Eclipse开发的,与俺用的Netbeans又是不同,烦,于是发狠自己要把Spring的源码接到Maven下,方便自己查看(我共享到到本文附件里了,有需要的人可以下载下来看看)。
刚开始的时候很傻很天真,居然想要自己一个一个找出Spring所有的Dependency,找了十几个,开始意识到这不是办法了,因为实在太多,没想到Spring居然要依赖这么多的包,看来功能强大也与用的包多有关啊!
后来想了想,应该可以在网上找到它所有的依赖的,没多久就找到了,就在mvn-repository.com找到了,全部都在,版本号,GroupId, ArtifactId,所有都有,就差一个Scope,不过,这Scope应该可以猜出来,因为除了你用Spring必须加载的那些包(这些在网上很多Spring教程都有提到),其它的的包的Scope应该都是Provide,暂且这么认为吧。
下面让我们来看看集成的Pom的Dependency列表吧,希望对某些人有用,也希望研究过Spring源码的高手们可以出来指点指点,评论评论,让咱这些新手见识下 <dependencies> <dependency> <groupId>aopalliance</groupId> <artifactId>aopalliance</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>asm</groupId> <artifactId>asm</artifactId> <version>2.2.3</version> </dependency> <dependency> <groupId>asm</groupId> <artifactId>asm-commons</artifactId> <version>2.2.3</version> </dependency> <dependency> <groupId>asm</groupId> <artifactId>asm-util</artifactId> <version>2.2.3</version> </dependency> <dependency> <groupId>backport-util-concurrent</groupId> <artifactId>backport-util-concurrent</artifactId> <version>3.0</version> </dependency> <dependency> <groupId>c3p0</groupId> <artifactId>c3p0</artifactId> <version>0.9.1.2</version> </dependency> <dependency> <groupId>cglib</groupId> <artifactId>cglib-nodep</artifactId> <version>2.1_3</version> </dependency> <dependency> <groupId>com.bea.wlplatform</groupId> <artifactId>commonj-twm</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>com.experlog</groupId> <artifactId>xapool</artifactId> <version>1.5.0</version> </dependency> <dependency> <groupId>com.jamonapi</groupId> <artifactId>jamon</artifactId> <version>2.4</version> </dependency> <dependency> <groupId>com.lowagie</groupId> <artifactId>itext</artifactId> <version>2.0.7</version> </dependency> <dependency> <groupId>com.oracle.toplink</groupId> <artifactId>toplink</artifactId> <version>10.1.3</version> </dependency> <dependency> <groupId>com.oracle</groupId> <artifactId>oc4j</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>com.oracle</groupId> <artifactId>toplink-essentials</artifactId> <version>2.4.1</version> </dependency> <dependency> <groupId>commons-attributes</groupId> <artifactId>commons-attributes-api</artifactId> <version>2.2</version> </dependency> <dependency> <groupId>commons-attributes</groupId> <artifactId>commons-attributes-compiler</artifactId> <version>2.2</version> </dependency> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.7.0</version> </dependency> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> <version>3.2</version> </dependency> <dependency> <groupId>commons-dbcp</groupId> <artifactId>commons-dbcp</artifactId> <version>1.2.2</version> </dependency> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>3.1</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.1</version> </dependency> <dependency> <groupId>commons-pool</groupId> <artifactId>commons-pool</artifactId> <version>1.3</version> </dependency> <dependency> <groupId>freemarker</groupId> <artifactId>freemarker</artifactId> <version>2.3.12</version> </dependency> <dependency> <groupId>groovy</groupId> <artifactId>groovy</artifactId> <version>1.5.5</version> </dependency> <dependency> <groupId>hessian</groupId> <artifactId>hessian</artifactId> <version>3.1.3</version> </dependency> <dependency> <groupId>jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>2.0.5</version> </dependency> <dependency> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>javax.ejb</groupId> <artifactId>ejb</artifactId> <version>3.0</version> </dependency> <dependency> <groupId>javax.faces</groupId> <artifactId>jsf-api</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>javax.jdo</groupId> <artifactId>jdo2-api</artifactId> <version>2.0</version> </dependency> <dependency> <groupId>javax.jms</groupId> <artifactId>jms</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>javax.persistence</groupId> <artifactId>persistence-api</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>javax.portlet</groupId> <artifactId>portlet-api</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>javax.resource</groupId> <artifactId>connector-api</artifactId> <version>1.5</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jsp-api</artifactId> <version>2.0</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.1.0</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> </dependency> <dependency> <groupId>javax.transaction</groupId> <artifactId>jta</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>javax.xml</groupId> <artifactId>jaxrpc-api</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>jexcelapi</groupId> <artifactId>jxl</artifactId> <version>2.6.6</version> </dependency> <dependency> <groupId>jotm</groupId> <artifactId>jotm</artifactId> <version>2.0.10</version> </dependency> <dependency> <groupId>jruby</groupId> <artifactId>jruby-bin</artifactId> <version>1.0.1</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.15</version> </dependency> <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <version>1.4.1</version> </dependency> <dependency> <groupId>opensymphony</groupId> <artifactId>quartz-all</artifactId> <version>1.6.0</version> </dependency> <dependency> <groupId>org.apache.axis</groupId> <artifactId>axis</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>org.apache.ibatis</groupId> <artifactId>ibatis-sqlmap</artifactId> <version>2.3.0.677</version> </dependency> <dependency> <groupId>org.apache.ibatis</groupId> <artifactId>ibatis-sqlmap</artifactId> <version>2.3.0.677</version> </dependency> <dependency> <groupId>org.apache.tiles</groupId> <artifactId>tiles-api</artifactId> <version>2.0.5</version> </dependency> <dependency> <groupId>org.apache.tiles</groupId> <artifactId>tiles-core</artifactId> <version>2.0.5</version> </dependency> <dependency> <groupId>org.apache.tiles</groupId> <artifactId>tiles-jsp</artifactId> <version>2.0.5</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>1.6.0</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>1.6.0</version> </dependency> <dependency> <groupId>org.beanshell</groupId> <artifactId>bsh</artifactId> <version>2.0b4</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate</artifactId> <version>3.2.6.ga</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> <version>3.3.2.ga</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> <version>3.3.2.ga</version> </dependency> <dependency> <groupId>poi</groupId> <artifactId>poi</artifactId> <version>3.0.1-FINAL</version> </dependency> <dependency> <groupId>struts</groupId> <artifactId>struts</artifactId> <version>1.2.9</version> </dependency> <dependency> <groupId>taglibs</groupId> <artifactId>standard</artifactId> <version>1.1.2</version> </dependency> <dependency> <groupId>tomcat</groupId> <artifactId>catalina</artifactId> <version>5.5.23</version> </dependency> <dependency> <groupId>velocity</groupId> <artifactId>velocity</artifactId> <version>1.5</version> </dependency> <dependency> <groupId>velocity-tools</groupId> <artifactId>velocity-tools-generic</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>velocity-tools</groupId> <artifactId>velocity-tools-view </artifactId> <version>1.4</version> </dependency> </dependencies>
声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2008-10-26
另外,还有一个值得一提的就是Spring-2.5的Package数量,写了个小程序去算了下并全部列了出来,居然有170多个,自己又见世面了,在此列出给大家看看,就是现在还不知它那些包都有啥用,不知有没人晓得,粗略讲讲给大伙听听
org.springframework org.springframework.aop org.springframework.aop.aspectj org.springframework.aop.aspectj.autoproxy org.springframework.aop.config org.springframework.aop.framework org.springframework.aop.framework.adapter org.springframework.aop.framework.autoproxy org.springframework.aop.framework.autoproxy.target org.springframework.aop.interceptor org.springframework.aop.scope org.springframework.aop.support org.springframework.aop.target org.springframework.aop.target.dynamic org.springframework.beans org.springframework.beans.factory org.springframework.beans.factory.access org.springframework.beans.factory.config org.springframework.beans.factory.parsing org.springframework.beans.factory.support org.springframework.beans.factory.wiring org.springframework.beans.factory.xml org.springframework.beans.propertyeditors org.springframework.beans.support org.springframework.cache org.springframework.cache.ehcache org.springframework.context org.springframework.context.access org.springframework.context.config org.springframework.context.event org.springframework.context.i18n org.springframework.context.support org.springframework.core org.springframework.core.enums org.springframework.core.io org.springframework.core.io.support org.springframework.core.style org.springframework.core.task org.springframework.core.task.support org.springframework.dao org.springframework.dao.support org.springframework.ejb org.springframework.ejb.access org.springframework.ejb.config org.springframework.ejb.support org.springframework.jca org.springframework.jca.cci org.springframework.jca.cci.connection org.springframework.jca.cci.core org.springframework.jca.cci.core.support org.springframework.jca.cci.object org.springframework.jca.context org.springframework.jca.endpoint org.springframework.jca.support org.springframework.jca.work org.springframework.jdbc org.springframework.jdbc.core org.springframework.jdbc.core.namedparam org.springframework.jdbc.core.support org.springframework.jdbc.datasource org.springframework.jdbc.datasource.lookup org.springframework.jdbc.object org.springframework.jdbc.support org.springframework.jdbc.support.incrementer org.springframework.jdbc.support.lob org.springframework.jdbc.support.nativejdbc org.springframework.jdbc.support.rowset org.springframework.jms org.springframework.jms.config org.springframework.jms.connection org.springframework.jms.core org.springframework.jms.core.support org.springframework.jms.listener org.springframework.jms.listener.adapter org.springframework.jms.listener.endpoint org.springframework.jms.listener.serversession org.springframework.jms.remoting org.springframework.jms.support org.springframework.jms.support.converter org.springframework.jms.support.destination org.springframework.jmx org.springframework.jmx.access org.springframework.jmx.export org.springframework.jmx.export.assembler org.springframework.jmx.export.metadata org.springframework.jmx.export.naming org.springframework.jmx.export.notification org.springframework.jmx.support org.springframework.jndi org.springframework.jndi.support org.springframework.mail org.springframework.mail.javamail org.springframework.metadata org.springframework.metadata.commons org.springframework.orm org.springframework.orm.hibernate3 org.springframework.orm.hibernate3.support org.springframework.orm.ibatis org.springframework.orm.ibatis.support org.springframework.orm.jdo org.springframework.orm.jdo.support org.springframework.orm.toplink org.springframework.orm.toplink.support org.springframework.remoting org.springframework.remoting.caucho org.springframework.remoting.httpinvoker org.springframework.remoting.jaxrpc org.springframework.remoting.jaxrpc.support org.springframework.remoting.rmi org.springframework.remoting.soap org.springframework.remoting.support org.springframework.scheduling org.springframework.scheduling.backportconcurrent org.springframework.scheduling.commonj org.springframework.scheduling.quartz org.springframework.scheduling.support org.springframework.scheduling.timer org.springframework.scripting org.springframework.scripting.bsh org.springframework.scripting.config org.springframework.scripting.groovy org.springframework.scripting.jruby org.springframework.scripting.support org.springframework.transaction org.springframework.transaction.config org.springframework.transaction.interceptor org.springframework.transaction.jta org.springframework.transaction.support org.springframework.ui org.springframework.ui.context org.springframework.ui.context.support org.springframework.ui.freemarker org.springframework.ui.jasperreports org.springframework.ui.velocity org.springframework.util org.springframework.util.comparator org.springframework.util.xml org.springframework.validation org.springframework.web org.springframework.web.bind org.springframework.web.bind.support org.springframework.web.context org.springframework.web.context.request org.springframework.web.context.support org.springframework.web.filter org.springframework.web.jsf org.springframework.web.multipart org.springframework.web.multipart.commons org.springframework.web.multipart.support org.springframework.web.portlet org.springframework.web.portlet.bind org.springframework.web.portlet.context org.springframework.web.portlet.handler org.springframework.web.portlet.multipart org.springframework.web.portlet.mvc org.springframework.web.portlet.util org.springframework.web.servlet org.springframework.web.servlet.handler org.springframework.web.servlet.handler.metadata org.springframework.web.servlet.i18n org.springframework.web.servlet.mvc org.springframework.web.servlet.mvc.multiaction org.springframework.web.servlet.mvc.support org.springframework.web.servlet.mvc.throwaway org.springframework.web.servlet.support org.springframework.web.servlet.tags org.springframework.web.servlet.tags.form org.springframework.web.servlet.theme org.springframework.web.servlet.view org.springframework.web.servlet.view.document org.springframework.web.servlet.view.freemarker org.springframework.web.servlet.view.jasperreports org.springframework.web.servlet.view.tiles org.springframework.web.servlet.view.velocity org.springframework.web.servlet.view.xslt org.springframework.web.struts org.springframework.web.util |
|
返回顶楼 | |
发表时间:2008-11-10
无聊的人...
|
|
返回顶楼 | |