You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Kathey Marsden <km...@sbcglobal.net> on 2007/12/10 22:30:36 UTC
maven trouble
I am following the release instructions for maven deployment and
am having trouble using maven accessing jars on http://www.ibiblio.org.
I am guessing it is an issue with the site, because if I access the url
directly, I just get some text and not the option to download. Anyone
know how to workaround this problem.
Thanks
Kathey
[C:/svn/10.3/maven] maven clean #
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Attempting to download dom4j-1.4-dev-8.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.4-dev-8.jar]:
java.io.IOException: Unkno
wn error downloading; status code was: 301
WARNING: Failed to download dom4j-1.4-dev-8.jar.
Attempting to download commons-jelly-20030902.160215.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-20030902.160215.jar]:
java
.io.IOException: Unknown error downloading; status code was: 301
WARNING: Failed to download commons-jelly-20030902.160215.jar.
Attempting to download commons-jelly-tags-jsl-20030211.143151.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-jsl-20030211.143151.j
ar]: java.io.IOException: Unknown error downloading; status code was: 301
WARNING: Failed to download commons-jelly-tags-jsl-20030211.143151.jar.
Attempting to download commons-jelly-tags-log-20030211.142821.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-log-20030211.142821.j
ar]: java.io.IOException: Unknown error downloading; status code was: 301
WARNING: Failed to download commons-jelly-tags-log-20030211.142821.jar.
Attempting to download commons-jelly-tags-velocity-20030303.205659.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-velocity-20030303.205
659.jar]: java.io.IOException: Unknown error downloading; status code
was: 301
WARNING: Failed to download commons-jelly-tags-velocity-20030303.205659.jar.
Attempting to download commons-jelly-tags-xml-20040613.030723.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags-xml-20040613.030723.j
ar]: java.io.IOException: Unknown error downloading; status code was: 301
WARNING: Failed to download commons-jelly-tags-xml-20040613.030723.jar.
Attempting to download commons-logging-1.0.3.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar]:
java.io.IO
Exception: Unknown error downloading; status code was: 301
WARNING: Failed to download commons-logging-1.0.3.jar.
Attempting to download velocity-1.4-dev.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/velocity/jars/velocity-1.4-dev.jar]:
java.io.IOException: U
nknown error downloading; status code was: 301
WARNING: Failed to download velocity-1.4-dev.jar.
Attempting to download velocity-dvsl-0.45.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/velocity-dvsl/jars/velocity-dvsl-0.45.jar]:
java.io.IOExcep
tion: Unknown error downloading; status code was: 301
WARNING: Failed to download velocity-dvsl-0.45.jar.
Attempting to download xml-apis-1.0.b2.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-1.0.b2.jar]:
java.io.IOException: Un
known error downloading; status code was: 301
WARNING: Failed to download xml-apis-1.0.b2.jar.
The build cannot continue because of the following unsatisfied dependencies:
dom4j-1.4-dev-8.jar
commons-jelly-20030902.160215.jar
commons-jelly-tags-jsl-20030211.143151.jar
commons-jelly-tags-log-20030211.142821.jar
commons-jelly-tags-velocity-20030303.205659.jar
commons-jelly-tags-xml-20040613.030723.jar (try downloading from
http://jakarta.apache.org/commons/jelly/libs/xml/)
commons-logging-1.0.3.jar
velocity-1.4-dev.jar
velocity-dvsl-0.45.jar
xml-apis-1.0.b2.jar
Total time: 7 seconds
Finished at: Mon Dec 10 13:02:00 PST 2007
Re: maven trouble
Posted by Kathey Marsden <km...@sbcglobal.net>.
I had better luck with maven 1.1
Re: maven trouble
Posted by Knut Anders Hatlen <Kn...@Sun.COM>.
Kathey Marsden <km...@sbcglobal.net> writes:
> I am following the release instructions for maven deployment and
> am having trouble using maven accessing jars on http://www.ibiblio.org.
>
> I am guessing it is an issue with the site, because if I access the
> url directly, I just get some text and not the option to
> download. Anyone know how to workaround this problem.
Hi Kathey,
I experienced the same problem when I tried to build the DB site using
Maven 1.0.2. It turned out that the jars had been moved from
www.ibiblio.org, and Maven 1.0.x didn't support redirects. I solved it
by setting maven.repo.remote in project.properties:
http://www.nabble.com/svn-commit-3A-r580588----db-site-project.properties-to12956279.html
Now, README.txt under db/site explicitly says "Please use maven 1.0.2",
but I don't see any mentioning about that under the maven directory in
the Derby repository. The DerbySnapshotOrRelease wiki page says "the
latest Maven 1 distribution", so I guess moving to Maven 1.1, as you
did, was the correct solution.
--
Knut Anders