|
From: Kristoffer M. <kri...@gm...> - 2006-10-06 08:13:30
|
Take a look at http://www.ibiblio.org/maven2/org/springframework/spring/2.0= /. As far as I can see the repo contains both sources and javadocs. /K On 10/6/06, Nicolas De Loof <nic...@ca...> wrote: > > > Until a build fully maven2 compliant is in place, could you please > manually add the sources jars for modules in the spring repo so that > they become available using ibiblio sync ? > They're very usefull for Eclipse (or other IDE) developers to get > debugging, javadocs and parameters name. > You can also get them from my personnal repo : > http://ndeloof.free.fr/maven2 > > I've sent my ant script on this list to build them, but I consider this > as a workaround. Do you allready have ideas about a module/maven2 > compliant build ? I myself had similar issue with a "all in one jar" lib > to be splitted into modules. > > The "cleaner" way is to split sources into separate sub-projects and use > the maven2 assembly plugin to create the "full" jar from modules. But > this requires to move source files, and you will then loose CVS > history... (what about using subversion ?) > > Another way is to create multiple POM files that point to the same srs > folder but use <includes> to only compile and package module classes. > > There is also the "Java1.3 + Java5 in same jar" issue. I don't like > splitting every module into spring-xx and spring-xx-tiger as Carlos > Sanchez suggested. It can be solved by using maven-jboss-compiler-plugin > : this is a modified maven compiler plugin that allows to change the src > dir. Using it, you can run compiler twice. A first (default) run using > bootclasspath set to Java1.3 runtime, a second one using jboss-compiler > to point to "tiger" code. > > @see > > http://mail-archives.apache.org/mod_mbox/maven-users/200608.mbox/%3C44EAA= 635...@ca...%3E > @see http://repository.jboss.com/maven2 > > Another solution is to use the maven build helper plugin to add tiger > sources to compiler path and define <excludes> to only compile Java1.3 > classes as default execution. A second execution is then configured to > compile all classes using Java5 (java13 compiled classes are not > recompiled) > > If you're interseted any of those solutions, I'd be pleased to give you > feedback from my personnal experiments on this. > > Nicolas De Loof > > Ben Hale a =E9crit : > > Right now the builds (the ant builds) do not create individual jars > > for for sources and javadocs. It does create sources and javadocs for > > the main jar. Contributions from the community of these artifacts are > > nice, but it's not really a scalable way to populate the maven repo. > > We're looking into strategies for create those elements as part of the > > build in the future, but at this point we don't have them. > > > > Ben Hale > > Spring Training, Consulting and Support - "From the Source" > > http://www.interface21.com > > cell: 321.591.2340 > > > > > > > > On Oct 5, 2006, at 4:35 PM, Ben Alex wrote: > > > >> Carlos Sanchez wrote: > >>> Maven repo is synced from Spring repo > >>> https://svn.sourceforge.net/svnroot/springframework/repos/repo/ > >>> > >>> You can provide them the sources and javadocs to be put there. > >> > >> Any reason the sources are missing from the Spring snapshot repo (with > >> the notable exception of the "spring" artifact)? > >> > >> Cheers > >> Ben > >> > >> > ------------------------------------------------------------------------- > >> > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to > >> share your > >> opinions on IT & business topics through brief surveys -- and earn cas= h > >> > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > >> > >> _______________________________________________ > >> Springframework-developer mailing list > >> Spr...@li... > >> https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > -----------------------------------------------------------------------= - > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys -- and earn cash > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > > -----------------------------------------------------------------------= - > > > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > This message contains information that may be privileged or confidential > and is the property of the Capgemini Group. It is intended only for the > person to whom it is addressed. If you are not the intended recipient, y= ou > are not authorized to read, print, retain, copy, disseminate, distribute= , > or use this message or any part thereof. If you receive this message in > error, please notify the sender immediately and delete all copies of thi= s > message. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |