subash-canapathy / maven-confluence-plugin

Automatically exported from code.google.com/p/maven-confluence-plugin
0 stars 0 forks source link

Site descriptor with expressions support #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 

I would like to suggest this enhancement since it exists for the maven site 
plugin : 

http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html#E
xpressions

Original issue reported on code.google.com by schib...@gmail.com on 8 Jan 2014 at 12:09

GoogleCodeExporter commented 9 years ago
Hi

Actually i make available the following properties:

       artifactId ==> project.getArtifactId();
       version ==> project.getVersion();
       groupId" ==> project.getGroupId();
       name ==> project.getName();
       description ==> project.getDescription();

       and all project's properties ==> project.getProperties();

but not expression. I'll work on to implement this good enhancement

thanks for feedback

Original comment by bartolom...@gmail.com on 10 Jan 2014 at 10:53

GoogleCodeExporter commented 9 years ago
Since, currently, minitemplator doesn't support expression evaluation,  this 
feature requires a deep refactoring 

i've open an issue to minitemplator master project 
(https://github.com/bsorrentino/minitemplator/issues/1)

So i don't think to work on this enhancement at short term

however .. if you need this feature use plugin/configuration/properties

For example if you need of  ${project.organization.name} set the a plugin 
property as shown below

<configuration>
<properties>
 <organization>${project.organization.name}</organization>
</properties>
</configuration>

and within template you could use ${organization} variable

hope this help

Original comment by bartolom...@gmail.com on 11 Jan 2014 at 5:27