You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2015/11/07 18:16:10 UTC
[jira] [Created] (REEF-921) Fix wrong artifact ID in dependency of
pom.xml
Dongjoon Hyun created REEF-921:
----------------------------------
Summary: 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
'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)