Hi, 
I am using NuxeoShell and my business logic requires me to connect to external 
db (oracle) to lookup some values for runtime.

I added a reference to the JDBC driver via Eclipse and the project has the 
reference, but when I compile the code via mvn install, it gives me the error 
below.

I tried creating the lib directory at every level , but still the compile fails.

Please assist. I am not very familiar with the mvn.

running *mvn install*

+[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building Nuxeo Shell Base Commands
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 20090531-204444 at timestamp: 1243817084530
[WARNING] Attempting to build MavenProject instance for Artifact (org.apache.mav
en.plugins:maven-nuxeo-plugin:1.0.8-20081105.192412-6) of type: maven-plugin; co
nstructing POM artifact instead.
[INFO] [nuxeo:eclipse-version {execution: eclipsize-version}]
[INFO] eclipseVersion:5.1.6.0
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'org.jruby:jruby:pom:1.0.3:compile' is invalid. It will be ign
ored for artifact resolution. Reason: The POM expression: ${java.specification.v
ersion} could not be evaluated. Reason: Expression value '${java.specification.v
ersion}' references itself in 'org.jruby:jruby:jar:1.0.3'. for project org.jruby
:jruby at Artifact [org.jruby:jruby:pom:1.0.3:compile]
[INFO] [compiler:compile]
[INFO] Compiling 2 source files to C:\nuxeo-src\nuxeo\nuxeo-shell\nuxeo-shell-co
mmands-base\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
C:\nuxeo-src\nuxeo\nuxeo-shell\nuxeo-shell-commands-base\src\main\java\org\nuxeo
\ecm\shell\commands\repository\FSImportCommand.java:[146,53] package oracle.jdbc
 does not exist

C:\nuxeo-src\nuxeo\nuxeo-shell\nuxeo-shell-commands-base\src\main\java\org\nuxeo
\ecm\shell\commands\repository\FSImportCommand.java:[146,53] package oracle.jdbc
 does not exist


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13 seconds
[INFO] Finished at: Sun May 31 20:44:54 EDT 2009
[INFO] Final Memory: 22M/254M
[INFO] ------------------------------------------------------------------------+
--
Posted by "chksi" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2507#6888>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to