maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From struts-restful <>
Subject maven2 not forking ant task
Date Fri, 22 Jan 2010 10:28:34 GMT


i have a ant task defined in Maven as below and when it runs from within the
maven build phase the jvm does not seem to fork. Does anyone have any ideas.
I have also included the output from the console when the ant task is
starting up. It does not mention any forking in the start up either.

			<property name="compile_classpath" refid="maven.compile.classpath" />
			<property name="runtime_classpath" refid="maven.runtime.classpath" />
			<property name="test_classpath" refid="maven.test.classpath" />
			<property name="plugin_classpath" refid="maven.plugin.classpath" />
			<java classname="java.main class" 
				fork="true" failonerror="true" clonevm="true">
				<pathelement path="${compile_classpath}" />
				<pathelement path="${runtime_classpath}" />
				<pathelement path="${test_classpath}" />

[INFO] [antrun:run {execution: start-jetty}]
[INFO] Executing tasks
     [java] 2010-01-22 10:21:56.446::INFO:  Logging to STDERR via
     [java] Starting server on 8083
     [java] 2010-01-22 10:21:56.446::INFO:  jetty-6.1.11
     [java] 2010-01-22 10:21:57.962::INFO:  No Transaction manager found -
if your webapp requires one, please configure one.
------not included remaining server startup 

Thanks in advance 
View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message