Jack Edmonds
Jack Edmonds

Reputation: 33171

How do I write a file with Maven?

Basically, I am looking for the maven equivalent of Ant's <echo> task.

Upvotes: 2

Views: 1402

Answers (2)

Kevin Bowersox
Kevin Bowersox

Reputation: 94469

Maven plugins can be used for this. Under the hood a maven plugin basically uses jelly to execute ant tasks. Anything done in ant can be done in maven. Check out this plugin for running ant tasks: http://maven.apache.org/plugins/maven-antrun-plugin/examples/classpaths.html

Upvotes: 0

emeraldjava
emeraldjava

Reputation: 11202

Use the maven-antrun-plugin ?

Upvotes: 3

Related Questions