Actually it is not a bug in the m2eclipse plugin but an inaccurate use by me. After activating "Download Artifact Sources" under Window -> Preferences AND choosing "Download Sources" in the context menu of the m2eclipse plugin the download and attachment of the sources had worked correctly.
Von: Eugene Kuleshov <[EMAIL PROTECTED]> An: [email protected] Datum: 22.09.2008 22:54 Betreff: Re: Antwort: Re: Attaching source zip to jar managed by maven Olel wrote: > > sorry for being a little unprecise. It is not that I don't want to have > the sources locally, but don't want to manage the attaching on every > developer machine as you have guessed. > > Therefore I tried the m2eclipse feature "Download Artifact Sources" and > give it a try with dbunit-2.2.3 from repo1.maven.org which has Javadoc and > sources attached. Unfortunately that doesn't work. Neither are the sources > downloaded nor attached to the local jar. Do you have any idea what might > be the problem? > Can you please submit a bug report to m2eclipse and provide simple test project that would allow to reproduce this issue with dbunit sources. http://jira.codehaus.org/browse/MNGECLIPSE Also note that there is Mave / Download Sources action that could be invoked on Maven projects or individual jars. Olel wrote: > > The other thing is: most of the jars we use do not have sources in the > public repositories. Could you give me a short introduction on how to add > these sources manually to our enterprise repository and attach to their > jars? > With m2eclipse you can attach sources and javadocs locally without deploying them to the Maven repository. You can do that from the jar properies dialog. regards, Eugene -- View this message in context: http://www.nabble.com/Attaching-source-zip-to-jar-managed-by-maven-tp19530862p19616052.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- engram GmbH Konsul-Smidt-Straße 8r 28217 Bremen Germany Tel.: +49-[0]421-620298-0 Fax: +49-[0]421-620298-999 Handelsregister Bremen HRB 20782 Geschäftsführer: Jens Wünderlich Aufsichtsratsvorsitzender: Ralf Paslack
