Hi Boris, Perhaps it didn't get e-mailed out very well, but you appear to have one too many "tapestry." strings in your name and your name is missing a bracket. Try:
<name>tapestry.application-version</name> mrg On Thu, Aug 21, 2014 at 5:01 PM, Boris Horvat <horvat.z.bo...@gmail.com> wrote: > Hi all, > > I have tried to provide application version in the jetty plugin but it wont > work > > <plugin> > <groupId>org.mortbay.jetty</groupId> > <artifactId>jetty-maven-plugin</artifactId> > <version>8.1.13.v20130916</version> > <configuration> > <stopPort>9966</stopPort> > <stopKey>stop</stopKey> > <!-- Log to the console. --> > <requestLog > implementation="org.eclipse.jetty.server.NCSARequestLog"> > <append>true</append> > </requestLog> > <systemProperties> > <systemProperty> > <name>tapestry.execution-mode</name> > <value>dev</value> > </systemProperty> > *<systemProperty>* > * > <name>tapestry.tapestry.application-version/name>* > * <value>1.0</value>* > * </systemProperty>* > </systemProperties> > </configuration> > </plugin> > > public static MyServicebuild(@Symbol(SymbolConstants.EXECUTION_MODE) String > environment, @Symbol(SymbolConstants.APPLICATION_VERSION) String > appVersion) { > > Properties props = new Properties(); > props.put("environment", environment); > props.put("appVersion", appVersion); > > return new MyService(props); > } > > > Any idea why is this not working? For the version I get some random number > that means the version is not set so tapestry pick something > > Thanks > -- > Sincerely > *Boris Horvat* >