Hi

 

I'm running a Maven build (release 2.2.1). The build is broken because
it's somehow referencing an old repository:
maven1-repository.dev.java.net
(https://maven-repository.dev.java.net/repository/) 

 

The repository has been moved and is returning an HTTP 302 - permanently
moved, which Maven doesn't handle. Error returned is as follows:

 

Unable to get dependency information: Unable to read local copy of
metadata: Cannot read metadata from 'C:\Documents and
Settings\jprout\.m2\repository\com\digitalimpact\di-common-db\maven-meta
data-maven1-repository.dev.java.net.xml': end tag name </body> must
match start tag name <hr> from line 7 (position: TEXT seen
...</address>\n</body>... @9:8) 

  com.digitalimpact:di-common-db:jar:null

 

from the specified remote repositories:

  central (http://repo1.maven.org/maven2),

  springfield (http://springfield.corp.acxiom.net:9999/m2/),

  maven1-repository.dev.java.net
(https://maven-repository.dev.java.net/repository/)

 

Path to dependency: 

        1) com.acxiomdigital.iws:IWS-Service:war:8.3.0-5-SNAPSHOT

        2) com.acxiomdigital.is.ws:is-ws-service:jar:8.2.0-3

        3) com.acxiomdigital.is.cache:is-cache:jar:8.2.0-3

        4) com.digitalimpact:factory:jar:8.2.0-31

        5) com.digitalimpact:di-common:jar:8.1.0-136

 

di-common-db is one of my Artifacts and it doesn't contain any mention
of maven1-repository

 

What puzzles me is that I can't find anything in my project, which
references the maven1-repository, which I don't need. I expect the
reference is from one of my dependencies, but I can't find which one.
I've run the build with the -X flag, but still nothing to tell me why
it's referencing maven1-repository.

 

Is there any I can run the Maven build so it tells me where it's getting
its list of Repositories from?

Is there any way I can explicitly exclude the maven1-repository, so the
build doesn't look at it?

 

Thanks in advance!

 

John

***************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be legally
privileged.

If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank You.
****************************************************************************

Reply via email to