Introduce standard builds in SLC Lib Build
authorMathieu Baudier <mbaudier@argeo.org>
Fri, 4 Oct 2013 12:05:12 +0000 (12:05 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Fri, 4 Oct 2013 12:05:12 +0000 (12:05 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@6536 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

lib/org.argeo.slc.lib.build/META-INF/spring/mvn.xml
lib/org.argeo.slc.lib.build/META-INF/spring/standardBuilds.xml [new file with mode: 0644]

index ee08e3ea1b8b25291496f18c1a9b334a8577b1a1..70a5e12a17329e0a4a3afc1ffbf1eea26d8d7189 100644 (file)
 \r
        <flow:flow id="mvn" spec="mavenCall.spec">\r
                <description>Pure Maven call</description>\r
-               <bean name="templates/mavenCallDev" class="org.argeo.slc.maven.MavenCall">\r
+               <bean class="org.argeo.slc.maven.MavenCall">\r
                        <flow:variable />\r
                        <property name="cl" value="@{mvnArgs}" />\r
                        <property name="basedir" value="@{mvnBaseDir}" />\r
                        <property name="settings" value="@{mvnSettings}" />\r
                </bean>\r
        </flow:flow>\r
+\r
+       <!-- Templates -->\r
+       <bean name="templates/defaultMavenCall" abstract="true"\r
+               class="org.argeo.slc.maven.MavenCall">\r
+               <property name="cl" value="@{mvnArgs}" />\r
+               <property name="basedir" value="." />\r
+               <property name="settings" value="" />\r
+       </bean>\r
+\r
 </beans>
\ No newline at end of file
diff --git a/lib/org.argeo.slc.lib.build/META-INF/spring/standardBuilds.xml b/lib/org.argeo.slc.lib.build/META-INF/spring/standardBuilds.xml
new file mode 100644 (file)
index 0000000..a192219
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans xmlns="http://www.springframework.org/schema/beans"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"\r
+       xmlns:aop="http://www.springframework.org/schema/aop" xmlns:flow="http://www.argeo.org/schema/slc-flow"\r
+       xsi:schemaLocation="\r
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
+       http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd\r
+       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd\r
+       http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-1.2.xsd">\r
+\r
+       <flow:flow name="dev">\r
+               <description>Argeo Developer Build </description>\r
+               <flow:spec>\r
+                       <flow:primitive name="mvnArgs" value="clean install" />\r
+               </flow:spec>\r
+               <bean parent="templates/defaultMavenCall">\r
+                       <flow:variable />\r
+               </bean>\r
+       </flow:flow>\r
+\r
+       <flow:flow name="devFull">\r
+               <description>Argeo Full Developer Build </description>\r
+               <flow:spec>\r
+                       <flow:primitive name="mvnArgs"\r
+                               value="clean argeo-osgi:pde-sources install -Pcheck-osgi" />\r
+               </flow:spec>\r
+               <bean parent="templates/defaultMavenCall">\r
+                       <flow:variable />\r
+               </bean>\r
+       </flow:flow>\r
+\r
+\r
+</beans>
\ No newline at end of file