SHL-15 change plugin module by using XML
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<plugin>
|
||||
<configuration>
|
||||
<class>org.springframework.shell.samples.helloworld.HelloWorldPlugin</class>
|
||||
</configuration>
|
||||
</plugin>
|
||||
10
samples/helloworld/src/main/resources/spring-shell-beans.xml
Normal file
10
samples/helloworld/src/main/resources/spring-shell-beans.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">
|
||||
|
||||
<context:component-scan base-package="org.springframework.shell.samples.helloworld.commands" />
|
||||
|
||||
</beans>
|
||||
Reference in New Issue
Block a user