You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Karl Heinz Marbaise <kh...@gmx.de> on 2008/02/22 22:40:55 UTC

buildNumber in JavaDoc and in Site

Hi there,

i'm having a little problem:

I'm working with the buildnumber PlugIn:

<plugin><groupId>org.codehaus.mojo</groupId><artifactId>buildnumber-maven-plugin</artifactId>
<executions>
  <execution>
    <phase>validate</phase>
    <goals><goal>create</goal></goals>
  </execution>
</executions>
<configuration>
  <doCheck>false</doCheck>
  <doUpdate>false</doUpdate>
</configuration>

So i tried to set the doctitle of the JavaDoc Plug to get the whole
information into the resulting JavaDoc:
<configuration>
<doctitle>${project.name} ${project.version}-${buildNumber} API</doctitle>
</configuration>

But as result after (mvn site) i got: ".... - null API" for the
buildNumber....
So has someone here an hint to solve this....

The second question will be that i'm using the site plugin to create
the site....within the Site-Descriptor i have activated
<version position="left"/>
and getting the <version>-Entry of my pom, but i can't get my
buildNumber in there ?

Does exist an solution for this?


Thanks in advance...

Kind regards
Karl Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

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