Issue Resolved. 

Actually the problem is (due to dspace online documentaation which says: to 
manually install Oracle JDBC Driver with maven command : mvn install:install 
..... , as incomplete oracle version is mentioned 11.2.0.3 instead of 
11.2.0.3.0) .

Secondly again according to dspace online documentation: add Oracle dependency 
descriptor in pom.xml , which is not required, because it is already mentioned 
in pom.xml file, ALL you need is to correct the driver version 11.2.0.2.0 TO 
11.2.0.3.0 

After that run mvn package command to build your package for oracle . You will 
be successful.



--- On Thu, 12/13/12, mErRYo <[email protected]> wrote:

From: mErRYo <[email protected]>
Subject: Re: Mvn package build fail
To: [email protected]
Cc: [email protected], [email protected], [email protected], 
[email protected], [email protected]
Date: Thursday, December 13, 2012, 9:14 PM

Guys I already these steps as mentioned by Mr. Wood and Helix but the result is 
same error. I got few warnings also which is as follows:

[WARNING] Some problems were encountered while building the effective model for 
org.dspace:dspace:pom:3.0
[WARNING] 
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
 must be unique: com.oracle:ojdbc6:jar -> version 11.2.0.2 vs 11.2.0.2.0 @ 
org.dspace:dspace-parent:3.0, /usr/local/dspace-3.0-src-release/pom.xml, line 
853, column 22
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.

my log file is also attached.


--- On Thu, 12/13/12, helix84
 <[email protected]> wrote:

From: helix84 <[email protected]>
Subject: Re: Mvn package build fail
To: "mErRYo" <[email protected]>
Cc: [email protected], [email protected], [email protected], 
[email protected]
Date: Thursday, December 13, 2012, 7:22 PM

On Thu, Dec 13, 2012 at 1:46 PM, mErRYo <[email protected]> wrote:
> I am using dspace 3.0 release and my maven build is failing when i try to run 
> this command
> mvn -Ddb.name=oracle package

The correct installation procedure for Oracle is described in the
official documentation:

https://wiki.duraspace.org/display/DSDOC3x/Installation


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to