You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Will McQueen (Created) (JIRA)" <ji...@apache.org> on 2012/02/14 20:29:59 UTC

[jira] [Created] (FLUME-972) Missing dep when attempting to prepare flume dir for import into Eclipse

Missing dep when attempting to prepare flume dir for import into Eclipse
------------------------------------------------------------------------

                 Key: FLUME-972
                 URL: https://issues.apache.org/jira/browse/FLUME-972
             Project: Flume
          Issue Type: Bug
          Components: Build
    Affects Versions: v1.0.0
         Environment: RHEL 6.2 64-bit
            Reporter: Will McQueen
             Fix For: v1.0.0


Issue: Cannot run 'mvn eclipse:eclipse' to prepare flumeng checkout for import into eclipse

Steps:
1. Use fresh checkout of flume-728 branch
2. mvn package
3. mvn eclipse:add-maven-repo -Declipse.workspace=/home/will/workspace-flumeng
4. mvn eclipse:eclipse

...results in:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process (default) on project flume-hdfs-sink: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
[ERROR] 1) org.apache.flume:flume-ng-core:jar:1.1.0-incubating-SNAPSHOT


--
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] (FLUME-972) Missing dep when attempting to prepare flume dir for import into Eclipse

Posted by "Brock Noland (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214388#comment-13214388 ] 

Brock Noland commented on FLUME-972:
------------------------------------

Yes, I think the hit the same error before doing to a mvn install.  I am not a maven expert so I don't know why it's required. In eclipse the modules don't depend on the jars in M2_REPO.
                
> Missing dep when attempting to prepare flume dir for import into Eclipse
> ------------------------------------------------------------------------
>
>                 Key: FLUME-972
>                 URL: https://issues.apache.org/jira/browse/FLUME-972
>             Project: Flume
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: v1.0.0
>         Environment: RHEL 6.2 64-bit
>            Reporter: Will McQueen
>             Fix For: v1.1.0
>
>
> Issue: Cannot run 'mvn eclipse:eclipse' to prepare flumeng checkout for import into eclipse
> Steps:
> 1. Use fresh checkout of flume-728 branch
> 2. mvn package
> 3. mvn eclipse:add-maven-repo -Declipse.workspace=/home/will/workspace-flumeng
> 4. mvn eclipse:eclipse
> ...results in:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process (default) on project flume-hdfs-sink: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
> [ERROR] 1) org.apache.flume:flume-ng-core:jar:1.1.0-incubating-SNAPSHOT

--
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] (FLUME-972) Missing dep when attempting to prepare flume dir for import into Eclipse

Posted by "E. Sammer (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

E. Sammer resolved FLUME-972.
-----------------------------

    Resolution: Invalid
      Assignee: E. Sammer

This is because not all plugins support referencing the reactor. Maven can be pretty broken that way. The site plugin suffers from the same problem (which is why I never completed the site build with javadoc from all of the components). There's no good solution to this other than to not use the eclipse maven plugin and, instead, use m2eclipse.

Closing as invalid.
                
> Missing dep when attempting to prepare flume dir for import into Eclipse
> ------------------------------------------------------------------------
>
>                 Key: FLUME-972
>                 URL: https://issues.apache.org/jira/browse/FLUME-972
>             Project: Flume
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: v1.0.0
>         Environment: RHEL 6.2 64-bit
>            Reporter: Will McQueen
>            Assignee: E. Sammer
>             Fix For: v1.1.0
>
>
> Issue: Cannot run 'mvn eclipse:eclipse' to prepare flumeng checkout for import into eclipse
> Steps:
> 1. Use fresh checkout of flume-728 branch
> 2. mvn package
> 3. mvn eclipse:add-maven-repo -Declipse.workspace=/home/will/workspace-flumeng
> 4. mvn eclipse:eclipse
> ...results in:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process (default) on project flume-hdfs-sink: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
> [ERROR] 1) org.apache.flume:flume-ng-core:jar:1.1.0-incubating-SNAPSHOT

--
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] (FLUME-972) Missing dep when attempting to prepare flume dir for import into Eclipse

Posted by "Will McQueen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Will McQueen updated FLUME-972:
-------------------------------

    Fix Version/s:     (was: v1.0.0)
                   v1.1.0
    
