Hi. Yea it is written correctly, probably when I was copy/pasting stuff I messed it up.
<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"> <!-- This doesn't do anything for Jetty, but is a workaround for a Maven bug that prevents the requestLog from being set. --> <append>true</append> </requestLog> <systemProperties> <systemProperty> <name>tapestry.execution-mode</name> <value>dev</value> </systemProperty> * <systemProperty>* * <name>tapestry.application-version</name>* * <value>1.0</value>* * </systemProperty>* <systemProperty> <name>catalogue.online</name> <value>false</value> </systemProperty> </systemProperties> </configuration> </plugin> but sadly it wont work. But it should work like this, right? On Thu, Aug 21, 2014 at 11:13 PM, Michael Gentry <mgen...@masslight.net> wrote: > 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* > > > -- Sincerely *Boris Horvat*