Stop using the dev list for user questions please.
Jason.
On 24 Nov 06, at 10:24 AM 24 Nov 06, baptiste wrote:
My aim is to deploy my application on application server JBoss.
- installation of JBoss version 3.2 + JDK 1.4
- Creation environnement variable JDK
- Creation environnement variable application server JBoss.
- Add a jboss-maven-plugin plugin in pom.xml file
Declaration of plugin :
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<phase>package</phase>
<configuration>
<jbossHome>${env.JBOSS_HOME}</jbossHome>
<serverName>default</serverName>
<hostName>localhost</hostName>
<port>8080</port>
<fileName>${project.build.directory}/${project.build.finalName}.$
{project.packaging}</fileName>
</configuration>
<goals>
<goal>start</goal>
<goal>undeploy</goal>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
${env.JBOSS_HOME} : reference to environnment variable JBOSS_HOME.
with this command : mvn jboss:hardeploy, an error display :
Error Mojo : jbossHome configuration parameter is not set
It seems to me that the configuration of the plugin is correct !!!
Thanks
Baptiste
--
View this message in context: http://www.nabble.com/eploy-
application-on-application-server-JBoss.-tf2699646s177.html#a7527901
Sent from the Maven Developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]