Patch to fix compilation in linux
---------------------------------
Key: LABS-432
URL: https://issues.apache.org/jira/browse/LABS-432
Project: Labs
Issue Type: Bug
Components: Hupa
Affects Versions: Current
Environment: Linux, Ubuntu 9.04 && Centos 5.3
Reporter: Manuel Carrasco
maven build fails because it's unable to find the third-party libraries
included in the project.
The problem is due that the children pom.xml don't look for the libraries in
the parent folder, so adding '/../' before 'lib' fixes the problem.
I attach two patches which fixes this issue, I prefer the second one because
gets the libraries directly from the Hupa's svn server.
BTW: I suggest to deploy these libraries in the Hupa's site (not using the
trunk folder), instead of including them in the project.
Manolo
PATCH-1
--- pom.xml (revision 811233)
+++ pom.xml (working copy)
@@ -101,7 +101,7 @@
<repository>
<id>lib-repo</id>
<name>lib-m2-repository</name>
- <url>file://${basedir}/lib</url>
+ <url>file://${basedir}/../lib</url>
<layout>legacy</layout>
<snapshots>
<enabled>false</enabled>
PATCH-2
--- pom.xml (revision 811235)
+++ pom.xml (working copy)
@@ -101,7 +101,7 @@
<repository>
<id>lib-repo</id>
<name>lib-m2-repository</name>
- <url>file://${basedir}/lib</url>
+ <url>http://svn.apache.org/repos/asf/labs/hupa/lib</url>
<layout>legacy</layout>
<snapshots>
<enabled>false</enabled>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]