You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Clifton <cl...@gmail.com> on 2008/02/11 22:40:22 UTC

Build number plugin drama

Hi all

My buddy and I are stumbling with the buildNumber plugin and getting nowhere
fast. We found the original version here:
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html
Then later stumbled across the superceding version here:
http://mojo.codehaus.org/buildnumber-maven-plugin/
Trying to use the codehaus version gives:
[INFO] The plugin 'org.codehaus.mojo:buildnumber-maven-plugin' does not
exist or no valid version could be found
-- 
View this message in context: http://www.nabble.com/Build-number-plugin-drama-tp15421321s177p15421321.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Build number plugin drama

Posted by amit kumar <am...@gmail.com>.
Yes clifton, the buildnumber plug in for me is working without mentioning
the pluginrepositories. So in case you are not using it for anything else,
you can remove it and try. Central should work, I tried before sending this
mail and it worked (fetched buildnumber-maven-plugin-1.0-beta-1 from
central).

Regards,
Amit.

On Feb 12, 2008 8:00 PM, Clifton <cl...@gmail.com> wrote:

>
> Thanx everyone! I'm going to try the version on central. Does that mean I
> just need to remove the pluginrepository section from my pom? Let me just
> give that a go and I'll ping back if I get into further trouble.
>
>
> amit kumar-18 wrote:
> >
> > This is working for me as well
> >
> > <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>true</doCheck>
> >           <doUpdate>true</doUpdate>
> >            <format>{0,date,MM-dd-yyyy_HH.mm}</format>
> >           <items>
> >             <item>timestamp</item>
> >           </items>
> >         </configuration>
> >       </plugin>
> > <plugin>
> >
> > What I get with this is version 1.0-beta-1, as mentioned by Nick.
> >
> > Regards,
> > Amit
> > n Feb 12, 2008 2:52 PM, <ni...@planet.nl> wrote:
> >
> >> The install page at ucalgary.ca is out of date. The buildnumber plugin
> >> has
> >> been uploaded to central and is at:
> >>
> >> <dependency>
> >>    <groupId>org.codehaus.mojo</groupId>
> >>    <artifactId>buildnumber-maven-plugin</artifactId>
> >>    <version>1.0-beta-1</version>
> >> </dependency>
> >>
> >> Which version are you trying to use?
> >>
> >> Hth,
> >>
> >> Nick S.
> >>
> >>
> >> -----Original Message-----
> >> From: VUB Stefan Seidel [mailto:sseidel@vub.de]
> >> Sent: Tue 2/12/2008 10:20
> >> To: Maven Users List
> >> Subject: Re: Build number plugin drama
> >>
> >>
> http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/install.html
> >>
> >> Clifton wrote:
> >> > Hi all
> >> >
> >> > My buddy and I are stumbling with the buildNumber plugin and getting
> >> nowhere
> >> > fast. We found the original version here:
> >> >
> http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html
> >> > Then later stumbled across the superceding version here:
> >> > http://mojo.codehaus.org/buildnumber-maven-plugin/
> >> > Trying to use the codehaus version gives:
> >> > [INFO] The plugin 'org.codehaus.mojo:buildnumber-maven-plugin' does
> not
> >> > exist or no valid version could be found
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Build-number-plugin-drama-tp15421321s177p15434052.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Build number plugin drama

Posted by Clifton <cl...@gmail.com>.
Thanx everyone! I'm going to try the version on central. Does that mean I
just need to remove the pluginrepository section from my pom? Let me just
give that a go and I'll ping back if I get into further trouble.


