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

Jinjiang Ling commented on TEZ-3873:
------------------------------------

The patch just fix a mistake in pom.xml, so it does not contain any tests.

> 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
>         Attachments: TEZ-3873.001.patch
>
>
> 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)

Reply via email to