[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[m2e-users] how to including -sources.jar in pom
|
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?
Attachment:
springSource.jpg
Description: JPEG image