> Missing dep when attempting to prepare flume dir for import into Eclipse
> ------------------------------------------------------------------------
>
>                 Key: FLUME-972
>                 URL: https://issues.apache.org/jira/browse/FLUME-972
>             Project: Flume
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: v1.0.0
>         Environment: RHEL 6.2 64-bit
>            Reporter: Will McQueen
>             Fix For: v1.1.0
>
>
> Issue: Cannot run 'mvn eclipse:eclipse' to prepare flumeng checkout for import into eclipse
> Steps:
> 1. Use fresh checkout of flume-728 branch
> 2. mvn package
> 3. mvn eclipse:add-maven-repo -Declipse.workspace=/home/will/workspace-flumeng
> 4. mvn eclipse:eclipse
> ...results in:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process (default) on project flume-hdfs-sink: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
> [ERROR] 1) org.apache.flume:flume-ng-core:jar:1.1.0-incubating-SNAPSHOT

--
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] (FLUME-972) Missing dep when attempting to prepare flume dir for import into Eclipse

Posted by "Mike Percy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLUME-972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Percy updated FLUME-972:
-----------------------------

    Fix Version/s:     (was: v1.1.0)
    
> Missing dep when attempting to prepare flume dir for import into Eclipse
> ------------------------------------------------------------------------
>
>                 Key: FLUME-972
>                 URL: https://issues.apache.org/jira/browse/FLUME-972
>             Project: Flume
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: v1.0.0
>         Environment: RHEL 6.2 64-bit
>            Reporter: Will McQueen
>            Assignee: E. Sammer
>
> Issue: Cannot run 'mvn eclipse:eclipse' to prepare flumeng checkout for import into eclipse
> Steps:
> 1. Use fresh checkout of flume-728 branch
> 2. mvn package
> 3. mvn eclipse:add-maven-repo -Declipse.workspace=/home/will/workspace-flumeng
> 4. mvn eclipse:eclipse
> ...results in:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process (default) on project flume-hdfs-sink: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
> [ERROR] 1) org.apache.flume:flume-ng-core:jar:1.1.0-incubating-SNAPSHOT

--
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] (FLUME-972) Missing dep when attempting to prepare flume dir for import into Eclipse

Posted by "Brock Noland (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209736#comment-13209736 ] 

Brock Noland commented on FLUME-972:
------------------------------------

What happens if you do a maven install before you do the eclipse import?
                
> Missing dep when attempting to prepare flume dir for import into Eclipse
> ------------------------------------------------------------------------
>
>                 Key: FLUME-972
>                 URL: https://issues.apache.org/jira/browse/FLUME-972
>             Project: Flume
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: v1.0.0
>         Environment: RHEL 6.2 64-bit
>            Reporter: Will McQueen
>             Fix For: v1.1.0
>
>
> Issue: Cannot run 'mvn eclipse:eclipse' to prepare flumeng checkout for import into eclipse
> Steps:
> 1. Use fresh checkout of flume-728 branch
> 2. mvn package
> 3. mvn eclipse:add-maven-repo -Declipse.workspace=/home/will/workspace-flumeng
> 4. mvn eclipse:eclipse
> ...results in:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process (default) on project flume-hdfs-sink: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
> [ERROR] 1) org.apache.flume:flume-ng-core:jar:1.1.0-incubating-SNAPSHOT

--
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] (FLUME-972) Missing dep when attempting to prepare flume dir for import into Eclipse

Posted by "Juhani Connolly (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLUME-972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214386#comment-13214386 ] 

Juhani Connolly commented on FLUME-972:
---------------------------------------

I verified that mvn  eclipse:eclipse works fine if you do mvn install first.
Then again, I don't think that should be necessary?
                
> Missing dep when attempting to prepare flume dir for import into Eclipse
> ------------------------------------------------------------------------
>
>                 Key: FLUME-972
>                 URL: https://issues.apache.org/jira/browse/FLUME-972
>             Project: Flume
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: v1.0.0
>         Environment: RHEL 6.2 64-bit
>            Reporter: Will McQueen
>             Fix For: v1.1.0
>
>
> Issue: Cannot run 'mvn eclipse:eclipse' to prepare flumeng checkout for import into eclipse
> Steps:
> 1. Use fresh checkout of flume-728 branch
> 2. mvn package
> 3. mvn eclipse:add-maven-repo -Declipse.workspace=/home/will/workspace-flumeng
> 4. mvn eclipse:eclipse
> ...results in:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process (default) on project flume-hdfs-sink: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
> [ERROR] 1) org.apache.flume:flume-ng-core:jar:1.1.0-incubating-SNAPSHOT

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