Hi everybody,

I have a problem with deploying an internal repository. In fact, I have some modules as the following:
- module A
   + module A1
         + module A11
               + pom.xml
               + src
               + libs
         + module A12
   + module A2


In the module A11, I use some libraries and they are stored in the 'libs' directory. One of them, for example the library "B". I created the structure of directory (groupId/actifactId/version/artifactId-version) so that I ready deploy the library "B" from the 'libs' directory. In the pom.xml, I declared below:

 <repositories>
   <repository>
     <id>private-cosmos-B</id>
     <url>file:${basedir}/libs</url>
   </repository>
 </repositories>


But it seems to me that Maven can't understand the usage of ${basedir} in this context. In fact, the relative path is important so that I can compile my modules from the module A. Could anyone help me to solve my problem?

Thanks in advance,
Kinh

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to