Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

SWITCHYARD-1246 Support scripting in Camel routes.

  • Loading branch information...
commit b0861e535665ea6fe2e29c7dd04bb7cc7522e856 1 parent 7014472
@splatch splatch authored kcbabo committed
View
6 jboss-as7/modules/assembly.xml
@@ -71,6 +71,7 @@
<componentDescriptor>src/main/resources/external/apache/deltaspike/core-api/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/apache/mina/mina-core/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/batik/assembly-component.xml</componentDescriptor>
+ <componentDescriptor>src/main/resources/external/beanshell/assembly-component.xml</componentDescriptor>
<!--Camel assemblies -->
<componentDescriptor>src/main/resources/external/camel/cdi/assembly-component.xml</componentDescriptor>
@@ -82,19 +83,24 @@
<componentDescriptor>src/main/resources/external/camel/mail/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/camel/netty/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/camel/quartz/assembly-component.xml</componentDescriptor>
+ <componentDescriptor>src/main/resources/external/camel/script/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/camel/spring/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/camel/sql/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/drools/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/eclipse/jdt/core/compiler/ecj/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/freemarker/assembly-component.xml</componentDescriptor>
+ <componentDescriptor>src/main/resources/external/groovy/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/jbpm/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/jcraft/jsch/assembly-component.xml</componentDescriptor>
+ <componentDescriptor>src/main/resources/external/jruby/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/milyn/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/mvel/mvel2/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/picketlink/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/protobuf/assembly-component.xml</componentDescriptor>
+ <componentDescriptor>src/main/resources/external/python/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/quartz/assembly-component.xml</componentDescriptor>
+ <componentDescriptor>src/main/resources/external/rhino/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/saaj-impl/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/saxon/assembly-component.xml</componentDescriptor>
<componentDescriptor>src/main/resources/external/springframework/assembly-component.xml</componentDescriptor>
View
24 jboss-as7/modules/pom.xml
@@ -475,6 +475,10 @@
<artifactId>batik-codec</artifactId>
</dependency>
<dependency>
+ <groupId>org.beanshell</groupId>
+ <artifactId>bsh</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
</dependency>
@@ -593,6 +597,10 @@
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
+ <artifactId>camel-script</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
<artifactId>camel-sql</artifactId>
</dependency>
<dependency>
@@ -604,6 +612,10 @@
<artifactId>quartz</artifactId>
</dependency>
<dependency>
+ <groupId>rhino</groupId>
+ <artifactId>js</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.apache.deltaspike.core</groupId>
<artifactId>deltaspike-core-api</artifactId>
</dependency>
@@ -711,6 +723,10 @@
<artifactId>protobuf-java</artifactId>
</dependency>
<dependency>
+ <groupId>org.python</groupId>
+ <artifactId>jython</artifactId>
+ </dependency>
+ <dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
</dependency>
@@ -739,6 +755,10 @@
<artifactId>freemarker</artifactId>
</dependency>
<dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-all</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.milyn</groupId>
<artifactId>milyn-smooks-all</artifactId>
</dependency>
@@ -761,6 +781,10 @@
<artifactId>jsch</artifactId>
</dependency>
<dependency>
+ <groupId>org.jruby</groupId>
+ <artifactId>jruby</artifactId>
+ </dependency>
+ <dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
</dependency>
View
43 jboss-as7/modules/src/main/resources/external/beanshell/assembly-component.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<component xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2 http://maven.apache.org/xsd/component-1.1.2.xsd"
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <files>
+ <file>
+ <source>src/main/resources/external/beanshell/module.xml</source>
+ <outputDirectory>/modules/org/beanshell/main</outputDirectory>
+ <filtered>true</filtered>
+ </file>
+ </files>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>/modules/org/beanshell/main</outputDirectory>
+ <includes>
+ <include>org.beanshell:bsh</include>
+ </includes>
+ <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}</outputFileNameMapping>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ </dependencySet>
+ </dependencySets>
+</component>
View
33 jboss-as7/modules/src/main/resources/external/beanshell/module.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<module xmlns="urn:jboss:module:1.0" name="org.beanshell">
+
+ <resources>
+ <resource-root path="bsh-${version.beanshell}.jar"/>
+ </resources>
+
+ <dependencies>
+ <module name="javax.api"/>
+ </dependencies>
+
+</module>
View
43 jboss-as7/modules/src/main/resources/external/camel/script/assembly-component.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<component xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2 http://maven.apache.org/xsd/component-1.1.2.xsd"
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <files>
+ <file>
+ <source>src/main/resources/external/camel/script/module.xml</source>
+ <outputDirectory>/modules/org/apache/camel/script/main</outputDirectory>
+ <filtered>true</filtered>
+ </file>
+ </files>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>/modules/org/apache/camel/script/main</outputDirectory>
+ <includes>
+ <include>org.apache.camel:camel-script</include>
+ </includes>
+ <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}</outputFileNameMapping>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ </dependencySet>
+ </dependencySets>
+</component>
View
75 jboss-as7/modules/src/main/resources/external/camel/script/module.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<module xmlns="urn:jboss:module:1.0" name="org.apache.camel.script">
+
+ <resources>
+ <resource-root path="camel-script-${version.camel}.jar"/>
+ </resources>
+
+ <dependencies>
+ <module name="javax.api"/>
+ <module name="org.slf4j"/>
+ <module name="org.apache.camel.core"/>
+ <module name="org.osgi.core"/>
+ <module name="rhino" export="true">
+ <imports>
+ <include path="META-INF/services" />
+ </imports>
+ <exports>
+ <include path="META-INF/services" />
+ </exports>
+ </module>
+ <module name="org.beanshell" export="true">
+ <imports>
+ <include path="META-INF/services" />
+ </imports>
+ <exports>
+ <include path="META-INF/services" />
+ </exports>
+ </module>
+ <module name="org.python" export="true">
+ <imports>
+ <include path="META-INF/services" />
+ </imports>
+ <exports>
+ <include path="META-INF/services" />
+ </exports>
+ </module>
+ <module name="org.jruby" export="true">
+ <imports>
+ <include path="META-INF/services" />
+ </imports>
+ <exports>
+ <include path="META-INF/services" />
+ </exports>
+ </module>
+ <module name="org.codehaus.groovy" export="true">
+ <imports>
+ <include path="META-INF/services" />
+ </imports>
+ <exports>
+ <include path="META-INF/services" />
+ </exports>
+ </module>
+ </dependencies>
+</module>
View
43 jboss-as7/modules/src/main/resources/external/groovy/assembly-component.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<component xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2 http://maven.apache.org/xsd/component-1.1.2.xsd"
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <files>
+ <file>
+ <source>src/main/resources/external/groovy/module.xml</source>
+ <outputDirectory>/modules/org/codehaus/groovy/main</outputDirectory>
+ <filtered>true</filtered>
+ </file>
+ </files>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>/modules/org/codehaus/groovy/main</outputDirectory>
+ <includes>
+ <include>org.codehaus.groovy:groovy-all</include>
+ </includes>
+ <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}</outputFileNameMapping>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ </dependencySet>
+ </dependencySets>
+</component>
View
33 jboss-as7/modules/src/main/resources/external/groovy/module.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<module xmlns="urn:jboss:module:1.0" name="org.codehaus.groovy">
+
+ <resources>
+ <resource-root path="groovy-all-${version.groovy}.jar"/>
+ </resources>
+
+ <dependencies>
+ <module name="javax.api"/>
+ </dependencies>
+
+</module>
View
43 jboss-as7/modules/src/main/resources/external/jruby/assembly-component.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<component xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2 http://maven.apache.org/xsd/component-1.1.2.xsd"
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <files>
+ <file>
+ <source>src/main/resources/external/jruby/module.xml</source>
+ <outputDirectory>/modules/org/jruby/main</outputDirectory>
+ <filtered>true</filtered>
+ </file>
+ </files>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>/modules/org/jruby/main</outputDirectory>
+ <includes>
+ <include>org.jruby:jruby</include>
+ </includes>
+ <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}</outputFileNameMapping>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ </dependencySet>
+ </dependencySets>
+</component>
View
33 jboss-as7/modules/src/main/resources/external/jruby/module.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<module xmlns="urn:jboss:module:1.0" name="org.jruby">
+
+ <resources>
+ <resource-root path="jruby-${version.jruby}.jar"/>
+ </resources>
+
+ <dependencies>
+ <module name="javax.api"/>
+ </dependencies>
+
+</module>
View
43 jboss-as7/modules/src/main/resources/external/python/assembly-component.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<component xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2 http://maven.apache.org/xsd/component-1.1.2.xsd"
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <files>
+ <file>
+ <source>src/main/resources/external/python/module.xml</source>
+ <outputDirectory>/modules/org/python/main</outputDirectory>
+ <filtered>true</filtered>
+ </file>
+ </files>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>/modules/org/python/main</outputDirectory>
+ <includes>
+ <include>org.python:jython</include>
+ </includes>
+ <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}</outputFileNameMapping>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ </dependencySet>
+ </dependencySets>
+</component>
View
33 jboss-as7/modules/src/main/resources/external/python/module.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<module xmlns="urn:jboss:module:1.0" name="org.python">
+
+ <resources>
+ <resource-root path="jython-${version.jython}.jar"/>
+ </resources>
+
+ <dependencies>
+ <module name="javax.api"/>
+ </dependencies>
+
+</module>
View
43 jboss-as7/modules/src/main/resources/external/rhino/assembly-component.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<component xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2 http://maven.apache.org/xsd/component-1.1.2.xsd"
+ xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/component/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <files>
+ <file>
+ <source>src/main/resources/external/rhino/module.xml</source>
+ <outputDirectory>/modules/rhino/main</outputDirectory>
+ <filtered>true</filtered>
+ </file>
+ </files>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>/modules/rhino/main</outputDirectory>
+ <includes>
+ <include>rhino:js</include>
+ </includes>
+ <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}</outputFileNameMapping>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ </dependencySet>
+ </dependencySets>
+</component>
View
33 jboss-as7/modules/src/main/resources/external/rhino/module.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2010, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+<module xmlns="urn:jboss:module:1.0" name="rhino">
+
+ <resources>
+ <resource-root path="js-${version.rhino}.jar"/>
+ </resources>
+
+ <dependencies>
+ <module name="javax.api"/>
+ </dependencies>
+
+</module>
View
10 jboss-as7/modules/src/main/resources/switchyard/components/camel/resources/module.xml
@@ -38,6 +38,16 @@
<module name="org.switchyard.common-camel"/>
<module name="org.switchyard.config"/>
<module name="org.apache.camel.core" export="true" />
+ <module name="org.apache.camel.script" export="true">
+ <imports>
+ <include path="META-INF/services" />
+ <include path="META-INF/services/org/apache/camel/language/resolver"/>
+ </imports>
+ <exports>
+ <include path="META-INF/services" />
+ <include path="META-INF/services/org/apache/camel/language/resolver"/>
+ </exports>
+ </module>
<module name="org.switchyard.component.camel.switchyard" export="true">
<imports>
<include path="META-INF/services/org/apache/camel/component"/>
Please sign in to comment.
Something went wrong with that request. Please try again.