Maven 3 warnings: asm transmission error: asm / maven-metadata.xml

when creating a giraph jar with dependencies we get the following warnings .. really not sure how to solve them .. we already tried

useProjectArtifact as false
and
unpack as true

both dosent seem to work

any suggestion how to solve these problems ... ??

[WARNING] Failure to transfer asm:asm/maven-metadata.xml from file:../../local.repository/trunk was cached in the local repository, resolution will not be reattempted until the update interval of local.repository has elapsed or updates are forced. Original error: Could not transfer metadata asm:asm/maven-metadata.xml from/to local.repository (file:../../local.repository/trunk): No connector available to access repository local.repository (file:../../local.repository/trunk) of type legacy using the available factories WagonRepositoryConnectorFactory [WARNING] Failure to transfer asm:asm/maven-metadata.xml from file:../../local.repository/trunk was cached in the local repository, resolution will not be reattempted until the update interval of local.repository has elapsed or updates are forced. Original error: Could not transfer metadata asm:asm/maven-metadata.xml from/to local.repository (file:../../local.repository/trunk): No connector available to access repository local.repository (file:../../local.repository/trunk) of type legacy using the available factories WagonRepositoryConnectorFactory 
+4
source share
1 answer

It looks like a connection, proxy, or firewall problem, so you can outline the solution:

  • Explicit reference to ASM dependency. Take a look at the correct version and try adding it to your pom ( http://mvnrepository.com/artifact/asm/asm ). After that, run mvn install so that everything is fine.

  • If this does not work, try manually downloading the dependency and copying it to the local repository (local folder ".m2"), possibly to "/.m2/asm/asm/". This is not the best solution, but maybe it can solve your problem.

Hope this helps!

0
source

All Articles