Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • EJB Client JAR

    0 answers - 2319 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Markus,
    No problem.
    I think because of transitive dependencies, the only way they could make
    it work would be to qualify the dependencies which would introduce
    problems elsewhere. Even if the plugin did provide this feature,
    unfortunately for me, I don't think it would be able to accommodate my
    team's requirement for compiling the client at a different JRE target
    level, though.
    -Daryl
    Message
    From: Markus KARG [mailto:markus.karg (AT) gmx (DOT) net]
    Sent: Thursday, September 14, 2006 11:51 AM
    To: Maven Users List
    Cc: karg (AT) quipsy (DOT) de
    Subject: Re: EJB Client JAR
    Daryl,
    thanks a lot for your answer once again. Indeed we managed to let the
    ejb packager create the client jar and now understand why you have not
    been using it. Actually it is scary to see all the Class-Path entries in
    the client Maybe we should file a feature request.
    Thanks again
    Markus
    Daryl.Dwyer (AT) tdameritrade (DOT) com wrote:
    Not necessarily the maven-ejb-plugin way, but you can create a
    separate module for the EJB client and then add a compile dependency
    on the that project in your EJB project's pom. We did this to get
    around the fact that using the generateClient option on the
    maven-ejb-plugin generates a pom for the client with way too many
    dependencies (includes all of the EJBs dependencies) and so that we
    could compile the EJB in 1.5 but compile the client under 1.4.
    Message
    From: Markus KARG [mailto:markus.karg (AT) quipsy (DOT) de]
    Sent: Thursday, September 14, 2006 4:23 AM
    To: Maven Users List
    Subject: EJB Client JAR
    Using Maven2's ejb package, I was able to create an ejb-jar from my
    sources.
    But not I want Maven to create an "EJB Client JAR", that only contains
    the interfaces, and make another JAR dependent of that "EJB Client
    JAR"
    (by means of Class-Path: entry in MANIFEST.MF).
    How to do that?
    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
    --
    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org

Re: EJB Client JAR


max 4000 letters.
Your nickname that display:
In order to stop the spam: 5 + 4 =
QUESTION ON "Java"

EMSDN.COM