Issue Details (XML | Word | Printable)

Key: IZPACK-142
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dan Tran
Reporter: Markus Hoofe
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IzPack

Custom panel jars are not found with maven plugin

Created: 12/Aug/08 09:14 AM   Updated: 12/Aug/08 03:08 PM   Resolved: 12/Aug/08 03:08 PM
Component/s: Maven plugin
Affects Version/s: 4.0.1
Fix Version/s: 4.1.0

Time Tracking:
Not Specified

File Attachments: 1. Text File IzPackMojo.java.patch (0.5 kB)



 Description  « Hide

The maven-plugin (version 1.0-alpha-1) does not find the custom panels jar files even if they are placed in the default location "target/izpack". The resulting error looks like:

Embedded error:
/home/mhoofe/myinstaller/izpack/target/izpack/install.xml:145: Panel jar
file not found: ./bin/panels/MyPanel.jar



Markus Hoofe added a comment - 12/Aug/08 09:15 AM

The reason for the problem is that the IzPackMojo does not set the IzPackHome variable in the "Compiler" class like the ant task does. The supplier patch should it.


Dan Tran added a comment - 12/Aug/08 09:23 AM

applied the patch at

Revision: 2289
Author: dantran
Date: 7:13:18 AM, Tuesday, August 12, 2008
Message:
set the default izpack install home to staging area


Modified : /izpack-maven/trunk/izpack-maven-plugin/src/main/java/org/izpack/mojo/IzPackMojo.java

Please test t the snaphots, once confirm i will release alpha2 this weekend.

Thanks Markus!


Julien Ponge added a comment - 12/Aug/08 03:08 PM

Fixed the issue component / target version fix.