|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4971 | major | always | 03-01-12 04:23 | 09-11-14 11:19 | |
|
|
|||||
| Reporter: | RLM | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.14 | ||
| Product Build: | Resolution: | won't fix | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0004971: resin-maven-plugin ignoring resin.version | ||||
| Description: |
When using the resin-maven-plugin version 4.0.14 (for Resin 4.0.15 as there is no plugin for .15) the property -Dresin.version is ignored. The .pom say the License is GPL 2.0 I could not find the source code anywhere so I had to use a decompiler. It seems that the method buildVersionedWarTag in AbstractDeployMojo class is just calling the method buildWarTag NOT adding the version info to the returned CommitBuilder. Please find my modified version in the attached file (buildVersionedWarTag.java) This version checks to see if any version info is given. If not the CommitBuilder is returned "as-is". Otherwise the version-string is split and set on the CommitBuilder before returning it. This implementation expects the version given in "sane" format. That is - its build by up to 4 parts divided by . - the first 3 parts (if present) need to be parseable to int - the 4th part is an optional string Can you please implement this (or simular) fix at least back to version 4.0.14 of the resin-maven-plugin? and release new versions? Best regards René Markvard |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: |
|
||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||