From: Geoffrey De S. <ge0...@us...> - 2005-05-06 23:34:50
|
ge0ffrey 05/05/06 16:34:42 Added: izpack/src/plugin-resources/images main.ico main.png uninstaller.ico uninstaller.png izpack/src/plugin-resources/launcher launcher.jsl izpack/src/plugin-resources/templates/application jar-installer-config.jsl shortcut-spec-unix.jsl shortcut-spec-win.jsl izpack/src/plugin-resources/win-installer zip-config.jsl izpack/xdocs goals.xml navigation.xml properties.xml izpack .cvsignore plugin.jelly plugin.properties project.xml Log: initial commit Revision Changes Path 1.1 maven-plugins/izpack/src/plugin-resources/images/main.ico <<Binary file>> 1.1 maven-plugins/izpack/src/plugin-resources/images/main.png <<Binary file>> 1.1 maven-plugins/izpack/src/plugin-resources/images/uninstaller.ico <<Binary file>> 1.1 maven-plugins/izpack/src/plugin-resources/images/uninstaller.png <<Binary file>> 1.1 maven-plugins/izpack/src/plugin-resources/launcher/launcher.jsl Index: launcher.jsl =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- * ======================================================================== * * Copyright 2004-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * ======================================================================== --> <jsl:stylesheet select="$doc" xmlns:j="jelly:core" xmlns:jsl="jelly:jsl" xmlns:maven="jelly:maven" xmlns:x="jelly:xml" xmlns:util="jelly:util" xmlns="dummy"> # Global entries, can be overriden by specific ones jar = ${maven.izpack.installer.final.name} download = http://www.java.com/ <j:if test="${maven.izpack.installer.win.bundle.jre}"> # Win32 specific entries [win32] jre = jre/${maven.izpack.installer.win.bundle.jre.filename} </j:if> </jsl:stylesheet> 1.1 maven-plugins/izpack/src/plugin-resources/templates/application/jar-installer-config.jsl Index: jar-installer-config.jsl =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- * ======================================================================== * * Copyright 2004-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * ======================================================================== --> <jsl:stylesheet select="$doc" xmlns:j="jelly:core" xmlns:jsl="jelly:jsl" xmlns:maven="jelly:maven" xmlns:x="jelly:xml" xmlns:util="jelly:util" xmlns="dummy" trim="true"> <j:set var="installer.path" value="$INSTALL_PATH"/> <installation version="1.0"> <info> <appname>${pom.name}</appname> <appversion>${pom.currentVersion}</appversion> <appsubpath>${maven.final.name}</appsubpath> <authors> <j:set var="developers" value="${pom.developers}"/> <j:if test="${!empty(developers)}"> <j:forEach var="developer" items="${pom.developers}"> <author name="${developer.name}" email="${developer.email}"/> </j:forEach> </j:if> </authors> <url>${pom.url}</url> <javaversion>1.4</javaversion> </info> <guiprefs width="800" height="600" resizable="yes"> <laf name="looks"> <os family="unix"/> <os family="windows"/> <os family="mac"/> </laf> </guiprefs> <locale> <langpack iso3="eng"/> </locale> <!-- For Windows shortcuts --> <native type="izpack" name="ShellLink.dll"/> <resources> <res id="LicencePanel.licence" src="${maven.license.licenseFile}"/> <res id="Unix_shortcutSpec.xml" src="${maven.izpack.build.shortcut.unix.file}"/> <res id="shortcutSpec.xml" src="${maven.izpack.build.shortcut.win.file}"/> </resources> <panels> <panel classname="HelloPanel"/> <panel classname="LicencePanel"/> <panel classname="TargetPanel"/> <panel classname="PacksPanel"/> <panel classname="InstallPanel"/> <panel classname="ShortcutPanel"/> <panel classname="FinishPanel"/> </panels> <packs> <pack name="${pom.name}" required="yes"> <description>${pom.description}</description> <singlefile src="${maven.izpack.template.shortcut.unix.main.icon.file}" target="${installer.path}/${maven.izpack.template.shortcut.build.unix.app.icon.filename}"/> <singlefile src="${maven.izpack.template.shortcut.win.main.icon.file}" target="${installer.path}/${maven.izpack.template.shortcut.build.win.app.icon.filename}"/> <singlefile src="${maven.izpack.template.shortcut.unix.uninstaller.icon.file}" target="${installer.path}/${maven.izpack.template.shortcut.build.unix.uninstaller.icon.filename}"/> <singlefile src="${maven.izpack.template.shortcut.win.uninstaller.icon.file}" target="${installer.path}/${maven.izpack.template.shortcut.build.win.uninstaller.icon.filename}"/> <fileset dir="${maven.izpack.template.pack.core.dir}" targetdir="${installer.path}"/> </pack> </packs> </installation> </jsl:stylesheet> 1.1 maven-plugins/izpack/src/plugin-resources/templates/application/shortcut-spec-unix.jsl Index: shortcut-spec-unix.jsl =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- * ======================================================================== * * Copyright 2004-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * ======================================================================== --> <jsl:stylesheet select="$doc" xmlns:j="jelly:core" xmlns:jsl="jelly:jsl" xmlns:maven="jelly:maven" xmlns:x="jelly:xml" xmlns:util="jelly:util" xmlns="dummy" trim="true"> <shortcuts> <programGroup defaultName="${pom.name} ${pom.currentVersion}" location="applications"/> <skipIfNotSupported/> <!-- maven.jar.final.name doesn't exist (war, ejb, ear do have it) --> <j:set var="installer.path" value="$INSTALL_PATH"/> <shortcut name="${pom.name} ${pom.currentVersion}" programGroup='yes' desktop='yes' applications='no' startMenu='no' startup='no' type='Application' encoding='UTF-8' target='java' commandLine='-jar "${installer.path}/${maven.final.name}.jar"' workingDirectory="${installer.path}" description="${pom.shortDescription}" iconIndex="0" iconFile="${installer.path}/${maven.izpack.template.shortcut.build.unix.app.icon.filename}" initialState="noShow"> </shortcut> <j:if test="${!empty(pom.url)}"> <shortcut name="${pom.name} website" programGroup='yes' desktop='no' applications='no' startMenu='no' startup='no' type='Application' encoding='UTF-8' target="${pom.url}" workingDirectory="${installer.path}" description="Open the ${pom.name} website in your browser" initialState="normal"> </shortcut> </j:if> <shortcut name="Uninstall ${pom.name} ${pom.currentVersion}" programGroup='yes' desktop='no' applications='no' startMenu='no' startup='no' type='Application' encoding='UTF-8' target='java' commandLine='-jar "${installer.path}/Uninstaller/uninstaller.jar"' workingDirectory="" description="Uninstall ${pom.name} ${pom.currentVersion}" iconIndex="0" iconFile="${installer.path}/${maven.izpack.template.shortcut.build.unix.uninstaller.icon.filename}" initialState="noShow"> </shortcut> </shortcuts> </jsl:stylesheet> 1.1 maven-plugins/izpack/src/plugin-resources/templates/application/shortcut-spec-win.jsl Index: shortcut-spec-win.jsl =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- * ======================================================================== * * Copyright 2004-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * ======================================================================== --> <jsl:stylesheet select="$doc" xmlns:j="jelly:core" xmlns:jsl="jelly:jsl" xmlns:maven="jelly:maven" xmlns:x="jelly:xml" xmlns:util="jelly:util" xmlns="dummy" trim="true"> <shortcuts> <programGroup defaultName="${pom.name} ${pom.currentVersion}" location="applications"/> <!-- maven.jar.final.name doesn't exist (war, ejb, ear do have it) --> <j:set var="installer.path" value="$INSTALL_PATH"/> <shortcut name="${pom.name} ${pom.currentVersion}" programGroup="yes" desktop="yes" applications="no" startMenu="no" startup="no" target="javaw" commandLine='-jar "${installer.path}/${maven.final.name}.jar"' workingDirectory="${installer.path}" description="${pom.shortDescription}" iconIndex="0" iconFile="${installer.path}/${maven.izpack.template.shortcut.build.win.app.icon.filename}" initialState="noShow"> </shortcut> <!-- todo currently this link is not generated because of ignoring in izpack --> <j:if test="${!empty(pom.url)}"> <shortcut name="${pom.name} website" programGroup="yes" desktop="yes" applications="no" startMenu="no" startup="no" target="${pom.url}" workingDirectory="${installer.path}" description="Open the ${pom.name} website in your browser" initialState="normal"> </shortcut> </j:if> <shortcut name="Uninstall ${pom.name} ${pom.currentVersion}" programGroup="yes" desktop="no" applications="no" startMenu="no" startup="no" target="javaw" commandLine='-jar "${installer.path}/Uninstaller/uninstaller.jar"' workingDirectory="" description="Uninstall ${pom.name} ${pom.currentVersion}" iconIndex="0" iconFile="${installer.path}/${maven.izpack.template.shortcut.build.win.uninstaller.icon.filename}" initialState="noShow"> </shortcut> </shortcuts> </jsl:stylesheet> 1.1 maven-plugins/izpack/src/plugin-resources/win-installer/zip-config.jsl Index: zip-config.jsl =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- * ======================================================================== * * Copyright 2004-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * ======================================================================== --> <jsl:stylesheet select="$doc" xmlns:j="jelly:core" xmlns:jsl="jelly:jsl" xmlns:maven="jelly:maven" xmlns:x="jelly:xml" xmlns:util="jelly:util" xmlns="dummy"> ;!@Install@!UTF-8! Title="${pom.name} ${pom.currentVersion}" BeginPrompt="Do you want to install ${pom.name} ${pom.currentVersion}?" RunProgram="launcher-Win32.exe" ;!@InstallEnd@! </jsl:stylesheet> 1.1 maven-plugins/izpack/xdocs/goals.xml Index: goals.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- /* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ --> <document> <properties> <title>Maven IzPack Plug-in Goals</title> </properties> <body> <goals> <goal> <name>izpack</name> <description>Calls izpack:jar-installer and pre-requires the dist:prepare-bin-filesystem</description> </goal> <goal> <name>izpack:configure</name> <description>Create the IzPack configuration file</description> </goal> <goal> <name>izpack:jar-installer</name> <description>Generate a IzPack platform independ installer jar</description> </goal> </goals> </body> </document> 1.1 maven-plugins/izpack/xdocs/navigation.xml Index: navigation.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- /* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ --> <project name="Maven NSIS Plug-in"> <title>Maven NSIS Plug-in</title> <body> <links> <item href="http://maven.apache.org/" name="Maven"/> <item href="http://www.izforge.com/izpack/" name="IzPack"/> </links> <menu name="Overview"> <item href="/goals.html" name="Goals"/> <item href="/properties.html" name="Properties"/> </menu> </body> </project> 1.1 maven-plugins/izpack/xdocs/properties.xml Index: properties.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- /* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ --> <document> <properties> <title>Maven IzPack Plug-in Properties</title> </properties> <body> <section name="Maven IzPack Plug-in Settings"> <table> <tr> <th>Property</th> <th>Optional?</th> <th>Description</th> </tr> <!-- <tr>--> <!-- <td>maven.izpack.src.dir</td>--> <!-- <td>Yes</td>--> <!-- <td>--> <!-- <p>Default value is--> <!-- <code>--> <!-- </code>.</p>--> <!-- </td>--> <!-- </tr>--> </table> </section> </body> </document> 1.1 maven-plugins/izpack/.cvsignore Index: .cvsignore =================================================================== target *.log *.log.* *.iml *.ipr *.iws 1.1 maven-plugins/izpack/plugin.jelly Index: plugin.jelly =================================================================== <?xml version="1.0"?> <!-- /* * Copyright 2001-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ --> <project xmlns:j="jelly:core" xmlns:util="jelly:util" xmlns:x="jelly:xml" xmlns:ant="jelly:ant" xmlns:doc="doc" xmlns:maven="jelly:maven"> <goal name="izpack" prereqs="dist:prepare-bin-filesystem, izpack:jar-installer"/> <goal name="izpack:init"> <maven:get var="maven.izpack.bin.assembly.dir" plugin="maven-dist-plugin" property="maven.izpack.bin.assembly.dir"/> <ant:mkdir dir="${maven.izpack.build.dir}"/> <ant:mkdir dir="${maven.izpack.build.config.dir}"/> <ant:mkdir dir="${maven.izpack.build.installer.dir}"/> </goal> <goal name="izpack:configure" prereqs="izpack:init" description="Create or copy the IzPack configuration file"> <j:choose> <j:when test="${maven.izpack.use.template}"> <maven:get var="maven.license.licenseFile" plugin="maven-license-plugin" property="maven.license.licenseFile"/> <!-- maven.jar.final.name doesn't exist (war, ejb, ear do have it) --> <!-- <maven:get var="maven.jar.final.name" plugin="maven-jar-plugin"--> <!-- property="maven.jar.final.name"/>--> <x:parse var="doc"/> <!-- todo question: Why not file://${maven.izpack.template} with 2 //? --> <ant:echo>Generating ${maven.izpack.build.config.file} ...</ant:echo> <!-- <j:set--> <!-- var="stylesheet"--> <!-- value="file:${maven.izpack.template.file}" />--> <!-- <j:file name="${maven.izpack.build.config.file}" outputMode="xml" prettyPrint="yes">--> <!-- <j:include uri="${stylesheet.toString()}" />--> <!-- </j:file>--> <j:file name="${maven.izpack.build.config.file}" outputMode="xml" prettyPrint="yes" xmlns="dummy"> <j:include uri="file:${maven.izpack.template.file}" /> </j:file> <ant:echo>Generating ${maven.izpack.build.shortcut.unix.file} ...</ant:echo> <j:file name="${maven.izpack.build.shortcut.unix.file}" outputMode="xml" prettyPrint="yes" xmlns="dummy"> <j:include uri="file:${maven.izpack.template.shortcut.unix.file}" /> </j:file> <ant:echo>Generating ${maven.izpack.build.shortcut.win.file} ...</ant:echo> <j:file name="${maven.izpack.build.shortcut.win.file}" outputMode="xml" prettyPrint="yes" xmlns="dummy"> <j:include uri="file:${maven.izpack.template.shortcut.win.file}" /> </j:file> </j:when> <j:otherwise> <util:file var="izpackConfigFile" name="${maven.izpack.config.file}" /> <j:if test="${!izpackConfigFile.exists()}"> <fail>The IzPack configuration file '${izpackConfigFile}' could not be found.</fail> </j:if> <ant:copy file="${izpackConfigFile}" tofile="${maven.izpack.build.config.file}" overwite="true"/> </j:otherwise> </j:choose> </goal> <goal name="izpack:jar-installer" prereqs="izpack:init, izpack:configure" description="Generate a IzPack platform independ installer jar"> <ant:taskdef name="izpackTask" classpath="${plugin.getDependencyPath('izpack:izpack-standalone-compiler')}" classname="com.izforge.izpack.ant.IzPackTask"/> <ant:izpackTask input="${maven.izpack.build.config.file}" output="${maven.izpack.build.installer.file}" installerType="${maven.izpack.installer.type}" basedir="${basedir}"/> </goal> <!-- TODO the native launcher should be in the maven repo somehow --> <goal name="izpack:launcher" prereqs="izpack:init, izpack:configure, izpack:jar-installer" description="Generate a IzPack native launcher"> <ant:mkdir dir="${maven.izpack.build.launcher.dir}"/> <util:file var="launcherDistDir" name="${maven.izpack.launcher.install.dir}/dist" /> <j:if test="${!launcherDistDir.exists()}"> <fail>The IzPack launcher dist directory '${launcherDistDir}' could not be found.</fail> </j:if> <ant:copy todir="${maven.izpack.build.launcher.dir}" overwite="true"> <ant:fileset dir="${launcherDistDir}"/> </ant:copy> <ant:copy file="${maven.izpack.build.installer.file}" tofile="${maven.izpack.build.launcher.dir}/${maven.izpack.installer.final.name}" overwite="true"/> <j:if test="${maven.izpack.installer.win.bundle.jre}"> <ant:mkdir dir="${maven.izpack.build.launcher.dir}/jre"/> <util:file var="jreFile" name="${maven.izpack.installer.win.bundle.jre.dir}/${maven.izpack.installer.win.bundle.jre.filename}" /> <j:if test="${!jreFile.isFile()}"> <fail>The JRE file '${jreFile}' could not be found.</fail> </j:if> <ant:copy file="${jreFile}" tofile="${maven.izpack.build.launcher.dir}/jre/${maven.izpack.installer.win.bundle.jre.filename}"/> </j:if> <x:parse var="doc"/> <util:file var="launcherConfigFile" name="${maven.izpack.build.launcher.dir}/launcher.ini" /> <ant:echo>Generating ${launcherConfigFile} ...</ant:echo> <j:file name="${launcherConfigFile}" prettyPrint="false" xmlns="dummy" omitXmlDeclaration="true" escapeText="false"> <j:include uri="file:${maven.izpack.launcher.template.file}" /> </j:file> </goal> <!-- todo the 7-zip tool should be in the maven repo somehow --> <!-- todo the 7-zip tool should not be called natively --> <goal name="izpack:win-installer" prereqs="izpack:init, izpack:configure, izpack:jar-installer, izpack:launcher" description="Generate a IzPack Windows installer exe"> <ant:mkdir dir="${maven.izpack.build.installer.win.dir}"/> <util:file var="sevenzipFile" name="${maven.izpack.sevenzip.install.dir}/7zS.sfx" /> <j:if test="${!sevenzipFile.exists()}"> <fail>The 7-Zip file '${sevenzipFile}' could not be found.</fail> </j:if> <ant:copy file="${sevenzipFile}" tofile="${maven.izpack.build.installer.win.dir}/7zS.sfx"/> <util:file var="zipConfigFile" name="${maven.izpack.build.installer.win.dir}/config.txt" /> <ant:echo>Generating ${zipConfigFile} ...</ant:echo> <j:file name="${zipConfigFile}" prettyPrint="false" xmlns="dummy" omitXmlDeclaration="true" escapeText="false"> <j:include uri="file:${maven.izpack.installer.win.config.template.file}" /> </j:file> <ant:delete file="${maven.izpack.build.installer.win.dir}/files.7z"/> <util:file var="sevenzipApp" name="${maven.izpack.sevenzip.install.dir}/7z.exe" /> <j:if test="${!sevenzipApp.exists()}"> <fail>The 7-Zip application '${sevenzipApp}' could not be found.</fail> </j:if> <ant:echo>Compressing with 7-Zip ...</ant:echo> <ant:exec executable="${sevenzipApp}" dir="${maven.izpack.build.launcher.dir}"> <ant:arg line='a -t7z "${maven.izpack.build.installer.win.dir}/files.7z" "*" -r'/> </ant:exec> <ant:concat destfile="${maven.izpack.build.installer.win.file}" binary="yes"> <ant:fileset file="${maven.izpack.build.installer.win.dir}/7zS.sfx"/> <ant:fileset file="${maven.izpack.build.installer.win.dir}/config.txt"/> <ant:fileset file="${maven.izpack.build.installer.win.dir}/files.7z"/> </ant:concat> </goal> </project> 1.1 maven-plugins/izpack/plugin.properties Index: plugin.properties =================================================================== # ------------------------------------------------------------------- # Copyright 2001-2004 The Apache Software Foundation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ------------------------------------------------------------------- # ------------------------------------------------------------------- # P L U G I N P R O P E R I E S # ------------------------------------------------------------------- # IzPack plugin. # ------------------------------------------------------------------- # Source of extra configuration files for izpack maven.izpack.src.dir = ${basedir}/src/izpack # The IzPack build directory maven.izpack.build.dir = ${maven.build.dir}/izpack # IzPack configuration maven.izpack.build.config.dir = ${maven.izpack.build.dir}/config maven.izpack.build.config.file = ${maven.izpack.build.config.dir}/izpack-config.xml maven.izpack.build.shortcut.unix.file = ${maven.izpack.build.config.dir}/shortcutSpecUnix.xml maven.izpack.build.shortcut.win.file = ${maven.izpack.build.config.dir}/shortcutSpecWin.xml maven.izpack.installer.type = standard maven.izpack.build.installer.dir = ${maven.izpack.build.dir}/installer maven.izpack.installer.final.name = ${maven.final.name}-installer.jar maven.izpack.build.installer.file = ${maven.izpack.build.installer.dir}/${maven.izpack.installer.final.name} maven.izpack.use.template = true # if use.template is false maven.izpack.config.file = ${maven.izpack.src.dir}/jarInstallerConfig.xml # Template properties (if use.template is true) maven.izpack.template = application maven.izpack.template.file = ${plugin.resources}/templates/${maven.izpack.template}/jar-installer-config.jsl maven.izpack.template.shortcut.unix.file = ${plugin.resources}/templates/${maven.izpack.template}/shortcut-spec-unix.jsl maven.izpack.template.shortcut.win.file = ${plugin.resources}/templates/${maven.izpack.template}/shortcut-spec-win.jsl ### application template (default) # Directory containing contents to be installed maven.izpack.template.pack.core.dir = ${maven.dist.bin.assembly.dir} maven.izpack.template.shortcut.unix.main.icon.file = ${plugin.resources}/images/main.png maven.izpack.template.shortcut.win.main.icon.file = ${plugin.resources}/images/main.ico maven.izpack.template.shortcut.unix.uninstaller.icon.file = ${plugin.resources}/images/uninstaller.png maven.izpack.template.shortcut.win.uninstaller.icon.file = ${plugin.resources}/images/uninstaller.ico maven.izpack.template.shortcut.build.unix.app.icon.filename = ${pom.name}.png maven.izpack.template.shortcut.build.win.app.icon.filename = ${pom.name}.ico maven.izpack.template.shortcut.build.unix.uninstaller.icon.filename = uninstaller.png maven.izpack.template.shortcut.build.win.uninstaller.icon.filename = uninstaller.ico ### Native launcher maven.izpack.launcher.install.dir = C:/Program Files/izpack-launcher-1.2 maven.izpack.build.launcher.dir = ${maven.izpack.build.installer.dir}/launcher maven.izpack.launcher.template.file = ${plugin.resources}/launcher/launcher.jsl ### Win installer maven.izpack.sevenzip.install.dir = C:/Program Files/7-Zip maven.izpack.build.installer.win.dir = ${maven.izpack.build.installer.dir}/win-installer maven.izpack.installer.win.bundle.jre = false maven.izpack.installer.win.bundle.jre.dir = maven.izpack.installer.win.bundle.jre.filename = maven.izpack.installer.win.config.template.file = ${plugin.resources}/win-installer/zip-config.jsl maven.izpack.installer.win.final.name = ${maven.final.name}-win-installer.exe maven.izpack.build.installer.win.file = ${maven.izpack.build.installer.dir}/${maven.izpack.installer.win.final.name} 1.1 maven-plugins/izpack/project.xml Index: project.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- /* * Copyright 2001-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ --> <project> <extend>${basedir}/../plugin-project.xml</extend> <!--<extend>../plugin-parent/project.xml</extend>--> <pomVersion>3</pomVersion> <artifactId>maven-izpack-plugin</artifactId> <name>Maven IzPack Plugin</name> <currentVersion>0.3.0</currentVersion> <description> A plugin to generate installers using IzPack. The basic installer is a platform independend installer jar which requires a JVM on the destination machine. That platform independend installer can be bundled with a JVM into a Win32 installer exe. </description> <shortDescription>IzPack Plugin for Maven</shortDescription> <url>http://maven.apache.org/reference/plugins/izpack/</url> <issueTrackingUrl>http://jira.codehaus.org/browse/MPIZPACK</issueTrackingUrl> <siteDirectory>/www/maven.apache.org/reference/plugins/izpack/</siteDirectory> <repository> <connection>scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/izpack/</connection> <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/izpack/</developerConnection> <url>http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/izpack/</url> </repository> <versions> <!-- <version>--> <!-- <id>0.1</id>--> <!-- <name>0.1</name>--> <!-- <tag>MAVEN_IZPACK_0_1</tag>--> <!-- </version>--> </versions> <branches/> <mailingLists/> <developers> <developer> <name>Geoffrey De Smet</name> <id>ge0ffrey</id> <email>ge0ffrey_AT_users_DOT_sourceforge_DOT_net</email> <roles> <role>Java Developer</role> </roles> <url>http://users.pandora.be/geoffrey</url> <timezone>+1</timezone> </developer> <developer> <name>Philip Dodds</name> <id>pdodds</id> <email>pdodds_AT_unity-systems.com</email> <organization>Unity Systems</organization> <timezone>0</timezone> </developer> </developers> <dependencies> <dependency> <groupId>commons-jelly</groupId> <artifactId>commons-jelly-tags-xml</artifactId> <version>1.0</version> <url>http://jakarta.apache.org/commons/jelly/libs/xml/</url> </dependency> <dependency> <groupId>commons-jelly</groupId> <artifactId>commons-jelly-tags-jsl</artifactId> <version>1.0</version> <url>http://jakarta.apache.org/commons/jelly/libs/jsl/</url> </dependency> <dependency> <groupId>izpack</groupId> <artifactId>izpack-standalone-compiler</artifactId> <version>3.7.2</version> <url>http://www.izforge.com/izpack/</url> </dependency> </dependencies> </project> |