Hi 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.
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <executions> <execution> <id>start-jetty</id> <phase>pre-integration-test</phase> <configuration> <tasks> <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"> <classpath> <pathelement path="${compile_classpath}" /> <pathelement path="${runtime_classpath}" /> <pathelement path="${test_classpath}" /> </classpath> </java> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> [INFO] [antrun:run {execution: start-jetty}] [INFO] Executing tasks [java] 2010-01-22 10:21:56.446::INFO: Logging to STDERR via org.mortbay.log.StdErrLog [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: http://old.nabble.com/maven2-not-forking-ant-task-tp27271201p27271201.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org