Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta-3.0.7
-
Component/s: Container
-
Labels:None
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
Trying something like
/** * @parameter default-value="${project.file}" */ private String stringParam;
currently fails with
Cause: Cannot assign value '[...]\plexus-conf\pom.xml' to field: MyMojo.stringParam; type: java.io.File
Values of type File as well as other scalar types like Number or URL which can naturally be represented by strings should be acceptable input values for string fields, too.
The proposed patch extends the StringConverter accordingly.
Activity
Jason van Zyl
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.0-beta-2 [ 14651 ] |
Jason van Zyl
made changes -
| Fix Version/s | 1.0-beta-2 [ 14651 ] | |
| Fix Version/s | 1.0-beta-3 [ 14652 ] |
Jason van Zyl
made changes -
| Fix Version/s | 1.0-beta-3.0.6 [ 14897 ] | |
| Fix Version/s | 1.0-beta-3 [ 14652 ] |
Jason van Zyl
made changes -
| Fix Version/s | 1.0-beta-3.0.6 [ 14897 ] | |
| Fix Version/s | 1.0-beta-3.0.7 [ 14918 ] |