You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by an...@nokia.com on 2006/02/14 13:07:57 UTC

ear:ear and symbolic links in repository

Hi,
 
I am trying to assemble an ear file with maven 1.0.2 on linux. The
problem is that I have a lot of dependencies, which have to go into the
ear file as libraries, which have to be downloaded from the web and
manually added to the repository. I did this with symbolic links under
linux, and this is causing problems for the ear:ear goal. The below
mentioned oss_common_spec-1.2.jar is copied to the repository for
testing purposes (it was a link previously), the oss_cbe_service_spec is
a symbolic link. I couldn't find any open bug report for this behaviour.
The problem is - as far as I can tell - that the test

<j:if
test="${!(checkFile.getAbsolutePath().equals(checkFile.getCanonicalPath(
)))}">

Doesn't work for symbolic links.

Here's the output from the build:
 
ear:ear:
    [echo] Building EAR oss_sa_ri_ear-1.2 with appxml
"/home/andreas/Documents/Development/java.net/ossj/service_activation/ro
ot/../ri/app/target/application.xml"
    [echo] Bundling: jar - ossj:oss_common_spec - 1.2
    [echo] Dependency oss_common_spec-1.2.jar will be bundled as
/oss_common_spec-1.2.jar
    [copy] Copying 1 file to
/home/andreas/Documents/Development/java.net/ossj/service_activation/ri/
app/target/tmpEarDeps

BUILD FAILED
File...... 
/home/andreas/Documents/Development/java.net/ossj/service_activation/roo
t/maven.xml
Element... m:reactor
Line...... 28
Column.... 131
Unable to obtain goal [ear:ear] --
/home/andreas/.maven/cache/maven-ear-plugin-1.6/plugin.jelly:99:24: 
<ant:fail> Case-sensitive issue: The dependency
ossj:oss_cbe_service_spec has a case problem.  The dependency was either
retrieved in the past with the wrong case or has been specified with the
wrong case in your project.xml file.  Fix your project.xml or update
your local repository with the properly-cased file and try again.
Total time: 10 seconds
Finished at: Wed Feb 08 09:37:32 CET 2006

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org