Hi devs, As you may have probably heard, Maven integration in Gentoo is fully working for user-level. Currently, I'm working on getting the system-level integration working, which is the main goal of this project.
I'm now faced with an issue related to m-compiler-p when compiling a simple project at sys-level. I should note that I'm using the custom-built maven NOT the official build. I'm asking this question from you to get a _hint_ to fix this issue. m-compiler-p fails with, [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile': Unable to find the mojo 'compile' (or one of its required components) in the plugin 'org.apache.maven.plugins:maven-compiler-plugin' Can not set org.apache.maven.toolchain.DefaultToolchainManager field org.apache.maven.plugin.AbstractCompilerMojo.toolchainManager to org.apache.maven.toolchain.DefaultToolchainManager Full build stack trace is at [1]. I've checked the components.xml file of maven-toolchain-1.0, but couldn't figure out the issue. The implementation for the <role> org.apache.maven.toolchain.ToolchainManager is org.apache.maven.toolchain.DefaultToolchainManager. So, it should work. I've gone through the source file of AbstractCompilerMojo [2] as well without any success. Can anyone let me know where I should I look to fix this issue? I understand that this is not the official build, so you all don't need to be concerned with this. But any help to figure this out is much appreciated! [1] http://pastebin.com/e6E0VtW6 [2] http://svn.apache.org/viewvc/maven/plugins/tags/maven-compiler-plugin-2.3.2/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java?view=markup Thanks, --Kasun -- ~~~*******'''''''''''''*******~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog: http://blog.kasunbg.org Twitter: http://twitter.com/kasunbg
