{"id":18885736,"url":"https://github.com/code4craft/tavern","last_synced_at":"2025-10-07T06:32:37.090Z","repository":{"id":12374783,"uuid":"15026183","full_name":"code4craft/tavern","owner":"code4craft","description":"根据jar包进行Web项目模块化与集成的工具。","archived":false,"fork":false,"pushed_at":"2013-12-10T23:28:15.000Z","size":224,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-22T11:08:00.042Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code4craft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-08T15:43:21.000Z","updated_at":"2018-07-23T10:06:49.000Z","dependencies_parsed_at":"2022-08-02T10:36:21.060Z","dependency_job_id":null,"html_url":"https://github.com/code4craft/tavern","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4craft%2Ftavern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4craft%2Ftavern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4craft%2Ftavern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4craft%2Ftavern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code4craft","download_url":"https://codeload.github.com/code4craft/tavern/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223645945,"owners_count":17179008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T07:21:29.194Z","updated_at":"2025-10-07T06:32:37.013Z","avatar_url":"https://github.com/code4craft.png","language":"Java","readme":"## Tavern\n========\n根据jar包进行Web项目模块化与集成的工具。\n\n## 目标：\n\n为常用开源组件提供模块化支持。\n\n## Spring\n\n为不同jar包提供不同ApplicationContext上下文，并支持双亲委托机制。从而使不同jar包的bean不再冲突！\n\n## Struts\n\nTODO\n\n1. ### 为不同jar包提供名空间冲突检查。\n2. ### 提供单Action内URL路由功能\n\n## Freemarker\n\n为freemarker提供自定义ftl路径功能。\n\n## iBatis\n\nTODO\n\n提供数据源复用支持。\n\n=========\n\n## 使用：\n\n在jar包`src/main/resource`目录配置`app.xml`文件：\n\n```xml\n\t\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\t\u003cApplication\u003e\n\t    \u003cname\u003etavern\u003c/name\u003e\n\t    \u003cparent\u003e\u003c/parent\u003e\n\t    \u003ccontextPath\u003eclasspath*:spring/appcontext-*.xml\u003c/contextPath\u003e\n\t    \u003cpackageBase\u003ecom.dianping.tavern\u003c/packageBase\u003e\n\t\u003c/Application\u003e\n```\n\t\nftl请放在`src/main/resources/ftl/`目录下。\n\t\n在`web.xml`中配置:\n\n    \u003clistener\u003e\n        \u003clistener-class\u003ecom.dianping.tavern.web.TavernContextLoaderListener\u003c/listener-class\u003e\n    \u003c/listener\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode4craft%2Ftavern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode4craft%2Ftavern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode4craft%2Ftavern/lists"}