For more information you can take a look at MJBOSS-35 [1]. You might also try
adding jbossall-client as a dependency to the plugin.
It's related to an issue in Maven core that generates the classpaths [2]. So it
isn't fixable in the plugin by itself, but the issue has already been resolved
in Maven 3, which should have a beta release soon.
[1]http://jira.codehaus.org/browse/MJBOSS-35
[2]http://jira.codehaus.org/browse/MNG-3607
David Hoffer wrote:
Is this not fixable in the plugin somehow? We have lots of developers on XP
and can't move all their m2 local repos.
-Dave
On Mon, Feb 15, 2010 at 9:13 AM, Paul Gier <pg...@redhat.com> wrote:
The error that you are seeing is caused by the spaces in the path to the
local Maven repository. Take a look at the site documentation at the bottom
of the start and stop usage page [1].
[1]
http://mojo.codehaus.org/jboss-maven-plugin/examples/start-stop-examples.html
David Hoffer wrote:
Using:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId>
<version>1.4</version>
<configuration>
<jbossHome>C:\JBoss\jboss-5.1.0.GA-cdf</jbossHome>
<serverName>default</serverName>
<hostName>localhost</hostName>
<port>8080</port>
<fileName>${project.build.directory}/${project.build.finalName}.${project.packaging}</fileName>
<unpack>true</unpack>
</configuration>
</plugin>
Running mvn jboss:start-and-wait
I get:
C:\svn\COREFX\trunk\corefx-webapp-jboss>mvn jboss:start-and-wait
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building corefx-webapp-jboss Flex
[INFO] task-segment: [jboss:start-and-wait] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] [jboss:start-and-wait]
[INFO] Starting JBoss...
[INFO] Waiting to retrieve JBoss JMX MBean connection...
[INFO] Waiting to retrieve JBoss JMX MBean connection...
[INFO] Waiting to retrieve JBoss JMX MBean connection...
[INFO] Waiting to retrieve JBoss JMX MBean connection...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to get JBoss JMX MBean connection: null
no protocol: and
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 22 seconds
[INFO] Finished at: Mon Feb 01 08:31:35 MST 2010
[INFO] Final Memory: 16M/39M
[INFO]
------------------------------------------------------------------------
What am I missing?
-Dave
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email