Hi Maven experts,

Is there a way to add logging or  echo statement in pom file?

For example in the "install" lifecycle, I want to be able to print out the directory where the sub-module resides:
e.g.
[INFO] ------------------------------------------------------------------------
[INFO] Building Deployment Object Library
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------

I can add ${project.basedir} in the <name> element in the pom.
(e.g. <name>Admin CLI for v3  ${project.basedir}</name>)
If the directory is very long the name will also be long.

Is there a way that I can print the output:
e.g.
[INFO] ------------------------------------------------------------------------
[INFO] Building Deployment Object Library
[INFO[ /export/GlassFish/v3/deploy/dol
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------

Thanks,
Jane

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to