there's an easy way to tst you ejb within a container if this'
is what you are looking for...
you should run JUnit tests using JBoss microcontainer..that you can start'
from your junit tests easily.'
Check a mail that Mr Chris Richardson has sent to me few days ago...
it's easier (this said with all rspect to the method you want to try)
hth
marc
On 3/22/06, Pete <[EMAIL PROTECTED]> wrote:
>
> o/s : Windows XP
> Maven: 2.0.2
> JBoss 4 : latest version for EJB3
> Java 1.5
> Will have to check the jboss-maven-plugin version at work tomorrow, but it
> should be the latest as I specified no specific version in the pomx.xml
>
> Thanks.
>
> On 22/03/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > It would be helpful if you could include the following info:
> >
> > operating system
> > maven version
> > jboss version
> > java/jdk version
> > jboss-maven-plugin version
> >
> >
> > Wayne
> >
> > On 3/22/06, Pete <[EMAIL PROTECTED]> wrote:
> > > Has anyone succeeded in using the
> > > jboss-maven-plugin
> > >
> > > to start JBoss ? It says starting...
> > >
> > > but as far as I can tell it isn't started ? I put a pause in the
> > > pom.xmlusing AntRun just to make sure it wasn't shutting down again.
> > >
> > > I was hoping it would start JBoss the echo the console to the Maven2
> > console
> > > window ?
> > > I'd then run some JUnits that require the container started, then stop
> > > jboss.
> > >
> > >
> > > [INFO] [jboss:start {execution: jboss-maven-plugin start container}]
> > >
> > > [INFO] Starting JBoss...
> > >
> > > POM.XML is like this
> > >
> > > <plugin>
> > > <groupId>org.codehaus.mojo</groupId>
> > > <artifactId>jboss-maven-plugin</artifactId>
> > > <executions>
> > > <execution>
> > > <id>jboss-maven-plugin start container </id>
> > > <phase>install</phase>
> > > <configuration>
> > > <!-- below is set in parent POM but can be overidden in user's
> > > settings.xml -->
> > > <jbossHome>${JBossHome}</jbossHome>
> > > <serverName>default</serverName>
> > > </configuration>
> > > <goals>
> > > <goal>start</goal>
> > > </goals>
> > > </execution>
> > > </executions>
> > > </plugin>
> > >
> > >
> >
>
>