Yes, you need to run mvn install on the oracle driver you download from their site because they a stingy and don't release it into the maven central repository.
Perhaps the groupID/artifactID settings were incorrect on your install, check the location / command you used to install the jar and post those back to the community to review. Mark On Fri, Jul 30, 2010 at 9:10 AM, Marvin Weaver <[email protected]> wrote: > Since no one replied to my query on this using dspace-1.5.2-src-release, > I decided to try dspace-1.5.2-release. > I did install ojdbc14 into maven as described in the Dspace Manual. I > don't quite understand what I'm supposed to do. Am I to download the > missing files and deploy them to maven before or after the mvn build > failed? As I said I had already installed the ojdbc14 before when I was > building the source version. > This is the failure: > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) com.oracle:ojdbc14:jar:10.2.0.2.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 > -Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=com.oracle -DartifactId=ojdbc14 > -Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) org.dspace.modules:xmlui:war:1.5.2 > 2) com.oracle:ojdbc14:jar:10.2.0.2.0 > > ---------- > 1 required artifact is missing. > > for artifact: > org.dspace.modules:xmlui:war:1.5.2 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > maven.dspace.org-snapshot (http://maven.dspace.org/snapshot) > > > > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Missing: > ---------- > 1) com.oracle:ojdbc14:jar:10.2.0.2.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 > -Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=com.oracle -DartifactId=ojdbc14 > -Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) org.dspace.modules:xmlui:war:1.5.2 > 2) com.oracle:ojdbc14:jar:10.2.0.2.0 > > ---------- > 1 required artifact is missing. > > for artifact: > org.dspace.modules:xmlui:war:1.5.2 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > maven.dspace.org-snapshot (http://maven.dspace.org/snapshot) > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > at > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:592) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: > org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: > Missing: > ---------- > 1) com.oracle:ojdbc14:jar:10.2.0.2.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 > -Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=com.oracle -DartifactId=ojdbc14 > -Dversion=10.2.0.2.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) org.dspace.modules:xmlui:war:1.5.2 > 2) com.oracle:ojdbc14:jar:10.2.0.2.0 > > ---------- > 1 required artifact is missing. > > for artifact: > org.dspace.modules:xmlui:war:1.5.2 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > maven.dspace.org-snapshot (http://maven.dspace.org/snapshot) > > > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:360) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304) > at > org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) > ... 17 more > > Marvin Weaver > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech > -- Mark R. Diggory Head of U.S. Operations - @mire http://www.atmire.com - Institutional Repository Solutions http://www.togather.eu - Before getting together, get t...@ther ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

