Add a warning for the users of the old property maven.ant.generatebuild.file
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@405226 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
eb7608270d
commit
49f772f839
1 file changed
+6
-1
+6
-1
@@ -40,7 +40,12 @@
|
||||
<goal
|
||||
name="ant:generate-build"
|
||||
description="Generate an Ant build file">
|
||||
|
||||
<j:if test="${context.getVariable('maven.ant.generatebuild.file') != null and !context.getVariable('maven.ant.generatebuild.file').equals('')}">
|
||||
<ant:echo>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</ant:echo>
|
||||
<ant:echo>The property "maven.ant.generatebuild.file" is no more used.</ant:echo>
|
||||
<ant:echo>Use the properties "maven.ant.generate.dir" and "maven.ant.generate.script" instead</ant:echo>
|
||||
<ant:echo>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</ant:echo>
|
||||
</j:if>
|
||||
<ant:echo>Generating ${maven.ant.generate.dir}/${maven.ant.generate.script} ...</ant:echo>
|
||||
<j:file name="${maven.ant.generate.dir}/${maven.ant.generate.script}" prettyPrint="true">
|
||||
<j:import file="${plugin.resources}/templates/build.jelly" inherit="true"/>
|
||||
|
||||
Reference in new issue
Block a user