Page 1 of 1

tomcat6-maven-plugin - https setting

Posted: Fri Mar 22, 2013 2:00 pm
by pam
Hi all,

Since a couple of days, I was trying hard to get the demosite's https running on tomcat6-plugin (Refer tutorials for running demosite on tomcat).

:!: It worked fine for me with the following settings. Just thought of posting this as a reference. I am open to suggestions/advice to improve on this. I am not an expert using these tomcat plugin etc ..


Code: Select all

<plugin>
       <groupId>org.apache.tomcat.maven</groupId>
       <!-- for Tomcat 7, change to tomcat7-maven-plugin -->
       <artifactId>tomcat6-maven-plugin</artifactId>
       <version>2.0-beta-1</version>
       <configuration>
         <warSourceDirectory>${webappDirectory}</warSourceDirectory>   
             <path>/</path>
           <port>${httpPort}</port>
         <stopPort>9966</stopPort>
         <stopKey>foo</stopKey>
         <httpsPort>${httpsPort}</httpsPort>
         <keystoreFile>${webappDirectory}/WEB-INF/blc-example.keystore</keystoreFile>
         <keystorePass>broadleaf</keystorePass>
         <password>broadleaf</password>
       </configuration>
</plugin>


~ Thank you