how to "force an update" in eclipse?
thanks in advance



________________________________
 寄件人︰ Matthew Piggott <[email protected]>
收件人︰ Maven Integration for Eclipse users mailing list <[email protected]> 
傳送日期︰ 2012年10月12日 (週五) 9:57 PM
主題︰ Re: [m2e-users] 回覆︰ how to including -sources.jar in pom
 

You probably need to force an update after receiving the error in the first 
post.  It looks as if it were caused by a connection error of some type, 
perhaps a proxy?


On 12 October 2012 05:36, tong123123 <[email protected]> wrote:

when press F3, the Source not found error page is shown.
>"the JAR file 
>c:\users\teamC\.m2\repository\org\springframework\spring\2.5.6\spring-2.5.6.jar
> has no source attachment."
>
>
>
>
>
>
>________________________________
> 寄件人︰ Anders Hammar <[email protected]>
>收件人︰ tong123123 <[email protected]>; Maven Integration for Eclipse users 
>mailing list <[email protected]> 
>傳送日期︰ 2012年10月12日 (週五) 4:52 PM
>主題︰ Re: [m2e-users] how to including -sources.jar in pom
> 
>
>You shouldn't have to change your pom.
>I checked and the sources jar seems to exist in central, but in my
>experience just hoovering on the method doesn't download it. Try
>opening the method by putting the cursor there and hitting F3. It
>should take you to the source, which will be downloaded automatically.
>It might take a few seconds though, so be patient.
>There are other ways to accomplish the source to be downloaded, but
>this is the easiest way I think. You could configure m2e to always try
>to download sources, but I wouldn't recommend that as it will IMO have
>some severe performance drawbacks.
>
>/Anders
>
>On Fri, Oct 12, 2012 at 10:35 AM, tong123123 <[email protected]> wrote:
>> When my mouse hover getSimpleJdbcTemplate(), I want it will display the
>> relevant api, but it cannot and show the message in springSource.jpg
>> "
>> Note: The Javadoc for this element could neither be found in the attached
>> source nor the attached Javadoc."
>>
>> I think the problem come from the pom.xml, I want to download
>> spring-2.5.6-sources.jar
>> but it download spring-2.5.6.jar only,
>> the pom.xml is
>> <dependency>
>>         <groupId>org.springframework</groupId>
>>         <artifactId>spring</artifactId>
>>         <version>2.5.6</version>
>>     </dependency>
>>
>> I try to add
>> <classifier>sources</classifier>
>> but the following error shown:
>> "ArtifactTransferException: Failure to
 transfer
>> org.springframework:spring:jar:sources:2.5.6 from
>> http://repo.maven.apache.org/maven2 was cached in the local repository,
>> resolution will not be reattempted until the update interval of central has
>> elapsed or updates are forced. Original error: Could not transfer artifact
>> org.springframework:spring:jar:sources:2.5.6 from/to central
>> (http://repo.maven.apache.org/maven2): Remotely Closed [id: 0x010edf78,
>> /172.20.10.2:55369 :> repo.maven.apache.org/68.232.45.223:80]"
>>
>> how to make the api shown when my mouse hover spring function?
>>
>> _______________________________________________
>> m2e-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>>
>
>
>
>_______________________________________________
>m2e-users mailing list
>[email protected]
>https://dev.eclipse.org/mailman/listinfo/m2e-users
>
>

_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to