Hi Monika, I wasn't able to reproduce your issue with DSpace 4.0 and Maven 2.2.1. Maybe it's specific to maven 3.1, because I'm sure it also builds with Maven 3.0. Or the issue is something else altogether...
On Tue, Jan 7, 2014 at 10:47 PM, Monika Mevenkamp <[email protected]> wrote: > Downloading: > http://oss.sonatype.org/content/repositories/releases/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar > which in fact does not exists: This doesn't seem right, the jar is located here: http://repo1.maven.org/maven2/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar At least this is what I'm getting when I delete my ~/.m2: ... [DEBUG] Unable to locate resource in repository org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource in repository at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:139) at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:427) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:382) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.resolveArtifact(DefaultArtifactResolver.java:456) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.run(DefaultArtifactResolver.java:433) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:679) Caused by: java.io.FileNotFoundException: http://oss.sonatype.org/content/repositories/releases/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar at sun.reflect.GeneratedConstructorAccessor16.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:122) ... 13 more Caused by: java.io.FileNotFoundException: http://oss.sonatype.org/content/repositories/releases/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:115) ... 13 more [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [INFO] Unable to find resource 'ant-contrib:ant-contrib:jar:1.0b3' in repository sonatype-releases (http://oss.sonatype.org/content/repositories/releases/) [DEBUG] Skipping disabled repository sonatype-nexus-snapshots [DEBUG] Trying repository central [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [DEBUG] Checking for pre-existing User-Agent configuration. [DEBUG] Adding User-Agent configuration. [DEBUG] Connecting to repository: 'central' with url: 'http://repo1.maven.org/maven2'. Downloading: http://repo1.maven.org/maven2/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [DEBUG] Artifact resolved ... So the only advice I have for now is a) either to try building with a different version of Maven b) or to try installing the jar manually to your local repo (mvn install:install-file), however you may then get this same error for other jar files. Hopefully someone more experienced with Maven can shed light on this. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

