You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dayashankar (JIRA)" <ji...@codehaus.org> on 2010/09/09 13:16:32 UTC
[jira] Created: (MASSEMBLY-500) Embedded error: Unrecognised tag:
'files' (position: START_TAG seen
...\n\n\n... @9:8)
Embedded error: Unrecognised tag: 'files' (position: START_TAG seen ...</includeBaseDirectory>\n\n\n<files>... @9:8)
--------------------------------------------------------------------------------------------------------------------
Key: MASSEMBLY-500
URL: http://jira.codehaus.org/browse/MASSEMBLY-500
Project: Maven 2.x Assembly Plugin
Issue Type: Bug
Reporter: Dayashankar
Attachments: assembly.xml
Hi team,
I'm using attached assembly.xml file and while doing mvn assembly:assembly is resulting in following error:
[INFO] Error reading descriptor
Embedded error: Unrecognised tag: 'files' (position: START_TAG seen ...</includeBaseDirectory>\n\n\n<files>... @9:8)
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error reading descriptor
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error reading descriptor
at org.apache.maven.plugin.assembly.AssemblyMojo.readAssembly(AssemblyMojo.java:238)
at org.apache.maven.plugin.assembly.AssemblyMojo.execute(AssemblyMojo.java:144)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'files' (position: START_TAG seen ...</includeBaseDirectory>\n\n\n<files>... @9:8)
at org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Reader.parseAssembly(AssemblyXpp3Reader.java:371)
at org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Reader.read(AssemblyXpp3Reader.java:982)
at org.apache.maven.plugin.assembly.AssemblyMojo.readAssembly(AssemblyMojo.java:230)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MASSEMBLY-500) Embedded error: Unrecognised tag:
'files' (position: START_TAG seen
...\n\n\n... @9:8)
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MASSEMBLY-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236264#action_236264 ]
John Casey commented on MASSEMBLY-500:
--------------------------------------
Please attach an example project that displays this problem. I've used <files/> on many occasions without a problem, going back several versions.
I'd like to know what version of the plugin you're using, too.
> Embedded error: Unrecognised tag: 'files' (position: START_TAG seen ...</includeBaseDirectory>\n\n\n<files>... @9:8)
> --------------------------------------------------------------------------------------------------------------------
>
> Key: MASSEMBLY-500
> URL: http://jira.codehaus.org/browse/MASSEMBLY-500
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Reporter: Dayashankar
> Attachments: assembly.xml
>
>
> Hi team,
> I'm using attached assembly.xml file and while doing mvn assembly:assembly is resulting in following error:
> [INFO] Error reading descriptor
> Embedded error: Unrecognised tag: 'files' (position: START_TAG seen ...</includeBaseDirectory>\n\n\n<files>... @9:8)
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error reading descriptor
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error reading descriptor
> at org.apache.maven.plugin.assembly.AssemblyMojo.readAssembly(AssemblyMojo.java:238)
> at org.apache.maven.plugin.assembly.AssemblyMojo.execute(AssemblyMojo.java:144)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> ... 17 more
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'files' (position: START_TAG seen ...</includeBaseDirectory>\n\n\n<files>... @9:8)
> at org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Reader.parseAssembly(AssemblyXpp3Reader.java:371)
> at org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Reader.read(AssemblyXpp3Reader.java:982)
> at org.apache.maven.plugin.assembly.AssemblyMojo.readAssembly(AssemblyMojo.java:230)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MASSEMBLY-500) Embedded error: Unrecognised tag:
'files' (position: START_TAG seen
...\n\n\n... @9:8)
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MASSEMBLY-500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MASSEMBLY-500.
--------------------------------
Resolution: Cannot Reproduce
Assignee: John Casey
> Embedded error: Unrecognised tag: 'files' (position: START_TAG seen ...</includeBaseDirectory>\n\n\n<files>... @9:8)
> --------------------------------------------------------------------------------------------------------------------
>
> Key: MASSEMBLY-500
> URL: http://jira.codehaus.org/browse/MASSEMBLY-500
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Reporter: Dayashankar
> Assignee: John Casey
> Attachments: assembly.xml
>
>
> Hi team,
> I'm using attached assembly.xml file and while doing mvn assembly:assembly is resulting in following error:
> [INFO] Error reading descriptor
> Embedded error: Unrecognised tag: 'files' (position: START_TAG seen ...</includeBaseDirectory>\n\n\n<files>... @9:8)
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error reading descriptor
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error reading descriptor
> at org.apache.maven.plugin.assembly.AssemblyMojo.readAssembly(AssemblyMojo.java:238)
> at org.apache.maven.plugin.assembly.AssemblyMojo.execute(AssemblyMojo.java:144)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> ... 17 more
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'files' (position: START_TAG seen ...</includeBaseDirectory>\n\n\n<files>... @9:8)
> at org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Reader.parseAssembly(AssemblyXpp3Reader.java:371)
> at org.apache.maven.plugins.assembly.model.io.xpp3.AssemblyXpp3Reader.read(AssemblyXpp3Reader.java:982)
> at org.apache.maven.plugin.assembly.AssemblyMojo.readAssembly(AssemblyMojo.java:230)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira