You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Edwin van der Elst <ed...@finalist.com> on 2005/12/28 12:20:32 UTC

configure plugin (jboss-maven)

Hi,

I'm going nuts here, trying to use the jboss-maven plugin in Maven2.
I downloaded the plugin from codehause and installed locally.

Now....

In my pom.xml
	...
	<plugin>
		<groupId>org.codehause.mojo</groupId>
		<artifactId>jboss-maven-plugin</artifactId>
		<version>1.0</version>
		<inherited>false</inherited>
			<configuration>
			<jbossHome>\apps\Jboss-4.0.3\</jbossHome>
		</configuration>
	</plugin>


I always get the error 'jbossHome' not set. 
I tried a lot of combinations (almost), putting this in the pom, the settings.xml, using different syntax (jboss.home), etc. 

Does anyone know if it is possible at all to use this plugin with maven 2.0.1? (Maybe I should just give up and write an Ant file and get on working.....)

Edwin van der Elst




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: configure plugin (jboss-maven)

Posted by Edwin Punzalan <ep...@exist.com>.
That seems to be the correct configuration... can you give the full 
stack trace of the error you encountered?

Btw, if you want to specify a path relative to your current dir, don't 
put the leading backslash "\" in <jbossHome>


Edwin van der Elst wrote:

>Hi,
>
>I'm going nuts here, trying to use the jboss-maven plugin in Maven2.
>I downloaded the plugin from codehause and installed locally.
>
>Now....
>
>In my pom.xml
>	...
>	<plugin>
>		<groupId>org.codehause.mojo</groupId>
>		<artifactId>jboss-maven-plugin</artifactId>
>		<version>1.0</version>
>		<inherited>false</inherited>
>			<configuration>
>			<jbossHome>\apps\Jboss-4.0.3\</jbossHome>
>		</configuration>
>	</plugin>
>
>
>I always get the error 'jbossHome' not set. 
>I tried a lot of combinations (almost), putting this in the pom, the settings.xml, using different syntax (jboss.home), etc. 
>
>Does anyone know if it is possible at all to use this plugin with maven 2.0.1? (Maybe I should just give up and write an Ant file and get on working.....)
>
>Edwin van der Elst
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org