amit kumar-18 wrote:
> 
> This is working for me as well
> 
> <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>true</doCheck>
>           <doUpdate>true</doUpdate>
>            <format>{0,date,MM-dd-yyyy_HH.mm}</format>
>           <items>
>             <item>timestamp</item>
>           </items>
>         </configuration>
>       </plugin>
> <plugin>
> 
> What I get with this is version 1.0-beta-1, as mentioned by Nick.
> 
> Regards,
> Amit
> n Feb 12, 2008 2:52 PM, <ni...@planet.nl> wrote:
> 
>> The install page at ucalgary.ca is out of date. The buildnumber plugin
>> has
>> been uploaded to central and is at:
>>
>> <dependency>
>>    <groupId>org.codehaus.mojo</groupId>
>>    <artifactId>buildnumber-maven-plugin</artifactId>
>>    <version>1.0-beta-1</version>
>> </dependency>
>>
>> Which version are you trying to use?
>>
>> Hth,
>>
>> Nick S.
>>
>>
>> -----Original Message-----
>> From: VUB Stefan Seidel [mailto:sseidel@vub.de]
>> Sent: Tue 2/12/2008 10:20
>> To: Maven Users List
>> Subject: Re: Build number plugin drama
>>
>> http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/install.html
>>
>> Clifton wrote:
>> > Hi all
>> >
>> > My buddy and I are stumbling with the buildNumber plugin and getting
>> nowhere
>> > fast. We found the original version here:
>> > http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html
>> > Then later stumbled across the superceding version here:
>> > http://mojo.codehaus.org/buildnumber-maven-plugin/
>> > Trying to use the codehaus version gives:
>> > [INFO] The plugin 'org.codehaus.mojo:buildnumber-maven-plugin' does not
>> > exist or no valid version could be found
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Build-number-plugin-drama-tp15421321s177p15434052.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Build number plugin drama

Posted by amit kumar <am...@gmail.com>.
This is working for me as well

<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>true</doCheck>
          <doUpdate>true</doUpdate>
           <format>{0,date,MM-dd-yyyy_HH.mm}</format>
          <items>
            <item>timestamp</item>
          </items>
        </configuration>
      </plugin>
<plugin>

What I get with this is version 1.0-beta-1, as mentioned by Nick.

Regards,
Amit
n Feb 12, 2008 2:52 PM, <ni...@planet.nl> wrote:

> The install page at ucalgary.ca is out of date. The buildnumber plugin has
> been uploaded to central and is at:
>
> <dependency>
>    <groupId>org.codehaus.mojo</groupId>
>    <artifactId>buildnumber-maven-plugin</artifactId>
>    <version>1.0-beta-1</version>
> </dependency>
>
> Which version are you trying to use?
>
> Hth,
>
> Nick S.
>
>
> -----Original Message-----
> From: VUB Stefan Seidel [mailto:sseidel@vub.de]
> Sent: Tue 2/12/2008 10:20
> To: Maven Users List
> Subject: Re: Build number plugin drama
>
> http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/install.html
>
> Clifton wrote:
> > Hi all
> >
> > My buddy and I are stumbling with the buildNumber plugin and getting
> nowhere
> > fast. We found the original version here:
> > http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html
> > Then later stumbled across the superceding version here:
> > http://mojo.codehaus.org/buildnumber-maven-plugin/
> > Trying to use the codehaus version gives:
> > [INFO] The plugin 'org.codehaus.mojo:buildnumber-maven-plugin' does not
> > exist or no valid version could be found
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>

RE: Build number plugin drama

Posted by ni...@planet.nl.
The install page at ucalgary.ca is out of date. The buildnumber plugin has been uploaded to central and is at:

<dependency>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>buildnumber-maven-plugin</artifactId>
    <version>1.0-beta-1</version>
</dependency>

Which version are you trying to use?

Hth,

Nick S.


-----Original Message-----
From: VUB Stefan Seidel [mailto:sseidel@vub.de]
Sent: Tue 2/12/2008 10:20
To: Maven Users List
Subject: Re: Build number plugin drama
 
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/install.html

Clifton wrote:
> Hi all
> 
> My buddy and I are stumbling with the buildNumber plugin and getting nowhere
> fast. We found the original version here:
> http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html
> Then later stumbled across the superceding version here:
> http://mojo.codehaus.org/buildnumber-maven-plugin/
> Trying to use the codehaus version gives:
> [INFO] The plugin 'org.codehaus.mojo:buildnumber-maven-plugin' does not
> exist or no valid version could be found


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



Re: Build number plugin drama

Posted by VUB Stefan Seidel <ss...@vub.de>.
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/install.html

Clifton wrote:
> Hi all
> 
> My buddy and I are stumbling with the buildNumber plugin and getting nowhere
> fast. We found the original version here:
> http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html
> Then later stumbled across the superceding version here:
> http://mojo.codehaus.org/buildnumber-maven-plugin/
> Trying to use the codehaus version gives:
> [INFO] The plugin 'org.codehaus.mojo:buildnumber-maven-plugin' does not
> exist or no valid version could be found


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