Hi,
I'm using the following code:
<dependency>
<groupId>connector</groupId>
<artifactId>connector</artifactId>
<version>1_0</version>
<scope>system</scope>
<systemPath>${Build_base}/ma-jdm-tck/lib/connector_1_0.jar</systemPath>
</dependency>
This code is working fine, but it requires everyone to define the
"Build_base" system variable, so is there is another way, where I can
reference the folder where this jar is located without using a system
variable?
For example, can I use something like ${project.build.directory}?
I've a parent folder "Project" where all the build modules are under it
as sub projects, so it would be nice to be able to reference the parent
folder, and then point to any needed third party jar file in any one of
the subfolders.
I know I can also use mvn install:install-file -DgroupId=connector
-DartifactId=connector -Dversion=1_0 -Dpackaging=jar
-Dfile=/path/to/file
But, it would be nice to just reference specific files by pointing at
them using their path, so does Maven support this feature?
Thanks,
Sameh
This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]