You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tinguaro Barreno (JIRA)" <ji...@codehaus.org> on 2012/06/29 12:05:21 UTC
[jira] (MPLUGIN-218) Tag 'since' not recognized in the plugin model
Tinguaro Barreno created MPLUGIN-218:
----------------------------------------
Summary: Tag 'since' not recognized in the plugin model
Key: MPLUGIN-218
URL: https://jira.codehaus.org/browse/MPLUGIN-218
Project: Maven 2.x Plugin Tools
Issue Type: Bug
Components: Metadata Model
Affects Versions: 3.0, 2.9, 2.8, 2.7, 2.10, 3.1
Reporter: Tinguaro Barreno
Priority: Minor
Attachments: maven-plugin-tools.patch
Hi,
When using the 'since' tag in ANT mojo descriptors, the builds fails:
---
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:2.7:descriptor (default-descriptor) on project trivial-maven-plugin: Error extracting plugin descriptor: 'Error extracting mojo descriptor from script: .../src/main/scripts/sample.mojos.xml': Error parsing file: .../src/main/scripts/sample.mojos.xml.
Reason: Cannot parse plugin metadata from file. Unrecognised tag: 'since' (position: START_TAG seen ...</requiresProject>\n <since>... @10:14) -> [Help 1]
---
The solution is very trivial: just add the tag information to the modello ('plugin-metadata.mdo').
I attach a patch for the 'maven-plugin-tools' trunk.
Best wishes,
Tinguaro Barreno
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MPLUGIN-218) Tag 'since' not recognized in the plugin model
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MPLUGIN-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy reassigned MPLUGIN-218:
------------------------------------
Assignee: Olivier Lamy
> Tag 'since' not recognized in the plugin model
> ----------------------------------------------
>
> Key: MPLUGIN-218
> URL: https://jira.codehaus.org/browse/MPLUGIN-218
> Project: Maven 2.x Plugin Tools
> Issue Type: Bug
> Components: Metadata Model
> Affects Versions: 2.7, 2.8, 2.9, 2.10, 3.0
> Reporter: Tinguaro Barreno
> Assignee: Olivier Lamy
> Priority: Minor
> Fix For: 3.1
>
> Attachments: maven-plugin-tools.patch, trivial-mojo.zip
>
>
> Hi,
> When using the 'since' tag in ANT mojo descriptors, the builds fails:
> ---
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:2.7:descriptor (default-descriptor) on project trivial-maven-plugin: Error extracting plugin descriptor: 'Error extracting mojo descriptor from script: .../src/main/scripts/sample.mojos.xml': Error parsing file: .../src/main/scripts/sample.mojos.xml.
> Reason: Cannot parse plugin metadata from file. Unrecognised tag: 'since' (position: START_TAG seen ...</requiresProject>\n <since>... @10:14) -> [Help 1]
> ---
> The solution is very trivial: just add the tag information to the modello ('plugin-metadata.mdo').
> I attach a patch for the 'maven-plugin-tools' trunk.
> Best wishes,
> Tinguaro Barreno
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MPLUGIN-218) Tag 'since' not recognized in the plugin model
Posted by "Tinguaro Barreno (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MPLUGIN-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tinguaro Barreno updated MPLUGIN-218:
-------------------------------------
Attachment: trivial-mojo.zip
Testcase: just a mojo with 'since' tag in the descriptor and parameter.
> Tag 'since' not recognized in the plugin model
> ----------------------------------------------
>
> Key: MPLUGIN-218
> URL: https://jira.codehaus.org/browse/MPLUGIN-218
> Project: Maven 2.x Plugin Tools
> Issue Type: Bug
> Components: Metadata Model
> Affects Versions: 2.7, 2.8, 2.9, 2.10, 3.0, 3.1
> Reporter: Tinguaro Barreno
> Priority: Minor
> Attachments: maven-plugin-tools.patch, trivial-mojo.zip
>
>
> Hi,
> When using the 'since' tag in ANT mojo descriptors, the builds fails:
> ---
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:2.7:descriptor (default-descriptor) on project trivial-maven-plugin: Error extracting plugin descriptor: 'Error extracting mojo descriptor from script: .../src/main/scripts/sample.mojos.xml': Error parsing file: .../src/main/scripts/sample.mojos.xml.
> Reason: Cannot parse plugin metadata from file. Unrecognised tag: 'since' (position: START_TAG seen ...</requiresProject>\n <since>... @10:14) -> [Help 1]
> ---
> The solution is very trivial: just add the tag information to the modello ('plugin-metadata.mdo').
> I attach a patch for the 'maven-plugin-tools' trunk.
> Best wishes,
> Tinguaro Barreno
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MPLUGIN-218) Tag 'since' not recognized in the plugin model
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MPLUGIN-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated MPLUGIN-218:
---------------------------------
Affects Version/s: (was: 3.1)
Fix Version/s: 3.1
> Tag 'since' not recognized in the plugin model
> ----------------------------------------------
>
> Key: MPLUGIN-218
> URL: https://jira.codehaus.org/browse/MPLUGIN-218
> Project: Maven 2.x Plugin Tools
> Issue Type: Bug
> Components: Metadata Model
> Affects Versions: 2.7, 2.8, 2.9, 2.10, 3.0
> Reporter: Tinguaro Barreno
> Assignee: Olivier Lamy
> Priority: Minor
> Fix For: 3.1
>
> Attachments: maven-plugin-tools.patch, trivial-mojo.zip
>
>
> Hi,
> When using the 'since' tag in ANT mojo descriptors, the builds fails:
> ---
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:2.7:descriptor (default-descriptor) on project trivial-maven-plugin: Error extracting plugin descriptor: 'Error extracting mojo descriptor from script: .../src/main/scripts/sample.mojos.xml': Error parsing file: .../src/main/scripts/sample.mojos.xml.
> Reason: Cannot parse plugin metadata from file. Unrecognised tag: 'since' (position: START_TAG seen ...</requiresProject>\n <since>... @10:14) -> [Help 1]
> ---
> The solution is very trivial: just add the tag information to the modello ('plugin-metadata.mdo').
> I attach a patch for the 'maven-plugin-tools' trunk.
> Best wishes,
> Tinguaro Barreno
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MPLUGIN-218) Tag 'since' not recognized in the plugin model
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MPLUGIN-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MPLUGIN-218.
--------------------------------
Resolution: Fixed
applied.
Thanks!
> Tag 'since' not recognized in the plugin model
> ----------------------------------------------
>
> Key: MPLUGIN-218
> URL: https://jira.codehaus.org/browse/MPLUGIN-218
> Project: Maven 2.x Plugin Tools
> Issue Type: Bug
> Components: Metadata Model
> Affects Versions: 2.7, 2.8, 2.9, 2.10, 3.0
> Reporter: Tinguaro Barreno
> Assignee: Olivier Lamy
> Priority: Minor
> Fix For: 3.1
>
> Attachments: maven-plugin-tools.patch, trivial-mojo.zip
>
>
> Hi,
> When using the 'since' tag in ANT mojo descriptors, the builds fails:
> ---
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:2.7:descriptor (default-descriptor) on project trivial-maven-plugin: Error extracting plugin descriptor: 'Error extracting mojo descriptor from script: .../src/main/scripts/sample.mojos.xml': Error parsing file: .../src/main/scripts/sample.mojos.xml.
> Reason: Cannot parse plugin metadata from file. Unrecognised tag: 'since' (position: START_TAG seen ...</requiresProject>\n <since>... @10:14) -> [Help 1]
> ---
> The solution is very trivial: just add the tag information to the modello ('plugin-metadata.mdo').
> I attach a patch for the 'maven-plugin-tools' trunk.
> Best wishes,
> Tinguaro Barreno
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MPLUGIN-218) Tag 'since' not recognized in the plugin model
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MPLUGIN-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=302183#comment-302183 ]
Olivier Lamy commented on MPLUGIN-218:
--------------------------------------
Thanks for the patch.
Do you have any test case to add at least for ant mojos ?
> Tag 'since' not recognized in the plugin model
> ----------------------------------------------
>
> Key: MPLUGIN-218
> URL: https://jira.codehaus.org/browse/MPLUGIN-218
> Project: Maven 2.x Plugin Tools
> Issue Type: Bug
> Components: Metadata Model
> Affects Versions: 2.7, 2.8, 2.9, 2.10, 3.0, 3.1
> Reporter: Tinguaro Barreno
> Priority: Minor
> Attachments: maven-plugin-tools.patch
>
>
> Hi,
> When using the 'since' tag in ANT mojo descriptors, the builds fails:
> ---
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:2.7:descriptor (default-descriptor) on project trivial-maven-plugin: Error extracting plugin descriptor: 'Error extracting mojo descriptor from script: .../src/main/scripts/sample.mojos.xml': Error parsing file: .../src/main/scripts/sample.mojos.xml.
> Reason: Cannot parse plugin metadata from file. Unrecognised tag: 'since' (position: START_TAG seen ...</requiresProject>\n <since>... @10:14) -> [Help 1]
> ---
> The solution is very trivial: just add the tag information to the modello ('plugin-metadata.mdo').
> I attach a patch for the 'maven-plugin-tools' trunk.
> Best wishes,
> Tinguaro Barreno
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira