Eugene Kuleshov wrote:
>
> Vickey wrote:
>> In eclipse, when javadoc and source are assigned for user libraries, help
>> documents and source code can be easily accessed just by pressing "F1",
>> are
>> there any samiliar settings in M2 eclipse or pom.xml for maven
>> dependencies?
>>
> m2eclipse uses the same JDT settings to specify location of sources
> and javadoc. You can enable automatic download of jar sources and
> javadocs in "Window / Preferences / Maven". Note that in version 0.9.4,
> javadocs won't be downloaded if there are sources available. This been
> changed in trunk to make source and javadoc independent and there is
> also new action to manually trigger javadoc download.
>
> Also note that you can manually assign sources and javadocs to the jar
> entries using standard JDT properties dialog from the popup menu on
> those entries.
>
> regards,
> Eugene
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
>
I manually define some system scope dependencies as below:
<properties>
<repository.local>D:/Job/2.Repository/Java</repository.local>
</properties>
<dependencies>
<dependency>
<groupId>Rad</groupId>
<artifactId>SpringSide</artifactId>
<version>2.0 RC1</version>
<scope>system</scope>
<systemPath>
${repository.local}/Rad/SpringSide/2.0
RC1/SpringSide2rc1.jar
</systemPath>
</dependency>
</dependencies>
May I assign the javadoc, source code and update site location in the
pom.xml?
Big thank!
--
View this message in context:
http://www.nabble.com/How-to-define-the-javadoc-and-source-location-of-dependencies--tp18252688p18271238.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email