Skip to content

Commit

Permalink
Maven helpfully provides null, not an empty list when params are not …
Browse files Browse the repository at this point in the history
…set.
  • Loading branch information
samskivert committed Feb 5, 2013
1 parent 5f24135 commit 7b123e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/samskivert/IkvmMavenMojo.java
Expand Up @@ -62,21 +62,21 @@ public class IkvmMavenMojo extends AbstractMojo
* Additional arguments to pass to IKVM.
* @parameter
*/
public List<String> ikvmArgs;
public List<String> ikvmArgs = new ArrayList<String>();

/**
* Additional DLLs (beyond mscorlib, System and System.Core) to reference. These can be
* absolute paths, or relative to {@code dllPath}.
* @parameter
*/
public List<String> dlls;
public List<String> dlls = new ArrayList<String>();

/**
* DLLs to copy into the target directory. These can be absoulte paths, or relative to {@code
* ikvmPath}.
* @parameter
*/
public List<String> copyDlls;
public List<String> copyDlls = new ArrayList<String>();

/**
* Causes the plugin to copy {@code <type>dll</type>} dependencies into the target directory
Expand Down

0 comments on commit 7b123e3

Please sign in to comment.