You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Simone Tripodi <si...@apache.org> on 2013/01/07 21:37:47 UTC

Fwd: [doap-plugin] property value not interpolated?

Hi mates,

forwarding to dev@ - is that a bug?

TIA!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



---------- Forwarded message ----------
From: Simone Tripodi <si...@apache.org>
Date: Sun, Jan 6, 2013 at 8:41 PM
Subject: [doap-plugin] <shortdesc> property value not interpolated?
To: Maven Users List <us...@maven.apache.org>


Hi all guys,

I am tryin' to plug the doap-plugin in Apache Onami and I noticed a
strange behaviour of the `shotdesc` property.

If not specified, the plugin terminates with an error:

[ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.

If I specify as

<doapOptions>
  <shortdesc>${project.description}</shortdesc>
</doapOptions>

it terminates with the same error message:

[ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.

If I set a value, such as

<doapOptions>
  <shortdesc>Bazinga!</shortdesc>
</doapOptions>

It goes ok.

Ah, and yes, the ${project.description} property is specified :)

Is there something I overlooked or maybe a known issue?
TIA!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

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


Re: [doap-plugin] property value not interpolated?

Posted by Simone Tripodi <si...@apache.org>.
Salut Vincent!

I recorder that issue on MDOAP-38 :)

Many thanks in advance, all the best!
-Simo

[1] https://jira.codehaus.org/browse/MDOAP-38

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/


On Tue, Jan 8, 2013 at 12:35 PM, Vincent Siveton
<vi...@gmail.com> wrote:
> Hi Simone!
>
> Probably a bug.
>
> DoapUtil.interpolate() should does the job.
>
> Please create an issue with your project.
>
> V.
>
> 2013/1/8 Simone Tripodi <si...@apache.org>:
>> Salut Olivier!
>>
>>> Note project.description is the default value :-)
>>>
>>
>> yes that is why I got crazy :P
>>
>>> Is-it an open source with this issue ?
>>
>> Yes I just included it in the Onami parent on /trunk. If I launch
>>
>> `mvn install site`
>>
>> I got the following error
>>
>> [INFO] --- maven-doap-plugin:1.1:generate (site) @ org.apache.onami.parent ---
>> [INFO] This project is an ASF project, ASF Extensions to DOAP will be added.
>> [INFO] Generating an ASF DOAP file
>> /Users/stripodi/Documents/apache-workspace/onami/trunk/parent/target/site/doap.rdf
>> [ERROR]
>> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the plugin documentation:
>> [ERROR] http://maven.apache.org/plugins/maven-doap-plugin/usage.html#DOAP_ASF_Configuration
>>
>> Any idea?
>>
>> TIA, all the best!
>> -Simo
>>
>> http://people.apache.org/~simonetripodi/
>> http://simonetripodi.livejournal.com/
>> http://twitter.com/simonetripodi
>> http://www.99soft.org/
>>
>>
>> On Mon, Jan 7, 2013 at 9:52 PM, Olivier Lamy <ol...@apache.org> wrote:
>>> Hi Simo,
>>> I just changed an it with that and cannot reproduce.
>>
>>>
>>> 2013/1/7 Simone Tripodi <si...@apache.org>:
>>>> Hi mates,
>>>>
>>>> forwarding to dev@ - is that a bug?
>>>>
>>>> TIA!
>>>> -Simo
>>>>
>>>> http://people.apache.org/~simonetripodi/
>>>> http://simonetripodi.livejournal.com/
>>>> http://twitter.com/simonetripodi
>>>> http://www.99soft.org/
>>>>
>>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Simone Tripodi <si...@apache.org>
>>>> Date: Sun, Jan 6, 2013 at 8:41 PM
>>>> Subject: [doap-plugin] <shortdesc> property value not interpolated?
>>>> To: Maven Users List <us...@maven.apache.org>
>>>>
>>>>
>>>> Hi all guys,
>>>>
>>>> I am tryin' to plug the doap-plugin in Apache Onami and I noticed a
>>>> strange behaviour of the `shotdesc` property.
>>>>
>>>> If not specified, the plugin terminates with an error:
>>>>
>>>> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
>>>>
>>>> If I specify as
>>>>
>>>> <doapOptions>
>>>>   <shortdesc>${project.description}</shortdesc>
>>>> </doapOptions>
>>>>
>>>> it terminates with the same error message:
>>>>
>>>> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
>>>>
>>>> If I set a value, such as
>>>>
>>>> <doapOptions>
>>>>   <shortdesc>Bazinga!</shortdesc>
>>>> </doapOptions>
>>>>
>>>> It goes ok.
>>>>
>>>> Ah, and yes, the ${project.description} property is specified :)
>>>>
>>>> Is there something I overlooked or maybe a known issue?
>>>> TIA!
>>>> -Simo
>>>>
>>>> http://people.apache.org/~simonetripodi/
>>>> http://simonetripodi.livejournal.com/
>>>> http://twitter.com/simonetripodi
>>>> http://www.99soft.org/
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>
>>>
>>>
>>>
>>> --
>>> Olivier Lamy
>>> Talend: http://coders.talend.com
>>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

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


