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 > > >