On Mon, 2004-03-29 at 02:51, nicolas De Loof wrote: > Hello, > > I've added a tiny enhancement to maven 1.0 RC2 : > > When downloading some artifact from remote repo(s), my patched maven > tries to download the artifact sources.
Being able to download the sources is fine but should not be made part of the default process of downloading an artifact for the simple fact that an artifact being downloaded might not be a JAR. > It is usefull on eclipse to get > generated classpath with associated sources -> inheritence with > parameters and javadoc, browse sources, debug ... > (I patched eclispe generate-classpath goal to do this). Sure, we just need to make it another artifact type and users can selectively download the sources if they desire. > The artifact sources for any artifact named "XXXXX.ext" is searched as > "XXXXX-src.ext" > > You can test it by applying the patch or by downloading the patched > "maven.jar" and eclipse plugin "classpath.jelly" from > http://ndeloof.free.fr/maven. > > I setted a test sources repository on > http://ndeloof.free.fr/maven/srcrepository. Naturally, if this patch is > accepted, such artifact sources should go on ibiblio. > > Building the artifact sources for a mavenized project could be added as > enhancement of the jar plugin or use a simpel maven.xml postGoal. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
