Commit eda288f6 authored by Brian Long's avatar Brian Long
Browse files

fully-qualified bean names to prevent conflicts with other extensions

parent 83cd2c95
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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>
+5 −1
Original line number Diff line number Diff line
@@ -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 {

}