Thanks Paul, that is what was getting me. I switched to beta 2 and the
create phase and it is working great.
Thanks!

On Mon, Apr 20, 2009 at 4:41 PM, Paul Gier <pg...@redhat.com> wrote:

> The site must have been deployed by mistake, since 1.0-beta-3 is not
> released yet.  Did you add the "create" goal to your pom?
> Make sure you add it to an early build phase so that the property is set
> before it's used by the jar plugin.
>
>      <plugin>
>        <groupId>org.codehaus.mojo</groupId>
>        <artifactId>buildnumber-maven-plugin</artifactId>
>        <version>1.0-beta-2</version>
>        <executions>
>          <execution>
>            <phase>validate</phase>
>            <goals>
>              <goal>create</goal>
>            </goals>
>          </execution>
>        </executions>
>        <configuration>
>          <doCheck>true</doCheck>
>          <doUpdate>true</doUpdate>
>        </configuration>
>      </plugin>
>
>
>
> Karl Nielsen wrote:
>
>> I am following the documentation here
>> http://mojo.codehaus.org/buildnumber-maven-plugin/usage.html
>> First it says to use <version>1.0-beta-3</version> I can't find a server
>> where beta 3 is deployed to.
>>
>> When I use the configuration to add to the MANIFEST nothing happens:
>>
>>       <configuration>
>>          <archive>
>>            <manifest>
>>
>>  <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
>>            </manifest>
>>            <manifestEntries>
>>              <Implementation-Build>${buildNumber}</Implementation-Build>
>>            </manifestEntries>
>>          </archive>
>>        </configuration>
>>
>> I have no manifest at all in the war.
>>
>> What am I missing?
>>
>> Thanks,
>>
>> Karl
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to