From 09b48be89c0d5d8a1357f7dea1013566ba9d9a16 Mon Sep 17 00:00:00 2001 From: dion Date: Mon, 5 Jul 2004 13:20:37 +0000 Subject: [PATCH] Use pom.organization.name instead of pom.organization git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115661 13f79535-47bb-0310-9956-ffa450edef68 --- nsis/src/plugin-resources/templates/project.jelly | 6 +++--- nsis/xdocs/changes.xml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nsis/src/plugin-resources/templates/project.jelly b/nsis/src/plugin-resources/templates/project.jelly index 91b6d1ef..ac6065cf 100644 --- a/nsis/src/plugin-resources/templates/project.jelly +++ b/nsis/src/plugin-resources/templates/project.jelly @@ -31,7 +31,7 @@ ; generated by ${user.name} from project.xml version ${pom.currentVersion} ; on date ${TODAY}, time ${TSTAMP} -!define ORGANIZATION "${pom.organization}" +!define ORGANIZATION "${pom.organization.name}" !define PROJECT_BUILD_DIR "${build}" !define PROJECT_DIST_BIN_DIR "${maven.dist.bin.assembly.dir}" !define PROJECT_DIST_DIR "${maven.dist.dir}" @@ -41,9 +41,9 @@ !define PROJECT_LICENSE_TEXT "${maven.nsis.license.text}" !define PROJECT_NAME "${pom.name}" -!define PROJECT_REG_KEY "SOFTWARE\${pom.organization}\${pom.name}\${pom.currentVersion}" +!define PROJECT_REG_KEY "SOFTWARE\${pom.organization.name}\${pom.name}\${pom.currentVersion}" !define PROJECT_REG_UNINSTALL_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${pom.name} ${pom.currentVersion}" -!define PROJECT_STARTMENU_FOLDER "$$SMPROGRAMS\${pom.organization}\${pom.name} ${pom.currentVersion}" +!define PROJECT_STARTMENU_FOLDER "$$SMPROGRAMS\${pom.organization.name}\${pom.name} ${pom.currentVersion}" !define PROJECT_URL "${pom.url}" !define PROJECT_VERSION "${pom.currentVersion}" diff --git a/nsis/xdocs/changes.xml b/nsis/xdocs/changes.xml index 5476ce27..2ea9a626 100644 --- a/nsis/xdocs/changes.xml +++ b/nsis/xdocs/changes.xml @@ -25,6 +25,7 @@ + Use pom.organization.name instead of pom.organization. Add PROJECT_URL to constants.