I feel like creating a plug-in that will monitor for file changes and
run "test" when notified of a change.

1)  It looks like it's a little cumbersome to call a goal for one
plugin from the execute method of another.
2)  There are a few plugins that look like they wrap this ability
alread ("inherit" is one, "cli" and "mojo-executor library")

Does anyone have an opinions?  I'll probably follow this blog
(http://unserializableone.blogspot.com/2009/06/executing-maven-plugin-from-maven.html)
to get started and have an execute method with

public void execute() {
  while(true) {
    if (lookForChanges()) TestMojo().execute();
  }
}

-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to