Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 java ear maven 项目。
当我通过 Eclipse 将耳朵发布到 jboss7 时,它会生成一个耳朵并将其部署到 jboss。
但是当我手动运行同一项目的 maven 构建时,我的耳朵大小不同,名称也不同。
当eclise在执行“发布到服务器”时构建项目时,它不使用与maven相同的构建吗?
我使用 eclipse juno 和 maven3。我是新手。
Eclipse 使用 .classpath 来打包部署到 jboss 的 ear。当您进行手动 maven 构建时,它使用 pom.xml 文件来打包 ear。如果这些不同步,您的耳朵可能会有所不同。