Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] manual source location for jar resource m2e

Go into the package explorer.  Right Click (RC) logback-classic-0.9.28.jar, choose properties.  Choose java source attachment, external location.  This location is currently marked with the maven source download.  Copy the maven source jar file to a different location and change this location to match by clicking external file and selecting the jar at the different location.  Click apply, click ok.  RC logback-classic-0.9.28.jar, choose properties.  Notice that the change did not persist.

If you have problems with the steps I could provide a video.

Thanks for all the great work on m2e !!!!

From: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
To: Mike Grandmaison <java97301@xxxxxxxxx>; Maven Integration for Eclipse users mailing list <m2e-users@xxxxxxxxxxx>
Sent: Monday, July 22, 2013 10:42 PM
Subject: Re: [m2e-users] manual source location for jar resource m2e

m2e is expected to preserve manually configured source path. Please provide a small standalone example and exact steps to reproduce the problem and we'll have a look.
Sent from my SGS

Mike Grandmaison <java97301@xxxxxxxxx> wrote:
>I am using eclipse (20130225-0426) with m2e 1.4.0-...-0317.
>can't seem to attach a source location to a maven managed dependency. 
>The source for this maven dependency exists as a project within my
>eclipse workspace.  I am able to click edit and browse to the location
>but the change never persists.  Is this a known issue.  Is there an
>fix for it apart from updating the maven repo to include the source for
> this library and having maven auto download the source?
>Thank you,
>m2e-users mailing list

Description: Zip compressed data

Back to the top