Re: [doap-plugin] property value not interpolated?

Posted by Simone Tripodi <si...@apache.org>.
Salut Vincent!

Is the doap-plugin code still on SVN or has been migrated to Git?
Just to see if I am able to fix it by myself...

TIA!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/


On Tue, Jan 8, 2013 at 12:35 PM, Vincent Siveton
<vi...@gmail.com> wrote:
> Hi Simone!
>
> Probably a bug.
>
> DoapUtil.interpolate() should does the job.
>
> Please create an issue with your project.
>
> V.
>
> 2013/1/8 Simone Tripodi <si...@apache.org>:
>> Salut Olivier!
>>
>>> Note project.description is the default value :-)
>>>
>>
>> yes that is why I got crazy :P
>>
>>> Is-it an open source with this issue ?
>>
>> Yes I just included it in the Onami parent on /trunk. If I launch
>>
>> `mvn install site`
>>
>> I got the following error
>>
>> [INFO] --- maven-doap-plugin:1.1:generate (site) @ org.apache.onami.parent ---
>> [INFO] This project is an ASF project, ASF Extensions to DOAP will be added.
>> [INFO] Generating an ASF DOAP file
>> /Users/stripodi/Documents/apache-workspace/onami/trunk/parent/target/site/doap.rdf
>> [ERROR]
>> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the plugin documentation:
>> [ERROR] http://maven.apache.org/plugins/maven-doap-plugin/usage.html#DOAP_ASF_Configuration
>>
>> Any idea?
>>
>> TIA, all the best!
>> -Simo
>>
>> http://people.apache.org/~simonetripodi/
>> http://simonetripodi.livejournal.com/
>> http://twitter.com/simonetripodi
>> http://www.99soft.org/
>>
>>
>> On Mon, Jan 7, 2013 at 9:52 PM, Olivier Lamy <ol...@apache.org> wrote:
>>> Hi Simo,
>>> I just changed an it with that and cannot reproduce.
>>
>>>
>>> 2013/1/7 Simone Tripodi <si...@apache.org>:
>>>> Hi mates,
>>>>
>>>> forwarding to dev@ - is that a bug?
>>>>
>>>> TIA!
>>>> -Simo
>>>>
>>>> http://people.apache.org/~simonetripodi/
>>>> http://simonetripodi.livejournal.com/
>>>> http://twitter.com/simonetripodi
>>>> http://www.99soft.org/
>>>>
>>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Simone Tripodi <si...@apache.org>
>>>> Date: Sun, Jan 6, 2013 at 8:41 PM
>>>> Subject: [doap-plugin] <shortdesc> property value not interpolated?
>>>> To: Maven Users List <us...@maven.apache.org>
>>>>
>>>>
>>>> Hi all guys,
>>>>
>>>> I am tryin' to plug the doap-plugin in Apache Onami and I noticed a
>>>> strange behaviour of the `shotdesc` property.
>>>>
>>>> If not specified, the plugin terminates with an error:
>>>>
>>>> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
>>>>
>>>> If I specify as
>>>>
>>>> <doapOptions>
>>>>   <shortdesc>${project.description}</shortdesc>
>>>> </doapOptions>
>>>>
>>>> it terminates with the same error message:
>>>>
>>>> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
>>>>
>>>> If I set a value, such as
>>>>
>>>> <doapOptions>
>>>>   <shortdesc>Bazinga!</shortdesc>
>>>> </doapOptions>
>>>>
>>>> It goes ok.
>>>>
>>>> Ah, and yes, the ${project.description} property is specified :)
>>>>
>>>> Is there something I overlooked or maybe a known issue?
>>>> TIA!
>>>> -Simo
>>>>
>>>> http://people.apache.org/~simonetripodi/
>>>> http://simonetripodi.livejournal.com/
>>>> http://twitter.com/simonetripodi
>>>> http://www.99soft.org/
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>
>>>
>>>
>>>
>>> --
>>> Olivier Lamy
>>> Talend: http://coders.talend.com
>>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

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


