Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 对于Thorntail项目,pom.xml中的所有依赖项GroupID都必须是io.Thorntail?_Java_Maven_Dependencies_Dependency Management_Thorntail - Fatal编程技术网

Java 对于Thorntail项目,pom.xml中的所有依赖项GroupID都必须是io.Thorntail?

Java 对于Thorntail项目,pom.xml中的所有依赖项GroupID都必须是io.Thorntail?,java,maven,dependencies,dependency-management,thorntail,Java,Maven,Dependencies,Dependency Management,Thorntail,我还在学习,这是我第一次写后端。有一个限制,我必须使用Thorntail。我对它了解不多 有一个可用依赖项列表,但我看到的教程使用了Maven,其中包含不同的依赖项,Thorntail上没有列出这些依赖项。我可以使用它们吗?它是否可以使用命令“mvn thorntail:run”进行构建,或者我必须找到那些依赖项的thorntail替代项?您可以对thorntail使用任意(几乎任意)依赖项 通过选择io.thorntail依赖项,可以组装运行应用程序的“刚好够用”应用程序服务器。如果您想使用一

我还在学习,这是我第一次写后端。有一个限制,我必须使用Thorntail。我对它了解不多

有一个可用依赖项列表,但我看到的教程使用了Maven,其中包含不同的依赖项,Thorntail上没有列出这些依赖项。我可以使用它们吗?它是否可以使用命令“mvn thorntail:run”进行构建,或者我必须找到那些依赖项的thorntail替代项?

您可以对thorntail使用任意(几乎任意)依赖项

通过选择
io.thorntail
依赖项,可以组装运行应用程序的“刚好够用”应用程序服务器。如果您想使用一些JavaEE技术,比如CDI或JAX-RS,或者一些微文件技术,比如MP Config,那么应该使用相应的Thorntail部分。这显然不能满足应用程序的所有需求,因此您可以在上面有任意依赖项(如番石榴等)