Maven 2 & 3

provide some hand holding for dependencies on non-distributable jars

Details

  • Number of attachments :
    0

Description

We can create POMs for things like jdbc, jdo, etc, and just not house the JARs at ibiblio.

An attempt to use them, when not present locally, should provide a sensible error message.

We should provide a plugin that will install a file in the local repository, ie:

m2 install:install -Dartifact=/path/to/jdbc-2.0.jar -DgroupId=jdbc -DartifactId=jdbc -Dversion=2.0

(modify the install:install mojo to allow taking these parameters instead of a #project)

Activity

Hide
Ryan Sonnek added a comment -

as an example, geronimo has an implementation of the java transaction api, so i could use that AS the jdbc jar. any timeline on this?

Show
Ryan Sonnek added a comment - as an example, geronimo has an implementation of the java transaction api, so i could use that AS the jdbc jar. any timeline on this?
Hide
Brett Porter added a comment -

helpful error message now given. To setup a POM for a non-distributable JAR, see jdbc/jdbc/2.0/jdbc-2.0.pom as an example.

Show
Brett Porter added a comment - helpful error message now given. To setup a POM for a non-distributable JAR, see jdbc/jdbc/2.0/jdbc-2.0.pom as an example.

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: