Ensure mandatory parameters are passed

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114207 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion committed 2003-10-14 15:21:05 +00:00
1 parent 921100f72c
commit 347aaadbd1
1 file changed
+4
+4
View File
@@ -5,6 +5,7 @@
xmlns:ant="jelly:ant"
xmlns:dist="dist"
xmlns:license="license"
xmlns:maven="jelly:maven"
xmlns:util="jelly:util">
@@ -20,6 +21,9 @@
<goal name="nsis:generate-project"
description="Generate NSIS project.nsh file">
<maven:param-check value="${maven.dist.bin.assembly.dir}" fail="true"
message="'maven.dist.bin.assembly.dir' must be specified. It is the directory containing files to be placed in the installer"/>
<mkdir dir="${maven.build.dir}"/>
<j:set var="generatedFileName" value="${maven.build.dir}/project.nsh"/>