You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2016/04/18 21:01:25 UTC

[jira] [Comment Edited] (BIGTOP-2398) Maven 'dependency management' report errors out in site's build

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

Andrew Purtell edited comment on BIGTOP-2398 at 4/18/16 7:00 PM:
-----------------------------------------------------------------

Can you say more about when and how you're invoking the site target? I haven't seen this problem when the Bigtop build framework iterates through making packages. Are you invoking build and install targets first? And separately? 

I know from HBase releasing that we have to build and install artifacts with Maven in one command and then issue a separate command to build site targets. As far as I understand the problem (which isn't that deeply) nobody has been able to figure out how to coax Maven to always do the install target(s) before the site target(s) and without the artifacts in the local cache the site target might not work.


was (Author: apurtell):
Can you say more about when and how you're invoking the site target? I haven't seen this problem when the Bigtop build framework iterates through making packages. Are you invoking build and install targets first? And separately? 

I know from HBase releasing that we have to build and install artifacts with Maven in one command and then issue a separate command to build site targets. As far as I understand the problem (which isn't that deeply) nobody has been able to figure out how to coax Maven to always do the install target(s) before the site target(s). 

> Maven 'dependency management' report errors out in site's build
> ---------------------------------------------------------------
>
>                 Key: BIGTOP-2398
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2398
>             Project: Bigtop
>          Issue Type: Bug
>          Components: website
>    Affects Versions: 1.0.0
>            Reporter: Konstantin Boudnik
>             Fix For: 1.2.0
>
>
> I am seeing this issue since at least 1.0.0. Every time {{mvn site:site}} or {{mvn site-deploy}} are ran the following error message 
> {noformat}
> Downloading: https://repo.maven.apache.org/maven2/org/apache/phoenix/phoenix-pig/4.7.0/phoenix-pig-4.7.0.pom
> [WARNING] Unable to create Maven project for org.apache.phoenix:phoenix-pig:pom:4.7.0 from repository.
> org.apache.maven.project.ProjectBuildingException: Error resolving project artifact: Failure to find org.apache.phoenix:phoenix-pig:pom:4.7.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced for project org.apache.phoenix:phoenix-pig:pom:4.7.0
>         at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:355)
>         at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:236)
>         at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:251)
>         at org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository(RepositoryUtils.java:298)
> {noformat}
> It doesn't affect the build (yet), but let's get it fixed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)