You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Dennis Lundberg <de...@apache.org> on 2008/07/01 20:57:17 UTC

Re: Problem finding loadresource task in maven 2.0.9

Niall Pemberton wrote:
> On Sun, Jun 29, 2008 at 3:42 PM, Dennis Lundberg <de...@apache.org> wrote:
>> Niall Pemberton wrote:
>>> On Sat, Jun 28, 2008 at 5:56 PM, Ralph Goers <Ra...@dslextreme.com>
>>> wrote:
>>>> What does -X tell you?
>>> Not alot that makes any sense to me, but thanks for the suggestion - I
>>> ran it with that option for both maven 2.0.8 and 2.0.9 and the output
>>> for both is here:
>>>
>>> http://people.apache.org/~niallp/commons-build-plugin/
>> The stack trace helped me find where I had seen this before. It is a bug in
>> Ant 1.7.0, that has been fixed in Ant 1.7.1 on 2007-05-22. It is not
>> properly handling spaces in paths. Unfortunately there has not yet been a
>> release of Ant 1.7.1.
> 
> Sorry I'm a bit confused - seems like you're referring to the issue I
> had described in the following thread when I upgraded from maven 2.0.7
> to 2.0.8, rather than this issue with not finding the loadresource
> task when I upgraded from 2.0.8 to 2.0.9:
> 
>    http://markmail.org/message/hmwabpxrq76mbp3l
> 
> ...or is this somehow related?

No, I'm the one who's confused.
Sorry for the noise.

> Niall
> 
>>> Niall
>>>
>>>> Niall Pemberton wrote:
>>>>> Anyone got any ideas on this - should I open a JIRA ticket (if so
>>>>> against what?) or should I have asked this on the user list? I posted
>>>>> here coz it looks like a maven bug to me.
>>>>>
>>>>> Niall
>>>>>
>>>>> On Fri, May 16, 2008 at 3:02 PM, Niall Pemberton
>>>>> <ni...@gmail.com> wrote:
>>>>>
>>>>>> 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
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org