Force maven update -


i imported working project on other computer started download dependencies.

apparently in meantime internet connection crashed. get:

build errors comics; org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal on project comicstest: not resolve dependencies project comicstest:comicstest:war:0.0.1-snapshot: following artifacts not resolved: org.springframework:spring-context:jar:3.0.5.release, org.hibernate:hibernate-entitymanager:jar:3.6.0.final, org.hibernate:hibernate-core:jar:3.6.0.final, org.hibernate:hibernate-commons-annotations:jar:3.2.0.final, org.aspectj:aspectjweaver:jar:1.6.8, commons-lang:commons-lang:jar:2.5,

mysql:mysql-connector-java:jar:5.1.13: failure transfer org.springframework:spring-context:jar:3.0.5.release http://repo1.maven.org/maven2 cached in local repository, resolution not reattempted until update interval of central has elapsed or updates forced.

original error: not transfer artifact org.springframework:spring-context:jar:3.0.5.release central (http://repo1.maven.org/maven2): no response received after 60000

and have no idea how force maven update?

mvn clean install -u 

-u means force update of snapshot dependencies. release dependencies can't not updated way.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -