Hello,

i have a curious problem here. Maven tells me this (see below) it can't find a artifact. However, the file is present and i can download it via a browser using the following address:
http://rmibeta.oma.be:9090/archiva/repository/internal-releases/org/apache/xmlgraphics/fop/1.0-SNAPSHOT/fop-1.0-SNAPSHOT.jar
moreover, neither archiva, nor maven show tracks of an "attempt" at downloading the file. Is there any reason why maven would suppose file does not exist without consulting repositories? The local (in .m2/repository) fop folder has been removed to ensure there is conflicting pom.xml locally, but there is none. Help welcomes.

Thanks,
David Delbecq

[INFO] Building RMI-Shark-ToolAgents
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.xmlgraphics:fop:jar:1.0-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.xmlgraphics -DartifactId=fop -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.xmlgraphics -DartifactId=fop -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

 Path to dependency:
1) be.meteo.intranet.support:RMI-support-shark-toolAgents:jar:1.0-SNAPSHOT
       2) org.apache.xmlgraphics:fop:jar:1.0-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
 be.meteo.intranet.support:RMI-support-shark-toolAgents:jar:1.0-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
restricted (http://rmibeta.oma.be:9090/archiva/repository/internal-releases/),
 releases (http://rmibeta.oma.be:9090/archiva/repository/releases/),
 snapshots (http://rmibeta.oma.be:9090/archiva/repository/sandbox/)



--
David Delbecq
Institut Royal Météorologique
Ext:557


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to