You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Stevo Slavic (JIRA)" <ji...@apache.org> on 2012/07/10 02:28:34 UTC

[jira] [Created] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Stevo Slavic created MAHOUT-1043:
------------------------------------

             Summary: 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

        

[jira] [Commented] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Stevo Slavic (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Resolved] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved MAHOUT-1043.
-------------------------------

    Resolution: Not A Problem

The project is designed to work with Maven 3, and it does. Supporting Eclipse-related Maven plugins is not a goal, though it works with maven-eclipse-plugin. It is up to these plugins to be compatible with Maven projects, not the other way around.
                
> 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

        

[jira] [Commented] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Dawid Weiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410150#comment-13410150 ] 

Dawid Weiss commented on MAHOUT-1043:
-------------------------------------

I looked at this patch because I've had my own share of headaches with m2e. It looks good to me from the diff. Shouldn't affect anybody's existing workflow and Stevo is right that m2e's maven support is a bit nice(r) compared to maven-eclipse-plugin's.
                
> 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

        

[jira] [Commented] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410270#comment-13410270 ] 

Sean Owen commented on MAHOUT-1043:
-----------------------------------

This patch takes out all version specifications and puts them into an m2e-specific stanza, no? that would break the Maven build -- we can't commit this. What am I missing.
                
> 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
>         Attachments: MAHOUT-1043.patch
>
>
> 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

        

[jira] [Commented] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Stevo Slavic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410278#comment-13410278 ] 

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

No, these changes do not break the build - everything is same, just some duplications are removed.

All child modules like mahout-core inherit mahout (aggregator) module via parent relationship. mahout module defines versions of all plugins in its pluginManagement. In this case it's pure duplication/redundancy of version information when child modules configure plugin usage and repeat version details.
                
> 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
>         Attachments: MAHOUT-1043.patch
>
>
> 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

        

[jira] [Commented] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410136#comment-13410136 ] 

Sean Owen commented on MAHOUT-1043:
-----------------------------------

The Ant script exists to do things that the Maven build can't by itself; it is not duplicative. Have a look at it.

I do not see evidence that maven-eclipse-plugin is deprecated. It is not explicitly supported though, and neither is any secondary build plugin. The project build system is Maven, full stop. 

If you can suggest a change that doesn't nontrivially impact the Maven build that would let you use m2e, that's fine and can be incorporated. I don't think we want to get into requiring more metadata, and I don't see that we should make it not work with maven-eclipse-plugin, to make it work with m2e. 

Surely m2e should be able to consume a valid, working Maven project as-is?
                
> 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

        

[jira] [Commented] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410328#comment-13410328 ] 

Sean Owen commented on MAHOUT-1043:
-----------------------------------

OK it does work, I tried applying and compiling. I'll commit if this assists m2e; it does clean things up a bit anyway. Any other objections vs the 2 votes for?
                
> 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
>         Attachments: MAHOUT-1043.patch
>
>
> 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

        

[jira] [Commented] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410149#comment-13410149 ] 

Sean Owen commented on MAHOUT-1043:
-----------------------------------

Can you make a patch? if it doesn't affect the Maven build (or fixes the rest of it to match your changes), which is the official one, that's fine.
Cleanup of the Maven pom.xml is also quite good if that's what you are referring to.
What I don't want to get into is letting the cart pull the horse by deciding we can/can't do stuff in the build because of m2e or any other plugin.
                
> 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

        

[jira] [Updated] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Stevo Slavic (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stevo Slavic updated MAHOUT-1043:
---------------------------------

    Attachment: MAHOUT-1043.patch

Here's a patch [^MAHOUT-1043.patch] equivalent to the pull request changeset.
                
> 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
>         Attachments: MAHOUT-1043.patch
>
>
> 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

        

[jira] [Commented] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Ted Dunning (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410386#comment-13410386 ] 

Ted Dunning commented on MAHOUT-1043:
-------------------------------------

If it doesn't break things and it helps with m2e, then it sounds fine.

My own feeling is that this is really an eclipse bug, but decreasing repetition is good.

                
> 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
>         Attachments: MAHOUT-1043.patch
>
>
> 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

        

[jira] [Resolved] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved MAHOUT-1043.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8
    
> 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
>            Assignee: Sean Owen
>             Fix For: 0.8
>
>         Attachments: MAHOUT-1043.patch
>
>
> 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

        

[jira] [Commented] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Stevo Slavic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409989#comment-13409989 ] 

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

Created [pull request which mitigates issue|https://github.com/apache/mahout/pull/5]. Basic requirement to enable project to be imported and built with m2e is satisfied, but for even cleaner solution:
- mahout-collection-codegen-plugin should be changed
-- default output directories should follow convention and end with plugin specific sub directory (e.g. mahout);
-- lifecycle mapping metadata compliant with m2e 1.1 should be included in mahout-collection-codegen-plugin (see cxf-codegen-plugin trunk for example);
-- mahout-collection-codegen-plugin generate goal should add automatically generated sources and test sources, without requiring build helper plugin usage;
- in Apache Mahout sources
-- maven-eclipse-plugin stuf should be removed, its usage is basically deprecated in favour of m2e, its creating clutter, and can cause issues if applied together with m2e;
-- consider removing ant build scripts as well, or in essence pick and use just one build tool (Maven, Gradle, ...) to ease maintenance and avoid confusion of less experience developers.
                
> 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

        

[jira] [Reopened] (MAHOUT-1043) Support building project with m2e plugin in eclipse

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen reopened MAHOUT-1043:
-------------------------------

      Assignee: Sean Owen
    
> 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
>            Assignee: Sean Owen
>             Fix For: 0.8
>
>         Attachments: MAHOUT-1043.patch
>
>
> 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