You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Paco Avila <pa...@git.es> on 2006/12/10 09:23:59 UTC
Can't build jackrabbit from svn sources
I have checked out the trunk "jackrabbit-core" but when I want to build
using maven, a lot of error are shown:
Intentando descargar concurrent-1.3.4.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/concurrent/jars/concurrent-1.3.4.jar]:
java.io.IOException: Unknown error downloading; status code was: 301
Error retrieving artifact from
[http://www.day.com/maven/concurrent/jars/concurrent-1.3.4.jar]:
java.io.IOException: Forbidden.
¡ATENCION!: ¡Imposible descargar concurrent-1.3.4.jar!
Intentando descargar junit-3.8.1.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar]:
java.io.IOException: Unknown error downloading; status code was: 301
Error retrieving artifact from
[http://www.day.com/maven/junit/jars/junit-3.8.1.jar]:
java.io.IOException: Forbidden.
¡ATENCION!: ¡Imposible descargar junit-3.8.1.jar!
Intentando descargar commons-collections-3.1.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-3.1.jar]: java.io.IOException: Unknown error downloading; status code was: 301
Error retrieving artifact from
[http://www.day.com/maven/commons-collections/jars/commons-collections-3.1.jar]: java.io.IOException: Forbidden.
¡ATENCION!: ¡Imposible descargar commons-collections-3.1.jar!
Intentando descargar geronimo-spec-jta-1.0-M1.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/geronimo-spec/jars/geronimo-spec-jta-1.0-M1.jar]: java.io.IOException: Unknown error downloading; status code was: 301
Error retrieving artifact from
[http://www.day.com/maven/geronimo-spec/jars/geronimo-spec-jta-1.0-M1.jar]: java.io.IOException: Forbidden.
¡ATENCION!: ¡Imposible descargar geronimo-spec-jta-1.0-M1.jar!
Intentando descargar slf4j-log4j12-1.0.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/org.slf4j/jars/slf4j-log4j12-1.0.jar]:
java.io.IOException: Unknown error downloading; status code was: 301
Error retrieving artifact from
[http://www.day.com/maven/org.slf4j/jars/slf4j-log4j12-1.0.jar]:
java.io.IOException: Forbidden.
¡ATENCION!: ¡Imposible descargar slf4j-log4j12-1.0.jar!
Intentando descargar lucene-1.4.3.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/lucene/jars/lucene-1.4.3.jar]:
java.io.IOException: Unknown error downloading; status code was: 301
Error retrieving artifact from
[http://www.day.com/maven/lucene/jars/lucene-1.4.3.jar]:
java.io.IOException: Forbidden.
¡ATENCION!: ¡Imposible descargar lucene-1.4.3.jar!
Intentando descargar derby-10.1.3.1.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/org.apache.derby/jars/derby-10.1.3.1.jar]:
java.io.IOException: Unknown error downloading; status code was: 301
Error retrieving artifact from
[http://www.day.com/maven/org.apache.derby/jars/derby-10.1.3.1.jar]:
java.io.IOException: Forbidden.
¡ATENCION!: ¡Imposible descargar derby-10.1.3.1.jar!
¡El proceso no puede seguir! Faltan las siguientes dependencias:
concurrent-1.3.4.jar (try downloading from
http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html)
junit-3.8.1.jar (try downloading from http://www.junit.org/)
commons-collections-3.1.jar (try downloading from
http://jakarta.apache.org/commons/collections/)
geronimo-spec-jta-1.0-M1.jar (try downloading from
http://java.sun.com/products/jta/)
slf4j-log4j12-1.0.jar (try downloading from
http://www.slf4j.org/download.html)
lucene-1.4.3.jar (try downloading from http://lucene.apache.org/java/)
derby-10.1.3.1.jar (try downloading from http://db.apache.org/derby/)
Total time: 6 seconds
Finished at: Sun Dec 10 09:22:46 CET 2006
--
GIT Consultors S.L.
c\ Francesc Rover 2-B
07003 Palma de Mallorca
(Illes Balears)
Re: Can't build jackrabbit from svn sources
Posted by Paco Avila <pa...@git.es>.
El dom, 10-12-2006 a las 14:12 +0200, Jukka Zitting escribió:
> Hi,
>
> On 12/10/06, Paco Avila <pa...@git.es> wrote:
> > So I need to us Maven 2, ok?
>
> Yes. The minimum survival guide is:
>
> $ svn checkout http://svn.apache.org/repos/asf/jackrabbit/trunk jackrabbit
> $ cd jackrabbit
> $ mvn install
Also interesting is the command line:
$ mvn dependency:copy-dependencies
To get all dependencies. This should be in the
http://jackrabbit.apache.org/doc/building.html page.
Cheers!
--
GIT Consultors S.L.
c\ Francesc Rover 2-B
07003 Palma de Mallorca
(Illes Balears)
Re: Can't build jackrabbit from svn sources
Posted by Paco Avila <pa...@git.es>.
El dom, 10-12-2006 a las 18:24 +0100, Paco Avila escribió:
> El dom, 10-12-2006 a las 14:12 +0200, Jukka Zitting escribió:
> > Hi,
> >
> > On 12/10/06, Paco Avila <pa...@git.es> wrote:
> > > So I need to us Maven 2, ok?
> >
> > Yes. The minimum survival guide is:
> >
> > $ svn checkout http://svn.apache.org/repos/asf/jackrabbit/trunk jackrabbit
> > $ cd jackrabbit
> > $ mvn install
>
> Downloading: http://repo1.maven.org/maven2/javax/jcr/jcr/1.0/jcr-1.0.jar
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
I downloaded the JAR manually and installed it using:
mvn install:install-file -DgroupId=javax.jcr -DartifactId=jcr
-Dversion=1.0 -Dpackaging=jar -Dfile=/home/pavila/Desktop/jcr-1.0.jar
and works fine.
--
GIT Consultors S.L.
c\ Francesc Rover 2-B
07003 Palma de Mallorca
(Illes Balears)
Re: Can't build jackrabbit from svn sources
Posted by Paco Avila <pa...@git.es>.
El dom, 10-12-2006 a las 14:12 +0200, Jukka Zitting escribió:
> Hi,
>
> On 12/10/06, Paco Avila <pa...@git.es> wrote:
> > So I need to us Maven 2, ok?
>
> Yes. The minimum survival guide is:
>
> $ svn checkout http://svn.apache.org/repos/asf/jackrabbit/trunk jackrabbit
> $ cd jackrabbit
> $ mvn install
Downloading: http://repo1.maven.org/maven2/javax/jcr/jcr/1.0/jcr-1.0.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
--
GIT Consultors S.L.
c\ Francesc Rover 2-B
07003 Palma de Mallorca
(Illes Balears)
Re: Can't build jackrabbit from svn sources
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On 12/10/06, Paco Avila <pa...@git.es> wrote:
> So I need to us Maven 2, ok?
Yes. The minimum survival guide is:
$ svn checkout http://svn.apache.org/repos/asf/jackrabbit/trunk jackrabbit
$ cd jackrabbit
$ mvn install
BR,
Jukka Zitting
Re: Can't build jackrabbit from svn sources
Posted by Paco Avila <pa...@git.es>.
El dom, 10-12-2006 a las 12:49 +0200, Jukka Zitting escribió:
> Hi,
>
> On 12/10/06, Paco Avila <pa...@git.es> wrote:
> > I have checked out the trunk "jackrabbit-core" but when I want to build
> > using maven, a lot of error are shown:
> >
> > Intentando descargar concurrent-1.3.4.jar.
> > Error retrieving artifact from
> > [http://www.ibiblio.org/maven/concurrent/jars/concurrent-1.3.4.jar]:
> > java.io.IOException: Unknown error downloading; status code was: 301
>
> This is caused by the recent problems with the Maven 1 repository at Ibiblio.
>
> Note however that last weekend we switched to Maven 2 builds and the
> Maven 1 build probably doesn't work anymore. I'll probably clean up
> the Maven 1 files soon enough once we have all the previous build
> features migrated.
So I need to us Maven 2, ok?
Thanks!
--
GIT Consultors S.L.
c\ Francesc Rover 2-B
07003 Palma de Mallorca
(Illes Balears)
Re: Can't build jackrabbit from svn sources
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On 12/10/06, Paco Avila <pa...@git.es> wrote:
> I have checked out the trunk "jackrabbit-core" but when I want to build
> using maven, a lot of error are shown:
>
> Intentando descargar concurrent-1.3.4.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/concurrent/jars/concurrent-1.3.4.jar]:
> java.io.IOException: Unknown error downloading; status code was: 301
This is caused by the recent problems with the Maven 1 repository at Ibiblio.
Note however that last weekend we switched to Maven 2 builds and the
Maven 1 build probably doesn't work anymore. I'll probably clean up
the Maven 1 files soon enough once we have all the previous build
features migrated.
BR,
Jukka Zitting