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:
1 parent
921100f72c
commit
347aaadbd1
1 file changed
+4
@@ -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"/>
|
||||
|
||||
Reference in new issue
Block a user