[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1747) Make the individual tutorials runnable through Maven
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Fri Feb 27 05:00:44 EST 2009
Make the individual tutorials runnable through Maven
----------------------------------------------------
Key: EJBTHREE-1747
URL: https://jira.jboss.org/jira/browse/EJBTHREE-1747
Project: EJB 3.0
Issue Type: Task
Components: docs
Affects Versions: 1.1.1
Environment: JBoss-AS 5.0.x
Reporter: jaikiran pai
Assignee: jaikiran pai
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).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list