<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService" point="types">
<types>
- <type name="${NuxeoDocTypeName}${TenantPrefix}${TenantId}">cs_default</type>
+ <type name="${NuxeoDocTypeName}${TenantPrefix}${TenantId}">${Lifecycle}</type>
</types>
</extension>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="${NuxeoDocTypeName}">cs_default</type>
+ <type name="${NuxeoDocTypeName}">${Lifecycle}</type>
</types>
</extension>
</dependencies>\r
\r
<build>\r
+ <resources>\r
+ <resource>\r
+ <directory>src/main/resources</directory>\r
+ <filtering>true</filtering>\r
+ </resource>\r
+ </resources>\r
<plugins>\r
<plugin>\r
<groupId>org.apache.maven.plugins</groupId>\r
<ServiceName>acquisition</ServiceName>
<NuxeoDocTypeName>Acquisition</NuxeoDocTypeName>
<CommonSchemaName>acquisitions_common</CommonSchemaName>
+ <Lifecycle>cs_default</Lifecycle>
</properties>
<build>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Batch">cs_default</type>
+ <type name="Batch">${Lifecycle}</type>
</types>
</extension>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Blob">cs_locking</type>
+ <type name="Blob">${Lifecycle}</type>
</types>
</extension>
<NuxeoDocTypeName>CollectionObject</NuxeoDocTypeName> \r
<CommonSchemaName>collectionobjects_common</CommonSchemaName>\r
<TenantPrefix>Tenant</TenantPrefix>\r
+ <Lifecycle>cs_default</Lifecycle>\r
</properties>\r
\r
<modules>\r
logger.debug(e.getLocalizedMessage(), e); //We end up here if there is no document handler for the service -this is ok for some of the services.\r
}\r
} else {\r
- logger.warn("AuthZ refresh service binding property is set to FALSE so default roles and permissions will NOT be refreshed.");\r
+ logger.warn("AuthZ refresh service binding property is set to FALSE so default permissions will NOT be refreshed for: "\r
+ + serviceBinding.getName());\r
}\r
}\r
}\r
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Conceptauthority">cs_default</type>
- <type name="Conceptitem">cs_default</type>
+ <type name="Conceptauthority">${Lifecycle}</type>
+ <type name="Conceptitem">${Lifecycle}</type>
</types>
</extension>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Contact">cs_default</type>
+ <type name="Contact">${Lifecycle}</type>
</types>
</extension>
<ServiceName>dimension</ServiceName>
<NuxeoDocTypeName>Dimension</NuxeoDocTypeName>
<CommonSchemaName>dimensions_common</CommonSchemaName>
+ <Lifecycle>cs_default</Lifecycle>
</properties>
<build>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Group">cs_default</type>
+ <type name="Group">${Lifecycle}</type>
</types>
</extension>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<ServiceName>intake</ServiceName>
<NuxeoDocTypeName>Intake</NuxeoDocTypeName>
<CommonSchemaName>intakes_common</CommonSchemaName>
+ <Lifecycle>cs_default</Lifecycle>
</properties>
<build>
<ServiceName>loanin</ServiceName>
<NuxeoDocTypeName>Loanin</NuxeoDocTypeName>
<CommonSchemaName>loansin_common</CommonSchemaName>
+ <Lifecycle>cs_default</Lifecycle>
</properties>
<build>
<ServiceName>loanout</ServiceName>
<NuxeoDocTypeName>Loanout</NuxeoDocTypeName>
<CommonSchemaName>loansout_common</CommonSchemaName>
+ <Lifecycle>cs_default</Lifecycle>
</properties>
<build>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
- <manifestFile> src/main/resources/META-INF/MANIFEST.MF </manifestFile>
+ <manifestFile>src/main/resources/META-INF/MANIFEST.MF </manifestFile>
<manifestEntries>
<Bundle-Version>${eclipseVersion}</Bundle-Version>
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Locationauthority">cs_default</type>
- <type name="Locationitem">cs_locking</type>
+ <type name="Locationauthority">${Lifecycle}</type>
+ <type name="Locationitem">${Lifecycle}</type>
</types>
</extension>
<ServiceName>media</ServiceName>
<NuxeoDocTypeName>Media</NuxeoDocTypeName>
<CommonSchemaName>media_common</CommonSchemaName>
+ <Lifecycle>cs_default</Lifecycle>
</properties>
<build>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.collectionspace.services</groupId>
<artifactId>org.collectionspace.services.movement.3rdparty.nuxeo</artifactId>
<name>services.movement.3rdparty.nuxeo</name>
<packaging>jar</packaging>
<ServiceName>movement</ServiceName>
<NuxeoDocTypeName>Movement</NuxeoDocTypeName>
<CommonSchemaName>movements_common</CommonSchemaName>
+ <Lifecycle>cs_locking</Lifecycle>
</properties>
<build>
</description>\r
\r
<build>\r
+ <resources>\r
+ <resource>\r
+ <directory>src/main/resources</directory>\r
+ <filtering>true</filtering>\r
+ </resource>\r
+ </resources>\r
<plugins>\r
<plugin>\r
<groupId>org.apache.maven.plugins</groupId>\r
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="CSNote">cs_default</type>
+ <type name="CSNote">${Lifecycle}</type>
</types>
</extension>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="ObjectExit">cs_default</type>
+ <type name="ObjectExit">${Lifecycle}</type>
</types>
</extension>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Orgauthority">cs_default</type>
- <type name="Organization">cs_default</type>
+ <type name="Orgauthority">${Lifecycle}</type>
+ <type name="Organization">${Lifecycle}</type>
</types>
</extension>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Personauthority">cs_default</type>
- <type name="Person">cs_default</type>
+ <type name="Personauthority">${Lifecycle}</type>
+ <type name="Person">${Lifecycle}</type>
</types>
</extension>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="PersonTenant2">cs_default</type>
+ <type name="PersonTenant2">${Lifecycle}</type>
</types>
</extension>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Placeauthority">cs_default</type>
- <type name="Placeitem">cs_default</type>
+ <type name="Placeauthority">${Lifecycle}</type>
+ <type name="Placeitem">${Lifecycle}</type>
</types>
</extension>
<jaxb.version>2.2.4-1</jaxb.version>
<mysql.driver.version>5.1.8</mysql.driver.version>
<postgres.driver.version>8.4-702.jdbc4</postgres.driver.version>
+ <!-- The default life cycle policy for Nuxeo document types -->
+ <Lifecycle>cs_default</Lifecycle>
</properties>
<!--
</description>\r
\r
<build>\r
+ <resources>\r
+ <resource>\r
+ <directory>src/main/resources</directory>\r
+ <filtering>true</filtering>\r
+ </resource>\r
+ </resources>\r
<plugins>\r
<plugin>\r
<groupId>org.apache.maven.plugins</groupId>\r
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Relation">cs_default</type>
+ <type name="Relation">${Lifecycle}</type>
</types>
</extension>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Report">cs_default</type>
+ <type name="Report">${Lifecycle}</type>
</types>
</extension>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Taxonomyauthority">cs_default</type>
- <type name="Taxon">cs_default</type>
+ <type name="Taxonomyauthority">${Lifecycle}</type>
+ <type name="Taxon">${Lifecycle}</type>
</types>
</extension>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService"
point="types">
<types>
- <type name="Vocabulary">cs_default</type>
- <type name="Vocabularyitem">cs_default</type>
+ <type name="Vocabulary">${Lifecycle}</type>
+ <type name="Vocabularyitem">${Lifecycle}</type>
</types>
</extension>
</description>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>