Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-921

Fix wrong artifact ID in dependency of pom.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.14
    • All
    • None

    Description

      'mvn site:site' command generates the following warning message at the Dependency Management report stage.

      ...
      [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)
      

      This is due to wrong artifact ID used in the top pom.xml. This issue fixes it like the following changes.

      -                <artifactId>test-jar</artifactId>
      +                <artifactId>reef-tests</artifactId>
      +                <type>test-jar</type>
                       <version>${project.version}</version>
      -                <classifier>tests</classifier>
      +                <scope>test</scope>
      

      Attachments

        Issue Links

          Activity

            People

              dongjoon Dongjoon Hyun
              dongjoon Dongjoon Hyun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: