Good. I am moving my development environment from my laptop to the desktop.
I have the same projects on both machines, but when I try to run the maven dependency updates via eclipse on the desktop, it just complains about the “missing artifact” for each individual dependency !?
I checked the local repo on the desktop and of course there are no cans !? Everything is there, but there are no cans!
I went back to the laptop, removed from the cans from the local repo on this machine and again called the dependencies of the updates and hacked, and the jars booted just fine, but the desktop can not load any of the cans?
Both machines are on the same network / router, so it cannot be a hardware firewall / proxy server, but is there any eclipse or Windows firewall setting that I completely forget about?
Finally, I deleted the repo on the desktop and used mvn -up clean install in the project, I notice that it loads the PLUGIN jars as accurately as possible, but then it continues to download only the POM for any dependencies!
My settings.xml is as follows (mashup view from suggested repositories);
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0http://maven.apache.org/xsd/settings-1.0.0.xsd"> <pluginGroups></pluginGroups> <proxies></proxies> <servers></servers> <mirrors></mirrors> <profiles> <profile> <id>standard-extra-repos</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>net.java.download</id> <url>http://download.java.net/maven/2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>org.apache</id> <url>http://maven.apache.org/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>org.codehaus.mojo</id> <url>http://mojo.codehaus.org/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>com.jboss.repository</id> <url>http://repository.jboss.com/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>com.springsource.repository.bundles.release </id> <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name> <url>http://repository.springsource.com/maven/bundles/release </url> <releases> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> <checksumPolicy>warn</checksumPolicy> </releases> </repository> <repository> <id>com.springsource.repository.bundles.external </id> <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name> <url>http://repository.springsource.com/maven/bundles/external </url> <releases> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> <checksumPolicy>warn</checksumPolicy> </releases> </repository> <repository> <id>com.springsource.repository.libraries.release </id> <name>SpringSource Enterprise Bundle Repository - SpringSource Library Releases</name> <url>http://repository.springsource.com/maven/libraries/release </url> <releases> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> <checksumPolicy>warn</checksumPolicy> </releases> </repository> <repository> <id>com.springsource.repository.libraries.external </id> <name>SpringSource Enterprise Bundle Repository - External Library Releases</name> <url>http://repository.springsource.com/maven/libraries/external </url> <releases> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> <checksumPolicy>warn</checksumPolicy> </releases> </repository> </repositories> </profile>
java maven
Nick foote
source share