You can stuff what ever you want in tge manifest. Google is your friend: maven jar plugin manifest customization
- Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On Jan 20, 2012 10:45 a.m., "Thomas Scheffler" <thomas.scheff...@uni-jena.de> wrote: > Am 20.01.2012 10:32, schrieb Stephen Connolly: > >> It cannot. >> >> That is part of the spec for the layout of a Maven repository. >> > > Is there a way to embed the unique version string into the JAR manifest > then? If I test an application with a snapshot jar I want stick with that > specific version when deploying the application later. This should be done > automatically. > > 1. Do some automatic test, if they succeed gather the unique version > number. > 2. At deploy time use the last successful timestamp. > > Maybe someone could help me with that... :-) > > regards > > Thomas > > >> -Stephen >> >> 2012/1/20 Thomas >> Scheffler<thomas.scheffler@**uni-jena.de<thomas.scheff...@uni-jena.de> >> >: >> >>> Hi, >>> >>> I want to create a unique SNAPSHOT version that does not consist of >>> timestamp and buildnumber but is created by a defined property. >>> >>> I read the docs and googled for a solution but found no way to alter the >>> unique version string. How can this be achieved? >>> >>> regards >>> >>> Thomas >>> >> > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@maven.**apache.org<users-unsubscr...@maven.apache.org> > For additional commands, e-mail: users-h...@maven.apache.org > >