ear:ear doesn't work with symbolic links in repository for libaries
-------------------------------------------------------------------
Key: MAVEN-1747
URL: http://jira.codehaus.org/browse/MAVEN-1747
Project: Maven
Type: Bug
Versions: 1.0.2
Environment: ubuntu / linux
Reporter: Andreas Ebbert-Karroum
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/root/../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_activ
>ation/root/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
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]