fully-qualified bean names to prevent conflicts with other extensions
This commit is contained in:
5
pom.xml
5
pom.xml
@@ -62,6 +62,11 @@
|
||||
<groupId>org.alfresco.officeservices</groupId>
|
||||
<artifactId>aoservices</artifactId>
|
||||
</exclusion>
|
||||
<!-- includes an old version of spring which just causes problems and we dont' need it for the build' -->
|
||||
<exclusion>
|
||||
<groupId>org.springframework.security.oauth</groupId>
|
||||
<artifactId>spring-security-oauth2</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
@@ -16,6 +16,7 @@ package com.activiti.extension.conf;
|
||||
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.FullyQualifiedAnnotationBeanNameGenerator;
|
||||
|
||||
/**
|
||||
* A means for injecting packages to scan for the Spring context.
|
||||
@@ -23,7 +24,10 @@ import org.springframework.context.annotation.Configuration;
|
||||
* @author brian@inteligr8.com
|
||||
*/
|
||||
@Configuration
|
||||
@ComponentScan(basePackages = "com.inteligr8.alfresco.activiti.share")
|
||||
@ComponentScan(
|
||||
basePackages = "com.inteligr8.alfresco.activiti.share",
|
||||
nameGenerator = FullyQualifiedAnnotationBeanNameGenerator.class
|
||||
)
|
||||
public class ModelShareComponentScanner {
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user