You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tez.apache.org by "Jinjiang Ling (JIRA)" <ji...@apache.org> on 2017/12/05 05:23:00 UTC

[jira] [Created] (TEZ-3873) A simple missing dependency error in pom.xml

Jinjiang Ling created TEZ-3873:
----------------------------------

             Summary: A simple missing dependency error in pom.xml
                 Key: TEZ-3873
                 URL: https://issues.apache.org/jira/browse/TEZ-3873
             Project: Apache Tez
          Issue Type: Bug
            Reporter: Jinjiang Ling
            Priority: Minor


When I use "mvn dependency:tree" to analyze the dependencies of tez, I find there is alway a warning message like these:
{quote}
.....
\[INFO\] ------------------------------------------------------------------------
\[INFO\] Building Tez 0.9.1-SNAPSHOT
\[INFO\] ------------------------------------------------------------------------
\[WARNING\] The POM for org.apache.maven.plugins:maven-enforce-plugin:jar:1.4 is missing, no dependency information available
\[WARNING\] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-enforce-plugin:1.4: Plugin org.apache.maven.plugins:maven-enforce-plugin:1.4 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-enforce-plugin:jar:1.4 in http://nexus.server:8081/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of proxy.repository has elapsed or updates are forced
\[INFO\] 
\[INFO\] --- maven-dependency-plugin:2.8:tree (default-cli) @ tez-docs ---
.....
{quote}

This is caused by a simple mistake of pluginManagement in the pom.xml
{code:xml}
<pluginManagement>
  <plugins>
    ...
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-enforce-plugin</artifactId>
      <version>1.4</version>
    </plugin>
    ......
  </plugins>
</pluginManagement>
{code}
The correct one should be "maven-{color:red}enforcer{color}-plugin".



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