Olivier,

 

I think the expression ${tomcat.version} has to be escaped, since you want it 
always to be documented as expression, not as the interpolated result.

The ${project.version} is correct, this should reflect the current version of 
the plugin.

 

- Robert


 
> Date: Thu, 30 Sep 2010 16:32:32 -0500
> From: [email protected]
> To: [email protected]
> Subject: [mojo-dev] [jira] Closed: (MTOMCAT-64) Document how to change the 
> Embedded Tomcat Version
> 
> 
> [ 
> http://jira.codehaus.org/browse/MTOMCAT-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>  ]
> 
> Olivier Lamy closed MTOMCAT-64.
> -------------------------------
> 
> Resolution: Fixed
> Fix Version/s: 1.1
> Assignee: Olivier Lamy
> 
> fixed [rev 12744|http://fisheye.codehaus.org/changelog/mojo/?cs=12744]
> Thanks !
> 
> > Document how to change the Embedded Tomcat Version
> > --------------------------------------------------
> >
> > Key: MTOMCAT-64
> > URL: http://jira.codehaus.org/browse/MTOMCAT-64
> > Project: Maven 2.x Tomcat Plugin
> > Issue Type: Improvement
> > Affects Versions: 1.0
> > Reporter: Mark Michaelis
> > Assignee: Olivier Lamy
> > Fix For: 1.1
> >
> > Attachments: adjust-embedded-tomcat-version.apt.vm, site.xml
> >
> >
> > Using the embedded Tomcat we needed a way to exchange the Tomcat with a 
> > specific version. You can do so by providing this in your plugin 
> > configuration:
> > {code:xml}
> > <project>
> > [...]
> > <properties>
> > <tomcat.version>6.0.29</tomcat.version>
> > [...]
> > </properties>
> > [...]
> > <build>
> > <pluginManagement>
> > <plugins>
> > <plugin>
> > <groupId>org.codehaus.mojo</groupId>
> > <artifactId>tomcat-maven-plugin</artifactId>
> > <version>${project.version}</version>
> > <dependencies>
> > <dependency>
> > <groupId>org.apache.tomcat</groupId>
> > <artifactId>catalina</artifactId>
> > <version>${tomcat.version}</version>
> > </dependency>
> > <dependency>
> > <groupId>org.apache.tomcat</groupId>
> > <artifactId>catalina-ha</artifactId>
> > <version>${tomcat.version}</version>
> > <scope>runtime</scope>
> > </dependency>
> > <dependency>
> > <groupId>org.apache.tomcat</groupId>
> > <artifactId>tribes</artifactId>
> > <version>${tomcat.version}</version>
> > <scope>runtime</scope>
> > </dependency>
> > <dependency>
> > <groupId>org.apache.tomcat</groupId>
> > <artifactId>el-api</artifactId>
> > <version>${tomcat.version}</version>
> > <scope>runtime</scope>
> > </dependency>
> > <dependency>
> > <groupId>org.apache.tomcat</groupId>
> > <artifactId>jasper</artifactId>
> > <version>${tomcat.version}</version>
> > <scope>runtime</scope>
> > </dependency>
> > <dependency>
> > <groupId>org.apache.tomcat</groupId>
> > <artifactId>jasper-el</artifactId>
> > <version>${tomcat.version}</version>
> > <scope>runtime</scope>
> > </dependency>
> > <dependency>
> > <groupId>org.apache.tomcat</groupId>
> > <artifactId>jasper-jdt</artifactId>
> > <version>${tomcat.version}</version>
> > <scope>runtime</scope>
> > </dependency>
> > <dependency>
> > <groupId>org.apache.tomcat</groupId>
> > <artifactId>jsp-api</artifactId>
> > <version>${tomcat.version}</version>
> > <scope>runtime</scope>
> > </dependency>
> > <dependency>
> > <groupId>org.apache.tomcat</groupId>
> > <artifactId>servlet-api</artifactId>
> > <version>${tomcat.version}</version>
> > <scope>runtime</scope>
> > </dependency>
> > <dependency>
> > <groupId>org.apache.tomcat</groupId>
> > <artifactId>coyote</artifactId>
> > <version>${tomcat.version}</version>
> > <scope>runtime</scope>
> > </dependency>
> > <dependency>
> > <groupId>org.apache.tomcat</groupId>
> > <artifactId>dbcp</artifactId>
> > <version>${tomcat.version}</version>
> > <scope>runtime</scope>
> > </dependency>
> > </dependencies>
> > </plugin>
> > [...]
> > </plugins>
> > </pluginManagement>
> > [...]
> > </build>
> > [...]
> > </project>
> > {code}
> > Attached a proposal for the documentation (site and example-apt-entry).
> 
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators: 
> http://jira.codehaus.org/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
> http://xircles.codehaus.org/manage_email
> 
> 
                                          

Reply via email to