Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1M1
-
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>