[ 
https://issues.apache.org/jira/browse/CAY-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Victor Antonovich updated CAY-1301:
-----------------------------------

    Attachment: db_map_from_maven_artifact.patch

maven-cayenne-plugin patch for extracting map for database schema generaton 
from Maven artifact.

> Database schema generation by maven-cayenne-plugin from map in Maven artifact
> -----------------------------------------------------------------------------
>
>                 Key: CAY-1301
>                 URL: https://issues.apache.org/jira/browse/CAY-1301
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Cayenne Core Library
>    Affects Versions: 3.1
>            Reporter: Victor Antonovich
>         Attachments: db_map_from_maven_artifact.patch
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to