I\'ve just moved my project from windows to linux ubuntu. After pulling files from repository it turned out that every pom.xml file consists errors. Not even one dependency
Ok, so you've just moved from one OS to another...
There is a big chance, that Maven settings are different, and you just forgot to move some repositories configurations, etc. to the new place.
Please check global Maven settings.xml or user-specific: ~/.m2/settings.xml on Linux and C:\User\[username]\.m2\settings.xml on Windows.
Chances are you'll find something interesting.
After fixing settings (if it's the cause), I would suggest to run Maven dependency plugin goal 'purge-loca-repository' for removing your project's dependencies from your local Maven repository and re-resolving them from scratch:
mvn dependency:purge-local-repository
Regarding aopalliance-1.0 artifact -> I haven't found it in java.net2/sonatype repositories, so please try Maven Central to resolve it:
<repository>
<id>central</id>
<name>Maven Central</name>
<url>http://repo1.maven.org/maven2</url>
</repository>
Good Luck!
If you use Cntlm as autetification proxy, check if it is alive in your Windows Tasks Manager:
cntlm.exe
If not, try executing on a cmd window:
call \path_to_your_cntlm_folder\Cntlm\cntlm.exe -c \path_to_your_cntlm_folder\Cntlm\cntlm.ini
There are few common causes related to maven migration
Your pc local repo is normally located at ~/.m2/repository
i added this and it resolved my problem.
<!-- https://mvnrepository.com/artifact/com.sun.jersey/jersey-server -->
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-server</artifactId>
<version>1.8</version>
</dependency>