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.
如果一个人建立了一个耳朵,目标ear:ear会自动附加到包装阶段。我想消除它。不幸的是,它没有skip参数。
ear:ear
skip
我怎样才能从一个阶段“分离”一个目标?
在我找到执行 id (default-ear) 后,我成功地执行了以下操作:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ear-plugin</artifactId> <executions> <execution> <id>default-ear</id> <phase>none</phase> </execution> </executions> </plugin>