Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1301

Database schema generation by maven-cayenne-plugin from map in Maven artifact

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1M1
    • Fix Version/s: Undefined future
    • Component/s: Core Library
    • Labels:
      None

      Description

      Currently, maven-cayenne-plugin support database schema generation only from map from local file. But sometimes (i.e., in tests) database scheme must be produced from map file from other Maven project. Proposed patch add support for database scheme generation from map file in any Maven artifact, which will be resolved from local or remote Maven repository. Map in Maven artifact specified by URI in form:

      map-uri := mvn-uri ':' <map path in Maven artifact>

      where mvn-uri is Maven artifact URI in Pax URL-like form (http://wiki.ops4j.org/display/paxurl/Mvn+Protocol) without repository-url and classifier URI parts, i.e.:

      <map>mvn:com.foo.bar/my-artifact/0.1.0-SNAPSHOT:/META-INF/cayenne/DomainMap.map.xml</map>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kapyar Victor Antonovich
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: