[ http://jira.codehaus.org/browse/MCOBERTURA-21?page=all ]

Brett Porter moved MOJO-345 to MCOBERTURA-21:
---------------------------------------------

       Version:     (was: 2.0)
                2.0
    Complexity:   (was: Intermediate)
           Key: MCOBERTURA-21  (was: MOJO-345)
       Project: Maven 2.x Cobertura Plugin  (was: Mojo)

> BUILD ERROR, Unable to parse lifecycle mapping file
> ---------------------------------------------------
>
>          Key: MCOBERTURA-21
>          URL: http://jira.codehaus.org/browse/MCOBERTURA-21
>      Project: Maven 2.x Cobertura Plugin
>         Type: Bug

>     Versions: 2.0
>  Environment: Java 1.5
>     Reporter: Keith E Campbell
>  Attachments: pom.xml
>
>
> When trying to run the surefire-report-maven-plugin (2.0-beta-2-SNAPSHOT), I 
> get the below build error. My guess is that the parser is choking becuase it 
> is not expecting some of the "configuration" entries that are included in my 
> POM. 
> I've attached my POM file for the project. 
> [INFO] Preparing surefire-report:report
> [INFO] 
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Unable to parse lifecycle mapping file: Unrecognised tag: 
> 'configuration' (position: START_TAG seen ...</id>\n        
> <configuration>... @7:24) 
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to parse 
> lifecycle mapping file: Unrecognised tag: 'configuration' (position: 
> START_TAG seen ...</id>\n        <configuration>... @7:24) 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:768)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:731)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:522)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:485)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:455)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         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:585)
>         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.codehaus.plexus.util.xml.pull.XmlPullParserException: 
> Unrecognised tag: 'configuration' (position: START_TAG seen ...</id>\n        
> <configuration>... @7:24) 
>         at 
> org.apache.maven.plugin.lifecycle.io.xpp3.LifecycleMappingsXpp3Reader.parsePhase(LifecycleMappingsXpp3Reader.java:518)
>         at 
> org.apache.maven.plugin.lifecycle.io.xpp3.LifecycleMappingsXpp3Reader.parseLifecycle(LifecycleMappingsXpp3Reader.java:396)
>         at 
> org.apache.maven.plugin.lifecycle.io.xpp3.LifecycleMappingsXpp3Reader.parseLifecycleConfiguration(LifecycleMappingsXpp3Reader.java:447)
>         at 
> org.apache.maven.plugin.lifecycle.io.xpp3.LifecycleMappingsXpp3Reader.read(LifecycleMappingsXpp3Reader.java:808)
>         at 
> org.apache.maven.plugin.descriptor.PluginDescriptor.getLifecycleMapping(PluginDescriptor.java:287)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:759)
>         ... 18 more

-- 
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

Reply via email to