Issue Details (XML | Word | Printable)

Key: JDO-612
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JDO

M2 pom is incorrect, result in problems with transitive dependencies

Created: 06/Nov/08 10:55 AM   Updated: 15/Apr/09 07:40 AM
Return to search
Component/s: api2
Affects Version/s: None
Fix Version/s: JDO 2 maintenance release 3

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works jdo-612.patch 2008-11-14 06:18 PM Craig Russell 1 kB
Issue Links:
Reference
 

Resolution Date: 15/Apr/09 07:40 AM


 Description  « Hide
jdo2-api.jar is in an M2 repository
http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/jdo/jdo2-api/2.2/
and the pom has

<dependencies>
    <dependency>
      <groupId>javax.transaction</groupId>
      <artifactId>transaction-api</artifactId>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.ant</groupId>
      <artifactId>ant</artifactId>
      <version>1.7.0</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-jpa_3.0_spec</artifactId>
      <version>1.0</version>
    </dependency>
  </dependencies>

which is incomplete. All of these dependencies should be scoped to compile AFAICS. The "junit" dep should be <scope>test</scope> since it is only for tests.

Since jdo2-api.jar is not built using M2 and has no such M2 pom.xml where is this POM coming from ? (some automated Maven process to convert M1 poms to M2 poms?)

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig Russell made changes - 14/Nov/08 05:21 PM
Field Original Value New Value
Link This issue relates to JDO-416 [ JDO-416 ]
Craig Russell made changes - 14/Nov/08 06:18 PM
Attachment jdo-612.patch [ 12393948 ]
Andy Jefferson made changes - 15/Apr/09 07:40 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]