Have you set up any profile(s) in pom.xml? If so, can you check if a profile is
being activated?
Cheers,
Rahul
----- Original Message -----
From: "Edwin van der Elst" <[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
Sent: Thursday, December 29, 2005 9:07 PM
Subject: RE: configure plugin (jboss-maven)
Hi,
Below is the full stacktrace. (mvn -X jboss:harddeploy)
It isn't picking up the parameters.
Edwin
[DEBUG] Configuring mojo
'org.codehaus.mojo:jboss-maven-plugin:1.0:harddeploy' -->
[DEBUG] (f) fileName = C:\cvs\wfz-leda\target/Leda-1.0-SNAPSHOT.pom
[DEBUG] (f) jbossHome = NONE
[DEBUG] (f) serverName = default
[DEBUG] -- end configuration --
[INFO] [jboss:harddeploy]
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] jbossHome configuration parameter is not set.
[INFO]
----------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: jbossHome configuration
parameter is not set.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:485)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:455)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.ja
a:303)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: jbossHome
configuration parameter is not set.
at
org.codehaus.mojo.jboss.AbstractJBossMojo.checkConfig(AbstractJBossMojo.java:52)
at
org.codehaus.mojo.jboss.HardDeployMojo.execute(HardDeployMojo.java:43)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:432)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:530)
... 16 more
-----Oorspronkelijk bericht-----
Van: Edwin Punzalan [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 29 december 2005 2:59
Aan: Maven Users List
Onderwerp: Re: configure plugin (jboss-maven)
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>
---------------------------------------------------------------------
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]