Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Overriding tycho-buildtimestamp-jgit

I answer directly :
<plugin>
 <groupId>org.eclipse.tycho</groupId>
 <artifactId>tycho-packaging-plugin</artifactId>
 <version>${tycho-version}</version>
 <configuration>
  <timestampProvider>default</timestampProvider>
 <forceContextQualifier>${qualifier}</forceContextQualifier>
 </configuration>
       </plugin>
With mvn  clean install  -Dqualifier="whatdoyouwant"

If qualifier equal "" (empty string), the qualifier use the timestampProvider, if qualifier is non empty, it 'll be used as it.

Sorry to annoying you.


-----Message d'origine-----
De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] De la part de Vincent GUIGNOT
Envoyé : mercredi 21 octobre 2015 11:10
À : Tycho user list
Objet : Re: [tycho-user] Overriding tycho-buildtimestamp-jgit

Another question about qualifier :
Is it possible to use tycho-buildtimestamp-jgit and forcecontextqualifier ? As I've seen, forcecontextqualifier set the qualifier for all bundles even if they use jgit provider or default provider. I would like to use the qualifier only for bundle which use default qualifier.
Thanks for your help

Regards
Vincent

-----Message d'origine-----
De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] De la part de Vincent GUIGNOT
Envoyé : mardi 20 octobre 2015 16:56
À : Tycho user list
Objet : Re: [tycho-user] Overriding tycho-buildtimestamp-jgit

Thanks Jan !

-----Message d'origine-----
De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] De la part de Sievers, Jan Envoyé : mardi 20 octobre 2015 15:13 À : Tycho user list Objet : Re: [tycho-user] Overriding tycho-buildtimestamp-jgit

you should be able to override using

<plugin>
 <groupId>org.eclipse.tycho</groupId>
 <artifactId>tycho-packaging-plugin</artifactId>
 <version>${tycho-version}</version>
 <configuration>
  <timestampProvider>default</timestampProvider>
 </configuration>
       </plugin>



Jan

On 20/10/15 11:13, "tycho-user-bounces@xxxxxxxxxxx on behalf of Vincent GUIGNOT" <tycho-user-bounces@xxxxxxxxxxx on behalf of Vincent.GUIGNOT@xxxxxxxxxxxx> wrote:

>Hello,
>I’m using in my parent pom the
>tycho-buildtimestamp-jgit with timestampProvider Jgit. It works perfectly. But, how I can override this configuration in child pom to have a regular qualifier (current datetime) ?
> 
>Thanks for your help
> 
>Regards
> 
>Vincent
>
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top