Debugging jdb maven:InstallMojo源代码
我尝试使用Debugging jdb maven:InstallMojo源代码,debugging,maven-plugin,jdb,Debugging,Maven Plugin,Jdb,我尝试使用mvnDebug/jdb-attach 8000调试install::install 我可以轻松访问org.apache.maven.plugin.DefaultBuildPluginManager:101 然后点击mojo.execute(),这会让我想到: main[1] where [1] org.apache.maven.plugin.install.InstallMojo.execute (InstallMojo.java:76) [2] org.apache.mav
mvnDebug
/jdb-attach 8000调试install::install
我可以轻松访问org.apache.maven.plugin.DefaultBuildPluginManager:101
然后点击mojo.execute()
,这会让我想到:
main[1] where
[1] org.apache.maven.plugin.install.InstallMojo.execute (InstallMojo.java:76)
[2] org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:101)
...
我从svn找到InstallMojo.java的源代码,但是我怎么知道要签出哪个标记呢?
谢谢,
Marc根据您使用的maven安装插件2.3.1版本的给定信息,您只需读取该特定版本的pom文件,即在中搜索该版本。系统将为您提供所需的信息:
摘录:
<scm><connection>scm:svn:http://svn.apache.org/repos/asf/maven/plugins/tags/maven-install-plugin-2.3.1</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-install-plugin-2.3.1</developerConnection>
scm:svn:http://svn.apache.org/repos/asf/maven/plugins/tags/maven-install-plugin-2.3.1
scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-install-plugin-2.3.1
这将为您提供SVN标记在apache SVN存储库中的确切位置,当然还有您可以签出的正确位置。您知道要分析的安装插件的版本吗?抱歉。。。我没有注意到你的问题:2.3.1