You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2015/11/09 18:09:10 UTC

[jira] [Resolved] (REEF-921) Fix wrong artifact ID in dependency of pom.xml

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

Markus Weimer resolved REEF-921.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.14

Resolved via [#620|https://github.com/apache/incubator-reef/pull/620]

> Fix wrong artifact ID in dependency of pom.xml
> ----------------------------------------------
>
>                 Key: REEF-921
>                 URL: https://issues.apache.org/jira/browse/REEF-921
>             Project: REEF
>          Issue Type: Bug
>          Components: All
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Minor
>             Fix For: 0.14
>
>
> 'mvn site:site' command generates the following warning message at the *Dependency Management* report stage. 
> {code}
> ...
> [INFO] Generating "Dependency Management" report    --- maven-project-info-reports-plugin:2.8.1
> [WARNING] Unable to create Maven project for org.apache.reef:test-jar:pom:0.14.0-incubating-SNAPSHOT from repository.
> org.apache.maven.project.ProjectBuildingException: Error resolving project artifact: Failure to find org.apache.reef:test-jar:pom:0.14.0-incubating-SNAPSHOT in http://repository.apache.
> org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced for project org.apache.reef:test-jar:pom:0.14.0-incubating-SNAPSHOT
> 	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)
> {code}
> This is due to wrong artifact ID used in the top pom.xml. This issue fixes it like the following changes.
> {code}
> -                <artifactId>test-jar</artifactId>
> +                <artifactId>reef-tests</artifactId>
> +                <type>test-jar</type>
>                  <version>${project.version}</version>
> -                <classifier>tests</classifier>
> +                <scope>test</scope>
> {code}



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