More detail on the project.jelly template
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115651 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
d5a6f593e8
commit
c9f641b706
1 file changed
+25
@@ -71,6 +71,31 @@
|
||||
</ol>
|
||||
</p>
|
||||
<subsection name="project.jelly">
|
||||
<p>
|
||||
This template produces a file (<code>${maven.build.dir}/project.nsi</code>)
|
||||
which is included in the generated setup file.
|
||||
</p>
|
||||
<p>
|
||||
The template makes available select values from the <code>project.xml</code>
|
||||
for use in the installation process as constants, i.e. using the NSIS
|
||||
<code>!define</code> statement.
|
||||
</p>
|
||||
<table>
|
||||
<tr><th>Constant</th> <th>Value</th></tr>
|
||||
<tr><td>ORGANIZATION</td> <td>${pom.organization}</td></tr>
|
||||
<tr><td>PROJECT_BUILD_DIR</td> <td>${maven.build.dir}</td></tr>
|
||||
<tr><td>PROJECT_FINAL_NAME</td> <td>${maven.final.name}</td></tr>
|
||||
<tr><td>PROJECT_LICENSE_FILE</td> <td>${maven.license.licenseFile}</td></tr>
|
||||
<tr><td>PROJECT_LICENSE_TEXT</td> <td>${maven.nsis.license.text}</td></tr>
|
||||
<tr><td>PROJECT_NAME</td> <td>${pom.name}</td></tr>
|
||||
<tr><td>PROJECT_REG_KEY</td> <td>SOFTWARE\${pom.organization}\${pom.name}\${pom.currentVersion}</td></tr>
|
||||
<tr><td>PROJECT_REG_UNINSTALL_KEY</td> <td>Software\Microsoft\Windows\CurrentVersion\Uninstall\${pom.name} ${pom.currentVersion}</td></tr>
|
||||
<tr><td>PROJECT_STARTMENU_FOLDER</td> <td>$$SMPROGRAMS\${pom.organization}\${pom.name} ${pom.currentVersion}</td></tr>
|
||||
<tr><td>PROJECT_VERSION</td> <td>${pom.currentVersion}</td></tr>
|
||||
<tr><td>PROJECT_DIST_BIN_DIR</td> <td>${maven.dist.bin.assembly.dir}</td></tr>
|
||||
<tr><td>PROJECT_DIST_DIR</td> <td>${maven.dist.dir}</td></tr>
|
||||
<tr><td>PROJECT_LOGO</td> <td>${maven.nsis.logo}</td></tr>
|
||||
</table>
|
||||
</subsection>
|
||||
<subsection name="setup.jelly">
|
||||
</subsection>
|
||||
|
||||
Reference in new issue
Block a user