+ Error stacktraces are turned on. Maven version: 2.0.9 Java version: 1.5.0_07 OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\Niall Pemberton\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'c:\j\maven-2.0.9\conf\plugin-registry.xml' [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'commons'. [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo [DEBUG] Retrieving parent-POM: org.apache.commons:commons-parent::7 for project: org.apache.commons:commons-build-plugin:maven-plugin:1.0 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::4 for project: org.apache.commons:commons-parent:pom:7 from the repository. [INFO] ------------------------------------------------------------------------ [INFO] Building Test Ant Plugin loadresource Problem [INFO] task-segment: [commons:jira-page] [INFO] ------------------------------------------------------------------------ [DEBUG] Plugin dependencies for: org.apache.commons:commons-build-plugin:1.0 are: org.apache.maven:maven-script-ant:jar:2.0.8:runtime org.apache.ant:ant:jar:1.7.0:runtime org.apache.ant:ant-launcher:jar:1.7.0:runtime org.codehaus.plexus:plexus-utils:jar:1.1:runtime [DEBUG] org.apache.commons:commons-build-plugin:maven-plugin:1.0:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven-script::2.0.8 for project: null:maven-script-ant:jar:null from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.8 for project: org.apache.maven:maven-script:pom:null from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::6 for project: null:maven:pom:2.0.8 from the repository. [DEBUG] Adding managed dependencies for unknown:maven-script-ant [DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0.8 [DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.0.8 [DEBUG] org.apache.maven:maven-model:jar:2.0.8 [DEBUG] org.apache.maven:maven-project:jar:2.0.8 [DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.0.8 [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.8 [DEBUG] org.apache.maven:maven-artifact:jar:2.0.8 [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.8 [DEBUG] org.apache.maven:maven-artifact-test:jar:2.0.8 [DEBUG] org.apache.maven:maven-settings:jar:2.0.8 [DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.8 [DEBUG] org.apache.maven:maven-profile:jar:2.0.8 [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0.8 [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.8 [DEBUG] org.apache.maven:maven-monitor:jar:2.0.8 [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.6 [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2 [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2 [DEBUG] org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2 [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-beta-2 [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2 [DEBUG] easymock:easymock:jar:1.2_Java1.3:test [DEBUG] classworlds:classworlds:jar:1.1 [DEBUG] org.apache.maven:maven-script-ant:jar:2.0.8:runtime (selected for runtime) [DEBUG] Adding managed dependencies for unknown:maven-plugin-api [DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0.8 [DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.0.8 [DEBUG] org.apache.maven:maven-model:jar:2.0.8 [DEBUG] org.apache.maven:maven-project:jar:2.0.8 [DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.0.8 [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.8 [DEBUG] org.apache.maven:maven-artifact:jar:2.0.8 [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.8 [DEBUG] org.apache.maven:maven-artifact-test:jar:2.0.8 [DEBUG] org.apache.maven:maven-settings:jar:2.0.8 [DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.8 [DEBUG] org.apache.maven:maven-profile:jar:2.0.8 [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0.8 [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.8 [DEBUG] org.apache.maven:maven-monitor:jar:2.0.8 [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.6 [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2 [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2 [DEBUG] org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2 [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-beta-2 [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2 [DEBUG] easymock:easymock:jar:1.2_Java1.3:test [DEBUG] classworlds:classworlds:jar:1.1 [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.8:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-component-factories::1.0-alpha-8 for project: null:plexus-ant-factory:jar:1.0-alpha-2 from the repository. [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.8 for project: null:plexus-component-factories:pom:1.0-alpha-8 from the repository. [DEBUG] org.codehaus.plexus:plexus-ant-factory:jar:1.0-alpha-2:runtime (selected for runtime) [DEBUG] ant:ant-launcher:jar:1.6.5:runtime (selected for runtime) [DEBUG] ant:ant:jar:1.6.5:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: null:plexus-utils:jar:1.0.5 from the repository. [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.5:runtime (selected for runtime) [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-containers::1.0.3 for project: null:plexus-container-default:jar:1.0-alpha-9 from the repository. [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime (selected for runtime) [DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.0.5) [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime (removed - nearer found: 1.0-alpha-9-stable-1) [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:runtime (selected for runtime) [DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.0.5) [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.ant:ant-parent::1.7.0 for project: org.apache.ant:ant:jar:1.7.0 from the repository. [DEBUG] org.apache.ant:ant:jar:1.7.0:runtime (selected for runtime) [DEBUG] org.apache.ant:ant-launcher:jar:1.7.0:runtime (selected for runtime) [DEBUG] org.apache.ant:ant-launcher:jar:1.7.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.5:runtime (removed - nearer found: 1.1) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime) [DEBUG] The following artifacts were filtered out for plugin: org.apache.commons:commons-build-plugin:1.0 because they're already in the core of Maven: These will use the artifact files already in the core ClassRealm instead, to allow them to be included in PluginDescriptor.getArtifacts(). [DEBUG] Configuring mojo 'org.apache.commons:commons-build-plugin:1.0:jira-page' --> [DEBUG] -- end configuration -- [INFO] [commons:jira-page] jira-page: [echo] *** Generating Test Ant Plugin loadresource Problem Issue Tracking Page *** [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to execute: Executing Ant script: /generate-xdocs.build.xml [jira-page]: Failed to execute. Could not create task or type of type: loadresource. Ant could not find the task or a class this task relies upon. This is common and has a number of causes; the usual solutions are to read the manual pages then download and install needed JAR files, or fix the build file: - You have misspelt 'loadresource'. Fix: check your spelling. - The task needs an external JAR file to execute and this is not found at the right place in the classpath. Fix: check the documentation for dependencies. Fix: declare the task. - The task is an Ant optional task and the JAR file and/or libraries implementing the functionality were not found at the time you yourself built your installation of Ant from the Ant sources. Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the task and make sure it contains more than merely a META-INF/MANIFEST.MF. If all it contains is the manifest, then rebuild Ant with the needed libraries present in ${ant.home}/lib/optional/ , or alternatively, download a pre-built release version from apache.org - The build file was written for a later version of Ant Fix: upgrade to at least the latest release version of Ant - The task is not an Ant core or optional task and needs to be declared using . - You are attempting to use a task defined using or but have spelt wrong or not defined it at the point of use Remember that for JAR files to be visible to Ant tasks implemented in ANT_HOME/lib, the files must be in the same directory or on the classpath Please neither file bug reports on this problem, nor email the Ant mailing lists, until all of these causes have been explored, as this is not an Ant bug. [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute: Executing Ant script: /generate-xdocs.build.xml [jira-page]: Failed to execute. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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: Failed to execute: Executing Ant script: /generate-xdocs.build.xml [jira-page]: Failed to execute. at org.apache.maven.script.ant.AntMojoWrapper.execute(AntMojoWrapper.java:56) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 16 more Caused by: org.codehaus.plexus.component.factory.ant.AntComponentExecutionException: Executing Ant script: /generate-xdocs.build.xml [jira-page]: Failed to execute. at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.invoke(AntScriptInvoker.java:227) at org.apache.maven.script.ant.AntMojoWrapper.execute(AntMojoWrapper.java:52) ... 18 more Caused by: C:\DOCUME~1\NIALLP~1\LOCALS~1\Temp\plexus-ant-component24762.build.xml:47: Could not create task or type of type: loadresource. Ant could not find the task or a class this task relies upon. This is common and has a number of causes; the usual solutions are to read the manual pages then download and install needed JAR files, or fix the build file: - You have misspelt 'loadresource'. Fix: check your spelling. - The task needs an external JAR file to execute and this is not found at the right place in the classpath. Fix: check the documentation for dependencies. Fix: declare the task. - The task is an Ant optional task and the JAR file and/or libraries implementing the functionality were not found at the time you yourself built your installation of Ant from the Ant sources. Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the task and make sure it contains more than merely a META-INF/MANIFEST.MF. If all it contains is the manifest, then rebuild Ant with the needed libraries present in ${ant.home}/lib/optional/ , or alternatively, download a pre-built release version from apache.org - The build file was written for a later version of Ant Fix: upgrade to at least the latest release version of Ant - The task is not an Ant core or optional task and needs to be declared using . - You are attempting to use a task defined using or but have spelt wrong or not defined it at the point of use Remember that for JAR files to be visible to Ant tasks implemented in ANT_HOME/lib, the files must be in the same directory or on the classpath Please neither file bug reports on this problem, nor email the Ant mailing lists, until all of these causes have been explored, as this is not an Ant bug. at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:493) at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:391) at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158) at org.apache.tools.ant.Task.perform(Task.java:363) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.invoke(AntScriptInvoker.java:222) ... 19 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Mon Jun 30 13:06:47 BST 2008 [INFO] Final Memory: 2M/5M [INFO] ------------------------------------------------------------------------