Full name:
net.middell:existdb-maven-plugin:1.0:sync
Description:
Sample configuration:
<configuration> <serverId>exist</serverId> <syncMappings> <syncMapping> <source>xmldb:exist://localhost.de:8080/exist/xmlrpc/db/apps/sample/</source> <target>src/main/xml/</target> </syncMapping> </syncMappings> </configuration>
Corresponding server settings in $HOME/.m2/settings.xml:
<server> <id>exist</id> <username>admin</username> <password>secret</password> </server>
Attributes:
Name | Type | Since | Description |
---|---|---|---|
serverId | String | - | The id of the <server/> entry in the Maven
settings which provides username and password credentials for
accessing the eXist-db instance.
Should this identifier not have been configured, this goal emits a warning and exits. |
syncBase | String | - | An optional base URI of all collections/resources to be
synchronized.
All mapped URIs are resolved against this base in case it has been provided. |
syncExclusion | String | - | An optional regular expression which is matched against eXist-db
URIs and allows for the exclusion of resources otherwise synced.
Per default, descriptor files are excluded. Default value is: .*?(repo)|(expath\-pkg)\.xml$. |
syncMappings | List | - | A list of mappings between eXist-db collection/resources, specified
via URIs, and local filesystem paths.
Relative filesystem paths are interpreted relative to a project's base directory. |
Should this identifier not have been configured, this goal emits a warning and exits.
All mapped URIs are resolved against this base in case it has been provided.
Per default, descriptor files are excluded.
Relative filesystem paths are interpreted relative to a project's base directory.