John Casey wrote:
actually, that's where offline mode is helpful. Of course, if you
don't have all the artifacts/poms cached in your local repository, it
won't do you much good...
That's true, -o helps a lot in this case...
I currently have the following messages whenever I try to build without -o:
Downloading:
file://///nix/mvn_repos/saxon/saxonb-dom/8.6.1/saxonb-dom-8.6.1.pom
[WARNING] Unable to get resource from repository bpinteractive
(file://///nix/mvn_repos)
Downloading:
http://www.ibiblio.net/pub/packages/maven2/saxon/saxonb-dom/8.6.1/saxonb-dom-8.6.1.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
http://www.ibiblio.org/maven2/saxon/saxonb-dom/8.6.1/saxonb-dom-8.6.1.pom
[WARNING] Unable to get resource from repository mirror
(http://www.ibiblio.org/maven2)
Downloading: file://///nix/mvn_repos/saxon/saxonb/8.6.1/saxonb-8.6.1.pom
[WARNING] Unable to get resource from repository bpinteractive
(file://///nix/mvn_repos)
Downloading:
http://www.ibiblio.net/pub/packages/maven2/saxon/saxonb/8.6.1/saxonb-8.6.1.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
http://www.ibiblio.org/maven2/saxon/saxonb/8.6.1/saxonb-8.6.1.pom
[WARNING] Unable to get resource from repository mirror
(http://www.ibiblio.org/maven2)
mvn keeps looking for updates even though the artifacts in question are
contained in both ~/.m2 and the windows server file://///nix/mvn_repos.
Problems:
- I don't understand the warning. file://///nix/mvn_repos contains a
copy of my local ~/.m2 which is probably not enough.
- because of the warning mvn checks for updates on every build.
- if any repos-mirror has a timeout the build fails instead of using the
already present artifact.
So while the warnings might be the result of a misconfiguration or
something the build IMHO shouldn't fail in case of a timeout.
The artifacts in question don't have an associated pom file in the repos
but I don't understand exactly why/what went wrong while installing....
Some other third party jars do have poms even though I think I installed
them the same way... strange...
-john
Joern Huxhorn wrote:
[EMAIL PROTECTED] wrote:
Maven is not working anymore, I was trying to add a regular Manifest
fil into my
jar :-(
[SNIP]
I've got similar problems. It seems like mvn-builds will always fail
in case of a network timeout instead of just using the latest version
available in .m2/repository... I sometimes even unplugged my network
cable because of this.
Any ideas (or better yet, a fix!) would be appreciated ;)
Joern.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]