Bug 669495

Summary: problem in depmap
Product: [Fedora] Fedora Reporter: Omair Majid <omajid>
Component: plexus-mail-senderAssignee: Stanislav Ochotnicky <sochotni>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: akurtako, java-sig-commits, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-19 12:37:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Omair Majid 2011-01-13 19:30:52 UTC
Description of problem:
There is some sort of problem with the depmap supplied with plexus-mail-sender that prevents some applications that depend on plexus-mail-sender from building

Version-Release number of selected component (if applicable):
plexus-mail-sender.noarch 0:1.0-0.a2.17.fc15

How reproducible:
Every time.

Steps to Reproduce:
1. Build an application that requires plexus-mail-sender-api
  
Actual results:
Build fails with this error
1) org.codehaus.plexus:plexus-mail-sender-api:jar:1.0-alpha-2-SNAPSHOT
(snip)
  Path to dependency: 
  	1) org.apache.maven.plugins:maven-changes-plugin:maven-plugin:DUMMY_VER
  	2) plexus:plexus-mail-sender-javamail:jar:1.0-alpha-2
  	3) org.codehaus.plexus:plexus-mail-sender-api:jar:1.0-alpha-2-SNAPSHOT
----------
1 required artifact is missing.
for artifact: 
  org.apache.maven.plugins:maven-changes-plugin:maven-plugin:DUMMY_VER
from the specified remote repositories:
  apache.snapshots (http://people.apache.org/maven-snapshot-repository),
  central (http://repo1.maven.org/maven2),
  __jpp_repo__ (file:///usr/share/maven2/repository)


Expected results:
Package builds.

Additional info:
See bug 665544 for an application that uses a custom depmap to work around this problem:

  <dependency>
    <maven>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-mail-sender-api</artifactId>
      <version>1.0-alpha-2</version>
    </maven>
    <jpp>
      <groupId>JPP/plexus</groupId>
      <artifactId>mail-sender-api</artifactId>
      <version>1.0</version>
    </jpp>
  </dependency>

Comment 1 Stanislav Ochotnicky 2011-01-19 12:37:19 UTC
The bug was actually because of missing update_maven_depmap calls in post/postun. Fixed in rawhide:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2730928