hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andras Bokor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-14677) mvn clean compile fails
Date Sat, 22 Jul 2017 13:10:01 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-14677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andras Bokor updated HADOOP-14677:
----------------------------------
    Attachment: HADOOP-14677.01.patch

This is because {{hadoop-maven-plugins}} generates the descriptor after compile phrase so
the classes are compiled during descriptor generation. Since {{hadoop-common}} uses the plugin
it will fail since descriptor is not yet generated.
We should generate the descriptor at compile phrase and force maven to run generate after
compiler-plugin.
Attaching trivial patch with the suggested solution.

> mvn clean compile fails
> -----------------------
>
>                 Key: HADOOP-14677
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14677
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Andras Bokor
>            Assignee: Andras Bokor
>         Attachments: HADOOP-14677.01.patch
>
>
> {code}mvn clean compile -q
> [ERROR] Failed to parse plugin descriptor for org.apache.hadoop:hadoop-maven-plugins:3.0.0-beta1-SNAPSHOT
(/Users/abokor/work/hdp/hadoop/hadoop-maven-plugins/target/classes): No plugin descriptor
found at META-INF/maven/plugin.xml -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginDescriptorParsingException{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message