java - Maven unable to download dependencies -


for reason maven not updating dependencies. tried 1) update maven global indexes in global reopsitory 2) settings.xml configured 3) mvn clean install -u (force update) 4) deleted .m2 repository

i can access http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.pom browser

error: artifacttransferexception: not transfer artifact javax.jms:jms:jar:1.1 from/to central (http://repo.maven.apache.org/maven2): null http://repo.maven.apache.org/maven2/javax/jms/jms/1.1/jms-1.1.jar below pom.xml

<project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">   <modelversion>4.0.0</modelversion>   <groupid>com.jms</groupid>   <artifactid>actmq</artifactid>   <version>0.0.1-snapshot</version>   <dependencies>     <dependency>         <groupid>javax.jms</groupid>         <artifactid>jms</artifactid>         <version>1.1</version>     </dependency>   </dependencies> </project> 

i 404 error on visiting link: http://central.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar

it seems jar not available , pom available. if not explicitly need mentioned version 1.1, can try upgrading latest version.

<dependency>      <groupid>javax.jms</groupid>      <artifactid>javax.jms-api</artifactid>      <version>2.0.1</version> </dependency> 

jar available version. link: http://central.maven.org/maven2/javax/jms/javax.jms-api/2.0.1/javax.jms-api-2.0.1.jar


Comments