Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1747

Make the individual tutorials runnable through Maven

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 1.1.2
    • 1.1.1
    • docs
    • None
    • Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial

    Description

      The EJB3 tutorials currently can be built and run through Ant and Maven. However Maven support is not that great and currently works as follows:

      1) An aggregator (jboss-ejb3-tutorial-parent) first triggers the AS to start (through a "init" module)
      2) All the tutorials are then run one after other
      3) The aggregator then finally uses a "shutdown" module to stop the server.

      This doesn't allow a single tutorial to be run through Maven, because the AS is started outside the tutorial.

      To fix this, maven profile(s) need to be created. Ex: A "RunAllTutorial" profile which does the same steps as above and a "RunOneTutorial" which is responsible for running the single tutorial (with the additional steps of starting/stopping the AS).

      Attachments

        Issue Links

          Activity

            People

              jaikiran Jaikiran Pai (Inactive)
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: