Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6, 1.6.1
    • Fix Version/s: 1.6.2
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The ejb plugin from maven 1.1-beta 2 can generated EJB client code maven.ejb.client.generate=true. The client code is placed in repository as ejbs/<myclinet>.jar. Unfortunately war plugin adds only type=jar dependencies and ignores type=ejb dependencies, see maven-war-plugin-1.6.1/plugin.jelly, line 149.

        Activity

        Hide
        Arnaud Heritier added a comment -

        In your article you only add the dependency on the ejb-client jar ?
        But in the generated war the ejb-client jar isn't present !

        Show
        Arnaud Heritier added a comment - In your article you only add the dependency on the ejb-client jar ? But in the generated war the ejb-client jar isn't present !
        Hide
        Jan Bares added a comment -

        Vincent, I know about the article, but it is buggy, even the latest from SVN. Just to be sure, I build it once again and the waf-controller-ejb.jar is not part of waf-web-1.4.war just because of this bug.

        Show
        Jan Bares added a comment - Vincent, I know about the article, but it is buggy, even the latest from SVN. Just to be sure, I build it once again and the waf-controller-ejb.jar is not part of waf-web-1.4.war just because of this bug.
        Hide
        Arnaud Heritier added a comment -

        Fixed

        Show
        Arnaud Heritier added a comment - Fixed
        Hide
        Vincent Massol added a comment -

        Sorry guys. You're right...

        The build worked fined and I failed to notice that the generated WAR didn't have the ejb client bundled. This is all my fault

        Thanks to both of you for fixing this. So in order for the code in the article to work, readers will need to use the WAR plugin v1.6.2...

        Sorry again

        Show
        Vincent Massol added a comment - Sorry guys. You're right... The build worked fined and I failed to notice that the generated WAR didn't have the ejb client bundled. This is all my fault Thanks to both of you for fixing this. So in order for the code in the article to work, readers will need to use the WAR plugin v1.6.2... Sorry again
        Hide
        Arnaud Heritier added a comment -

        Fixed

        Show
        Arnaud Heritier added a comment - Fixed

          People

          • Assignee:
            Arnaud Heritier
            Reporter:
            Jan Bares
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: