mmm...

I just see the pom.xml file in dspace-rest (svn) and in the <parent>
node appears "<version>1.8.0-SNAPSHOT</version>". You must replace
this line with you dspace version.

In step 5a) you must copy any pom.xml from anywhere (pe: /modules/jspui).

On Tue, Nov 8, 2011 at 3:03 AM, Abhishek Raval <abhis...@webinito.com> wrote:
> Hello Dennis,
>
> thanks for the help ......
>
> i m still not getting wat to do in step 5a) ???..... i just take pom.xml
> from ../modules/jspui & put into ../modules/rest/....is it right ?
>
> pom.xml file need to edit or not ???
>
>
> On Mon, Nov 7, 2011 at 5:02 PM, Dennis Tobar <dennis.to...@gmail.com> wrote:
>>
>> Hi,
>>
>> I think that you must rename the dspace version in pom.xml in the
>> dspace-rest directory, because pom is looking for dspace 1.8.0. Snapshot,
>> but I think that you aren't using that version.
>>
>> I just playing with it around two months ago, an this was the first
>> problem to resolve.
>>
>> Regards,
>> Dennis Tobar
>>
>> El 07/11/2011 07:47, "Abhishek Raval" <abhis...@webinito.com> escribió:
>>
>> >
>> > Hello,
>> >
>> >
>> >      I m trying to integrate DSPACE REST-API into dspace-1.7.2. During
>> > the R&D i found some steps to follow through which i can do that. steps are
>> > below.
>> >
>> > 1) Create a new directory for the REST module source code -
>> > dspace-src/dspace-rest.
>> >
>> > 2) Checkout the source code from
>> > http://scm.dspace.org/svn/repo/modules/dspace-rest/trunk/ into the new
>> > directory.
>> >
>> > 3) Incorporate the new module into your project by adding a new <module>
>> > element for dspace-rest to the 'all' profile in dspace-src/pom.xml.
>> >
>> > 4) Tell Maven to use your new local module by adding a new <profile> to
>> > dspace-src/dspace/pom.xml. If you don't do this the project will build okay
>> > but won't be using your local source code for that module.
>> >
>> > 5) Create a new directory dspace-src/dspace/modules/rest.
>> >
>> > 5a) Add a sub-directory src/main/webapp and a pom.xml to the directory
>> > created in 5. (Copy the pom from any other modules/xxxx module).
>> >
>> > 6) Add a <profile> to dspace-src/dspace/modules/pom.xml.
>> >
>> > 7) Rebuild your project.
>> >
>> >
>> >
>> > aftr doing this when i m trying to perform "mvn package" it gives me
>> > error as per below
>> >
>> >
>> > D:\dspace-agro\dspace-rest\dspace-1.7.2-src-release>mvn package
>> > [INFO] Scanning for projects...
>> > Downloading:
>> > http://source.sakaiproject.org/maven2//org/dspace/dspace-parent/1.8
>> > .0-SNAPSHOT/dspace-parent-1.8.0-SNAPSHOT.pom
>> > [WARNING] Unable to get resource
>> > 'org.dspace:dspace-parent:pom:1.8.0-SNAPSHOT' f
>> > rom repository sakaiproject repository
>> > (http://source.sakaiproject.org/maven2/):
>> >  Error transferring file: source.sakaiproject.org
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] FATAL ERROR
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Error building POM (may not be this project's POM).
>> >
>> >
>> > Project ID: org.dspace:dspace-rest:war:null
>> >
>> > Reason: Cannot find parent: org.dspace:dspace-parent for project:
>> > org.dspace:dsp
>> > ace-rest:war:null for project org.dspace:dspace-rest:war:null
>> >
>> >
>> >
>> > anyone have any idea abt this ....how do i go farther on this ?
>> >
>> >
>> >
>
>
>
>



-- 
Dennis Tobar Calderón
Ingeniero en Informática UTEM
Licenciado en Ciencias de la Ingeniería UTEM

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to