This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Maven 'targets'?

Oct 5th, 2004, 08:33 AM

With ant we can do: ant -p

and get a nice list of applicable targets for the project. I've looked but don't see anything similar with Maven. There are -h and -g, but these don't help or are targeted as well as the ant projecthelp task.

If there really isn't something similar, perhaps its just a simple matter of adding one to the maven.xml file. Something like:

Comment

Thats a great idea. We do that with our ant script; the default is the project help.

BTW, with Ant, I tried to code a call to Ant's internal method that does the -projecthelp, so that we could decorate it with our custom needs, but all that is private, could not even subclass and use easily, so gave up.