maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maruf Aytekin <aayte...@gmail.com>
Subject Eear libraries classpath
Date Fri, 29 Jan 2010 15:48:55 GMT
Hi All

We are creatign an ear as a result artifact of a maven project. In the
ear file we package all libraries with the final names without verison
numbers. Maven creates classpaths for those libraries with the
names+versions.

Example:

We have an EAR package contains Module A and B

Module A  depends on Module B

ModuleA's manifest-mf:

Implementation-Title: Module A
Implementation-Version: 1.5.2-SNAPSHOT
Implementation-Vendor-Id: vendor id
Class-Path: ModuleB-1.5.2-SNAPSHOT.jar


ModuleB's manifets mf:

Implementation-Title: Module B
Implementation-Version: 1.5.2-SNAPSHOT
Implementation-Vendor-Id: vendor id


EAR PAckage:
 ---- ModuleA.jar
 ---- ModuleB.jar

Is this a problem; having ModuleB as ModuleB.jar in ear package? Can
ModuleA fsee ModuleB on the classpath?

If the answer is no, how do I addd dependencies to the manifest.mf
classpath without version numbers only with the finalNames?

Many thanks for your help.

Regards
Maruf

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message