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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to