[ 
https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410146#comment-13410146
 ] 

Stevo Slavic commented on MAHOUT-1043:
--------------------------------------

I can elaborate on m2e and maven-eclipse-plugin approach differences, but it 
boils down to the fact that there are plenty of Maven and Eclipse users which 
choose m2e for Eclipse and Maven integration, and change to support it in 
existing Apache Mahout build scripts is trivial, it is provided in [my patch / 
pull request|https://github.com/apache/mahout/pull/5], and it doesn't impact 
other build options/combinations already present in any way.

Besides m2e compatibility adjustments pull request contains a very small amount 
of tidying up of the "general" maven build scripts - even though aggregator 
module configures plugin versions in pluginManagement section, plugin versions 
are unnecessarily repeated/duplicated in child modules, which m2e nicely 
reports as warnings; less unnecessary xml in build scripts makes them easier to 
maintain. There is still some amount of unnecessary duplication, e.g. 
configuration of maven-compiler-plugin source and target, those should probably 
be moved to aggregator module's pluginManagement which child modules inherit 
and don't need to repeat/duplicate.

To avoid using maven-antrun-plugin where it's not necessary, pull request 
changeset includes rename of {{driver.classes.props}} configuration file to 
{{driver.classes.default.props}}. Build script is updated accordingly and I've 
checked that the produced binaries contain appropriately named and placed this 
configuration file as they have before change.

Just trying to be good Apache Mahout community member, explore and hopefully 
contribute more to the core of the project, all while not being forced to 
legacy build tool options.
                
> Support building project with m2e plugin in eclipse
> ---------------------------------------------------
>
>                 Key: MAHOUT-1043
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1043
>             Project: Mahout
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.7
>            Reporter: Stevo Slavic
>
> See 
> [this|http://stackoverflow.com/questions/11282737/errors-when-importing-mahouts-maven-resource-to-eclipse]
>  and 
> [this|http://lucene.472066.n3.nabble.com/Eclipse-Mahout-Maven-maven-antrun-plugin-error-td3969446.html]
>  and 
> [this|http://mail-archives.apache.org/mod_mbox/mahout-user/201207.mbox/%3CCAK4b6ue2gtpJHz5gDZ%2BZ0_ZpccsiXecQCGfYtBCx6t%3D5ip6Sjw%40mail.gmail.com%3E]
>  for examples on various issues developers have when trying to import and 
> build Apache Mahout using eclipse and m2e plugin. Build scripts in sources 
> seem to favour Apache Ant and maven-eclipse-plugin, while Apache Maven 3 and 
> m2e are more popular build tool choices nowadays.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to