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

Chris Nauroth commented on HADOOP-8924:
---------------------------------------

Hi, Colin.  Sorry to hear that this patch caused trouble in your dev 
environment.  There had been a related patch, HADOOP-9202, to change 
test-patch.sh to run mvn install before checking mvn eclipse:eclipse.  My 
understanding is that the established process is to run mvn install first to 
guarantee that everything is deployed into your local Maven repository, and 
then run mvn eclipse:eclipse.  That's based on the instructions shown here:

http://wiki.apache.org/hadoop/EclipseEnvironment

{quote}
>From this directory you just 'cd'-ed into (Which is also known as the 
>top-level directory of a branch or a trunk checkout), perform:

$ mvn install -DskipTests
$ mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true
{quote}

Does running an mvn install first fix the issue for you?  I just tested that 
this works in my environment by running:

{code}
rm -rf ~/.m2/repository/org/apache/hadoop/hadoop-maven-plugins && mvn install 
-DskipTests && mvn eclipse:eclipse
{code}

(The rm -rf was to force removal of any cached copy of the plugin that I might 
have in my local repository.)

                
> Add maven plugin alternative to shell script to save package-info.java
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8924
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: trunk-win
>
>         Attachments: HADOOP-8924.2.patch, HADOOP-8924.3.patch, 
> HADOOP-8924.3.patch, HADOOP-8924.4.patch, HADOOP-8924.5.patch, 
> HADOOP-8924.6.patch, HADOOP-8924.7.patch, HADOOP-8924-branch-2.7.patch, 
> HADOOP-8924-branch-trunk-win.2.patch, HADOOP-8924-branch-trunk-win.3.patch, 
> HADOOP-8924-branch-trunk-win.4.patch, HADOOP-8924-branch-trunk-win.5.patch, 
> HADOOP-8924-branch-trunk-win.6.patch, HADOOP-8924-branch-trunk-win.7.patch, 
> HADOOP-8924-branch-trunk-win.patch, HADOOP-8924.patch
>
>
> Currently, the build process relies on saveVersion.sh to generate 
> package-info.java with a version annotation.  The sh binary may not be 
> available on all developers' machines (e.g. Windows without Cygwin). This 
> issue tracks removal of that dependency in Hadoop Common.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to