0

I have been searching in the documentation for Clickstack and on the Cloudbees Community Github to create a custom container. There is a standard template for apps and one project for Tomcat7 but none forking the Cloudbees default Tomcat6. I would like to add some dependencies into the Tomcat6 container instead of bundling them in the application WAR. For example, an application could have AWS sdk as provided in pom.xml

  <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>2.4</version>
        <scope>provided</scope>
  </dependency>
  <dependency>
        <groupId>com.amazonaws</groupId>
        <artifactId>aws-java-sdk</artifactId>
        <version>1.4.5</version>
        <scope>provided</scope>
  </dependency>

this seems simple. However (in my little understanding of things) do I need to develop the container from scratch?

4

1 回答 1

1

tomcat6 历史悠久 - 被称为“staxcat”

https://github.com/CloudBees-community/staxcat-clickstack

你当然可以分叉并以此为基础。使用 tomcat7 的方法是减少自定义堆栈 - 更接近原版 tomcat7。

我的建议是使用 tomcat7 作为起点——如果可以的话(tomcat6 现在有点老了!)——但如果你真的需要 tomcat6,staxcat 可能是要查看的存储库!

于 2013-06-17T01:13:01.313 回答