Tim and Gaetano, many thanks for your responses since both of them have worked. They work also for the previous version of dspace and the addon.
Greetings! Gaetano Rufino escribió: > Hi, > > We list the commands that I used to do the build: > • Straight from the source directory, I launched the package maven: mvn > package [I know that seems strange because normally the packaging is made > from the directory dspace-source/dspace] > • dspace-source/dspace/target/dspace-1.6.2-buid.dir directory I ran the > command: ant-Dconfig dspace-installazione/config/dspace.cfg = update [this > command then launches as usual] > • there is a folder in the directory dspace-installazione/webapps > "oaiextended" oaiextended then copy the folder inside the webapps of tomcat > • Change in dspace.cfg: oaiextended.url dspace.baseUrl = $ {} / oaiextended > At this point, questioning the page dspace.baseUrl / oaiextended / request? > verb = ListSets > you should find the two set uses dall'harvester Open: > <OAI-PMH xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ > http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"> > <responseDate> 2010-11-12T15: 32:06 Z </ responsed> > > > greetings > Gaetano Rufino > > __________________________________________________ > > C.S.I. Universita' degli Studi di Salerno > Gaetano Rufino > Ufficio Sistemi Tecnologici > E-Mail: gruf...@unisa.it > Tel: +39 089 966 350 Fax: +39 089 966 368/346 > Tel. HelpDesk: +39 089 966 400 > __________________________________________________ > “Sic parvis magna” > > > -----Messaggio originale----- > Da: Domingo Iglesias [mailto:digles...@ub.edu] > Inviato: lunedì 3 gennaio 2011 15:27 > A: dspace-tech@lists.sourceforge.net > Oggetto: [Dspace-tech] DRIVER & OAI Extended Addon v2 > > Hello > > I'm trying to setup the OAI Extended Addon v.2 with the 1.6.2 version of > dspace > (http://projecto.rcaap.pt/index.php?option=com_remository&Itemid=2&func=file > info&id=321&lang=en > <http://projecto.rcaap.pt/index.php?option=com_remository&Itemid=2&func=file > info&id=321&lang=en>) > to deal with the DRIVER directives (http://www.driver-repository.eu > <http://www.driver-repository.eu>). > In fact, I tried the setup with the previous version of both the dspace and > the addon with similar results. > > I have followed the install doc but when running maven I get the following > error: > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building DSpace OAI Extended :: Web Application > [INFO] task-segment: [package] > [INFO] > ------------------------------------------------------------------------ > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > Downloading: > http://download.java.net/maven/2/org/dspace/dspace-oaiextended-webapp/1.6.2/ > dspace-oaiextended-webapp-1.6.2.pom > <http://download.java.net/maven/2/org/dspace/dspace-oaiextended-webapp/1.6.2 > /dspace-oaiextended-webapp-1.6.2.pom> > Downloading: > http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.6.2/dsp > ace-oaiextended-webapp-1.6.2.pom > <http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.6.2/ds > pace-oaiextended-webapp-1.6.2.pom> > Downloading: > http://download.java.net/maven/2/org/dspace/dspace-oaiextended-api/1.6.2/dsp > ace-oaiextended-api-1.6.2.pom > <http://download.java.net/maven/2/org/dspace/dspace-oaiextended-api/1.6.2/ds > pace-oaiextended-api-1.6.2.pom> > Downloading: > http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.6.2/dspace > -oaiextended-api-1.6.2.pom > <http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.6.2/dspac > e-oaiextended-api-1.6.2.pom> > Downloading: > http://download.java.net/maven/2/org/dspace/dspace-oaiextended-webapp/1.6.2/ > dspace-oaiextended-webapp-1.6.2.war > <http://download.java.net/maven/2/org/dspace/dspace-oaiextended-webapp/1.6.2 > /dspace-oaiextended-webapp-1.6.2.war> > Downloading: > http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.6.2/dsp > ace-oaiextended-webapp-1.6.2.war > <http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.6.2/ds > pace-oaiextended-webapp-1.6.2.war> > Downloading: > http://download.java.net/maven/2/org/dspace/dspace-oaiextended-api/1.6.2/dsp > ace-oaiextended-api-1.6.2.jar > <http://download.java.net/maven/2/org/dspace/dspace-oaiextended-api/1.6.2/ds > pace-oaiextended-api-1.6.2.jar> > Downloading: > http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.6.2/dspace > -oaiextended-api-1.6.2.jar > <http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.6.2/dspac > e-oaiextended-api-1.6.2.jar> > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) org.dspace:dspace-oaiextended-webapp:war:1.6.2 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.dspace > -DartifactId=dspace-oaiextended-webapp -Dversion=1.6.2 -Dpackaging=war > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.dspace > -DartifactId=dspace-oaiextended-webapp -Dversion=1.6.2 -Dpackaging=war > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.dspace.modules:oaiextended:war:1.6.2 > 2) org.dspace:dspace-oaiextended-webapp:war:1.6.2 > > 2) org.dspace:dspace-oaiextended-api:jar:1.6.2 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.dspace > -DartifactId=dspace-oaiextended-api -Dversion=1.6.2 -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.dspace > -DartifactId=dspace-oaiextended-api -Dversion=1.6.2 -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.dspace.modules:oaiextended:war:1.6.2 > 2) org.dspace:dspace-oaiextended-api:jar:1.6.2 > > ---------- > 2 required artifacts are missing. > > for artifact: > org.dspace.modules:oaiextended:war:1.6.2 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), java.net <http://java.net> > (http://download.java.net/maven/2 <http://download.java.net/maven/2>), > maven.dspace.org-snapshot (http://maven.dspace.org/snapshot > <http://maven.dspace.org/snapshot>) > > ----------------------------------------------------------------------- > > > Any help would be appreciated. > > > > --- > Domingo Iglesias > Universitat de Barcelona > Area de Tecnologies > > ---------------------------------------------------------------------------- > -- > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech