0

我是阔叶的新手。我正在尝试在其中进行多租户。

我在 Broadleaf 官方网站上找不到任何文档。我在 github 中找到了一个关于阔叶多租户的项目。这是链接 https://github.com/BroadleafCommerce/DemoSite-MultiTenant-SingleSchema

当我通过“mvn install”在maven中构建该项目时,它的构建失败,当我构建该项目时出现以下错误。

[INFO] Reactor Summary:
[INFO] 
[INFO] ecommerce ......................................... SUCCESS [0.619s]
[INFO] core .............................................. SUCCESS [1:35.628s]
[INFO] admin ............................................. FAILURE [27.273s]
[INFO] site .............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:03.894s
[INFO] Finished at: Mon Jun 03 10:08:01 IST 2013
[INFO] Final Memory: 12M/60M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project admin: Could not resolve dependencies for project com.mycompany:admin:war:1.0: Could not find artifact com.broadleafcommerce:broadleaf-multitenant-singleschema:jar:1.0.0-SNAPSHOT in snapshots (http://192.168.1.10:8080/artifactory/libs-snapshot) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :admin

也许它声明它找不到在 pom.xml 中定义的 broadleaf-multitenant-singleschema jar。

  <dependency>
                <groupId>com.broadleafcommerce</groupId>
                <artifactId>broadleaf-multitenant-singleschema</artifactId>
                <version>1.0.0-SNAPSHOT</version>
                <type>jar</type>
                <scope>compile</scope>
            </dependency>

我试图手动找到那个罐子,但我找不到那个罐子。我不知道是什么问题。是否可以在阔叶树中进行多租户?那个演示是关于阔叶中的多租户的吗?

提前致谢。Ankit

4

1 回答 1

0

很高兴听到你正在尝试阔叶!

正如您在评论中提到的,Broadleaf Multitenant Singleschema 模块是商业模块,而不是社区模块。还有一点:Broadleaf 本身(在核心 Broadleaf 框架中)都是开源的。核心 Broadleaf 代码库没有单独的商业版本。但是,我们提供的一些模块是商业的。多租户就是其中之一,还有变更集和其他 3rd 方集成(如 Braintree 或 Sagepay)。

如果您想了解有关多租户模块的更多信息,请随时通过 info AT broadleafcommerce.com 向我们发送电子邮件。

资料来源:作为 Broadleaf 的员工 :)

于 2013-06-04T04:15:49.670 回答