Re: [doap-plugin] property value not interpolated?

Posted by Vincent Siveton <vi...@gmail.com>.
Hi Simone!

Probably a bug.

DoapUtil.interpolate() should does the job.

Please create an issue with your project.

V.

2013/1/8 Simone Tripodi <si...@apache.org>:
> Salut Olivier!
>
>> Note project.description is the default value :-)
>>
>
> yes that is why I got crazy :P
>
>> Is-it an open source with this issue ?
>
> Yes I just included it in the Onami parent on /trunk. If I launch
>
> `mvn install site`
>
> I got the following error
>
> [INFO] --- maven-doap-plugin:1.1:generate (site) @ org.apache.onami.parent ---
> [INFO] This project is an ASF project, ASF Extensions to DOAP will be added.
> [INFO] Generating an ASF DOAP file
> /Users/stripodi/Documents/apache-workspace/onami/trunk/parent/target/site/doap.rdf
> [ERROR]
> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the plugin documentation:
> [ERROR] http://maven.apache.org/plugins/maven-doap-plugin/usage.html#DOAP_ASF_Configuration
>
> Any idea?
>
> TIA, all the best!
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
>
>
> On Mon, Jan 7, 2013 at 9:52 PM, Olivier Lamy <ol...@apache.org> wrote:
>> Hi Simo,
>> I just changed an it with that and cannot reproduce.
>
>>
>> 2013/1/7 Simone Tripodi <si...@apache.org>:
>>> Hi mates,
>>>
>>> forwarding to dev@ - is that a bug?
>>>
>>> TIA!
>>> -Simo
>>>
>>> http://people.apache.org/~simonetripodi/
>>> http://simonetripodi.livejournal.com/
>>> http://twitter.com/simonetripodi
>>> http://www.99soft.org/
>>>
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Simone Tripodi <si...@apache.org>
>>> Date: Sun, Jan 6, 2013 at 8:41 PM
>>> Subject: [doap-plugin] <shortdesc> property value not interpolated?
>>> To: Maven Users List <us...@maven.apache.org>
>>>
>>>
>>> Hi all guys,
>>>
>>> I am tryin' to plug the doap-plugin in Apache Onami and I noticed a
>>> strange behaviour of the `shotdesc` property.
>>>
>>> If not specified, the plugin terminates with an error:
>>>
>>> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
>>>
>>> If I specify as
>>>
>>> <doapOptions>
>>>   <shortdesc>${project.description}</shortdesc>
>>> </doapOptions>
>>>
>>> it terminates with the same error message:
>>>
>>> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
>>>
>>> If I set a value, such as
>>>
>>> <doapOptions>
>>>   <shortdesc>Bazinga!</shortdesc>
>>> </doapOptions>
>>>
>>> It goes ok.
>>>
>>> Ah, and yes, the ${project.description} property is specified :)
>>>
>>> Is there something I overlooked or maybe a known issue?
>>> TIA!
>>> -Simo
>>>
>>> http://people.apache.org/~simonetripodi/
>>> http://simonetripodi.livejournal.com/
>>> http://twitter.com/simonetripodi
>>> http://www.99soft.org/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>
>>
>>
>> --
>> Olivier Lamy
>> Talend: http://coders.talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

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


Re: [doap-plugin] property value not interpolated?

