Hi there,
You can use the install-file goal to install your jar in the local repo
with m2 format of dependencies.
Please refer to this page
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIinstallafileinmylocalrepositoryalongwithagenericPOM
-allan
Muri Josef (KCDA 12) wrote:
Hi all,
Is there any mechanism in m2 so I can reference dependencies that do not
match the pattern <artifact>-<version>.jar
I have quite a few jars that follow the conventions
<name>_<version>.jar.
Within Maven 1 I could define it in the <jar> tag. I could not do so in
Maven2.
<dependency>
<groupId>mygroup</groupId>
<artifactId>Update_1_classes</artifactId>
<jar>Update_1_classes.jar</jar>
<type>jar</type>
</dependency>
thanx
josef
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/200 - Release Date: 12/14/2005
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]