Alfresco / alfresco-docker-installer

Generator to build Docker Compose templates to deploy Alfresco Community
Other
140 stars 57 forks source link

about mimetypes.restricted.expression #162

Closed Amazingzzl closed 1 year ago

Amazingzzl commented 1 year ago

Can we use this plugin in 7.x version ? https://github.com/keensoft/alfresco-mimetype-blocker

aborroy commented 1 year ago

It works with 7.x

If you want to build it from scratch, you need to modify this file https://github.com/keensoft/alfresco-mimetype-blocker/blob/master/mimetype-blocker-repo/pom.xml to avoid getting missing library "spring-social-facebook":

 <dependencies>
        <!-- Following dependencies are needed for compiling Java code in src/main/java;
             <scope>provided</scope> is inherited for each of the following;
             for more info, please refer to alfresco-platform-distribution POM -->
        <dependency>
            <groupId>${alfresco.groupId}</groupId>
            <artifactId>alfresco-repository</artifactId>
            <exclusions>
            <exclusion>
              <groupId>org.springframework.social</groupId>
              <artifactId>spring-social-facebook</artifactId>
            </exclusion>
      </exclusions>
        </dependency>
    </dependencies>