atom feed11 messages in org.apache.maven.devProblem finding loadresource task in ...
FromSent OnAttachments
Niall PembertonMay 16, 2008 7:01 am 
Niall PembertonJun 28, 2008 8:49 am 
Ralph GoersJun 28, 2008 9:56 am 
Niall PembertonJun 28, 2008 7:56 pm 
Ralph GoersJun 28, 2008 9:20 pm 
Niall PembertonJun 29, 2008 6:07 am 
Dennis LundbergJun 29, 2008 7:41 am 
Niall PembertonJun 29, 2008 8:07 am 
Brian E. FoxJun 29, 2008 7:10 pm 
Niall PembertonJun 30, 2008 5:20 am 
Dennis LundbergJul 1, 2008 11:56 am 
Subject:Problem finding loadresource task in maven 2.0.9
From:Niall Pemberton (nial@gmail.com)
Date:May 16, 2008 7:01:51 am
List:org.apache.maven.dev

I recently upgraded from maven 2.0.8 to 2.0.9 and the commons-build-plugin[1][2] - which is an Ant plugin - failed with the following error

INFO] ------------------------------------------------------------------------ [INFO] Building Commons JNet [INFO] task-segment: [commons:sandbox-jira-page] [INFO] ------------------------------------------------------------------------ [INFO] [commons:sandbox-jira-page]

sandbox-jira-page: [echo] *** Generating Commons JNet Sandbox Issue Tracking Page *** [mkdir] Created dir: C:\svn\commons\trunks-sandbox\jnet\target\commons-generated-xdocs [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to execute: Executing Ant script: /generate-xdocs.build.xml [sandbox-jira-page]: Failed to execute.

Could not create task or type of type: loadresource.

The plugin specifies version 1.7.0 of Ant in its pom[3] specifically because the loadresource task was introduce in that version.

Reverting to maven 2.0.8 and the problem goes away. Any ideas? Is this a known issue in 2.0.9?

Niall

[1] http://commons.apache.org/commons-build-plugin/ [2] http://commons.apache.org/commons-build-plugin/source-repository.html [3]
http://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/trunk/pom.xml