-2

When I add dependency asm to my pom.xml, I find the org.springframework.asm

enter image description here

I click the red bulb to update the Maven Repository Indices:

enter image description here

But it is too slow.

So, if there is a dependency for replacing it ?

s-n-2
  • 405
  • 1
  • 6
  • 24

1 Answers1

0

A simple way to add the library replace your method is:

  1. Search the google or in mvnrepository http://mvnrepository.com/search?q=org.springframework.asm to download the jar file.

  2. Copy the jar to the WEB-INF/lib

  3. Then add the jar file as Library

This can add a repository quickly rather than your slow method.

aircraft
  • 25,146
  • 28
  • 91
  • 166
  • or simply add to your pom mvn repository as ... that will get rid out of you all copy paste operations – Malakai Mar 20 '17 at 10:05
  • @Reborn You should know the question is pom.xml. – aircraft Mar 20 '17 at 10:08
  • did i mention something wrong? https://maven.apache.org/guides/mini/guide-multiple-repositories.html ( first source code) – Malakai Mar 20 '17 at 10:18
  • just simply add this https://artifacts.alfresco.com/nexus/content/repositories/public/ – Malakai Mar 20 '17 at 10:20
  • @Reborn you see his pom.xml, he add the dependency like you. – aircraft Mar 20 '17 at 10:22
  • and you see, that he cant find version. Check from which repository mvnrepository takes dependency. It tells Alfresco Public, which means he needs to add artifacts.alfresco.com/nexus/content/repositories/public as . Why this solution is better? As i stated before - you save time on copy/pasting jars and so on – Malakai Mar 20 '17 at 10:26
  • @Reborn, Why can't? every donwload jar from mvcrepostory have the suffix shows the version. – aircraft Mar 20 '17 at 10:31