|
From: Nicolas De L. <nic...@ca...> - 2006-10-06 08:11:04
|
Until a build fully maven2 compliant is in place, could you please=20 manually add the sources jars for modules in the spring repo so that=20 they become available using ibiblio sync ? They're very usefull for Eclipse (or other IDE) developers to get=20 debugging, javadocs and parameters name. You can also get them from my personnal repo : http://ndeloof.free.fr/mav= en2 I've sent my ant script on this list to build them, but I consider this=20 as a workaround. Do you allready have ideas about a module/maven2=20 compliant build ? I myself had similar issue with a "all in one jar" lib=20 to be splitted into modules. The "cleaner" way is to split sources into separate sub-projects and use=20 the maven2 assembly plugin to create the "full" jar from modules. But=20 this requires to move source files, and you will then loose CVS=20 history... (what about using subversion ?) Another way is to create multiple POM files that point to the same srs=20 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=20 splitting every module into spring-xx and spring-xx-tiger as Carlos=20 Sanchez suggested. It can be solved by using maven-jboss-compiler-plugin=20 : this is a modified maven compiler plugin that allows to change the src=20 dir. Using it, you can run compiler twice. A first (default) run using=20 bootclasspath set to Java1.3 runtime, a second one using jboss-compiler=20 to point to "tiger" code. @see=20 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=20 sources to compiler path and define <excludes> to only compile Java1.3=20 classes as default execution. A second execution is then configured to=20 compile all classes using Java5 (java13 compiled classes are not recompil= ed) If you're interseted any of those solutions, I'd be pleased to give you=20 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=20 > for for sources and javadocs. It does create sources and javadocs for=20 > the main jar. Contributions from the community of these artifacts are=20 > nice, but it's not really a scalable way to populate the maven repo. =20 > We're looking into strategies for create those elements as part of the=20 > 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 >> >> ----------------------------------------------------------------------= ---=20 >> >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to=20 >> 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= =3DDEVDEV=20 >> >> _______________________________________________ >> 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 > =20 This message contains information that may be privileged or confidential = and is the property of the Capgemini Group. It is intended only for the p= erson to whom it is addressed. If you are not the intended recipient, yo= u are not authorized to read, print, retain, copy, disseminate, distribu= te, 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= this message. |