Posted by Simone Tripodi <si...@apache.org>.
Salut Olivier!

> Note project.description is the default value :-)
>

yes that is why I got crazy :P

> Is-it an open source with this issue ?

Yes I just included it in the Onami parent on /trunk. If I launch

`mvn install site`

I got the following error

[INFO] --- maven-doap-plugin:1.1:generate (site) @ org.apache.onami.parent ---
[INFO] This project is an ASF project, ASF Extensions to DOAP will be added.
[INFO] Generating an ASF DOAP file
/Users/stripodi/Documents/apache-workspace/onami/trunk/parent/target/site/doap.rdf
[ERROR]
[ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the plugin documentation:
[ERROR] http://maven.apache.org/plugins/maven-doap-plugin/usage.html#DOAP_ASF_Configuration

Any idea?

TIA, all the best!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/


On Mon, Jan 7, 2013 at 9:52 PM, Olivier Lamy <ol...@apache.org> wrote:
> Hi Simo,
> I just changed an it with that and cannot reproduce.

>
> 2013/1/7 Simone Tripodi <si...@apache.org>:
>> Hi mates,
>>
>> forwarding to dev@ - is that a bug?
>>
>> TIA!
>> -Simo
>>
>> http://people.apache.org/~simonetripodi/
>> http://simonetripodi.livejournal.com/
>> http://twitter.com/simonetripodi
>> http://www.99soft.org/
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: Simone Tripodi <si...@apache.org>
>> Date: Sun, Jan 6, 2013 at 8:41 PM
>> Subject: [doap-plugin] <shortdesc> property value not interpolated?
>> To: Maven Users List <us...@maven.apache.org>
>>
>>
>> Hi all guys,
>>
>> I am tryin' to plug the doap-plugin in Apache Onami and I noticed a
>> strange behaviour of the `shotdesc` property.
>>
>> If not specified, the plugin terminates with an error:
>>
>> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
>>
>> If I specify as
>>
>> <doapOptions>
>>   <shortdesc>${project.description}</shortdesc>
>> </doapOptions>
>>
>> it terminates with the same error message:
>>
>> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
>>
>> If I set a value, such as
>>
>> <doapOptions>
>>   <shortdesc>Bazinga!</shortdesc>
>> </doapOptions>
>>
>> It goes ok.
>>
>> Ah, and yes, the ${project.description} property is specified :)
>>
>> Is there something I overlooked or maybe a known issue?
>> TIA!
>> -Simo
>>
>> http://people.apache.org/~simonetripodi/
>> http://simonetripodi.livejournal.com/
>> http://twitter.com/simonetripodi
>> http://www.99soft.org/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

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


Re: [doap-plugin] property value not interpolated?

Posted by Olivier Lamy <ol...@apache.org>.
Hi Simo,
I just changed an it with that and cannot reproduce.
Note project.description is the default value :-)

Is-it an open source with this issue ?

2013/1/7 Simone Tripodi <si...@apache.org>:
> Hi mates,
>
> forwarding to dev@ - is that a bug?
>
> TIA!
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
>
>
>
> ---------- Forwarded message ----------
> From: Simone Tripodi <si...@apache.org>
> Date: Sun, Jan 6, 2013 at 8:41 PM
> Subject: [doap-plugin] <shortdesc> property value not interpolated?
> To: Maven Users List <us...@maven.apache.org>
>
>
> Hi all guys,
>
> I am tryin' to plug the doap-plugin in Apache Onami and I noticed a
> strange behaviour of the `shotdesc` property.
>
> If not specified, the plugin terminates with an error:
>
> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
>
> If I specify as
>
> <doapOptions>
>   <shortdesc>${project.description}</shortdesc>
> </doapOptions>
>
> it terminates with the same error message:
>
> [ERROR] A <doapOptions><shortdesc/></doapOptions> parameter is required by ASF.
>
> If I set a value, such as
>
> <doapOptions>
>   <shortdesc>Bazinga!</shortdesc>
> </doapOptions>
>
> It goes ok.
>
> Ah, and yes, the ${project.description} property is specified :)
>
> Is there something I overlooked or maybe a known issue?
> TIA!
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

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