Add org.argeo.slc.lib.build
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 17 Sep 2013 15:56:41 +0000 (15:56 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 17 Sep 2013 15:56:41 +0000 (15:56 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@6495 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

dep/org.argeo.slc.dep.backend/pom.xml
dist/slc-maven/pom.xml
lib/org.argeo.slc.lib.build/.project [new file with mode: 0644]
lib/org.argeo.slc.lib.build/META-INF/spring/mvn.xml [new file with mode: 0644]
lib/org.argeo.slc.lib.build/META-INF/spring/osgi.xml [new file with mode: 0644]
lib/org.argeo.slc.lib.build/pom.xml [new file with mode: 0644]
lib/pom.xml

index 5a91ea6721ee292b72654e643e52a552482e2cbb..a175f33dc00157768dc5c127f9350ed1e2d938da 100644 (file)
                </dependency>
 
                <!-- SLC Libs -->
-               <dependency>
-                       <groupId>org.argeo.slc</groupId>
-                       <artifactId>org.argeo.slc.lib.repo</artifactId>
-                       <version>1.1.14-SNAPSHOT</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc</groupId>
-                       <artifactId>org.argeo.slc.lib.jcr</artifactId>
-                       <version>1.1.14-SNAPSHOT</version>
-               </dependency>
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.slc</groupId> -->
+<!--                   <artifactId>org.argeo.slc.lib.repo</artifactId> -->
+<!--                   <version>1.1.14-SNAPSHOT</version> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.slc</groupId> -->
+<!--                   <artifactId>org.argeo.slc.lib.jcr</artifactId> -->
+<!--                   <version>1.1.14-SNAPSHOT</version> -->
+<!--           </dependency> -->
 
                <!-- Extensions -->
                <dependency>
index 4f3007117e5d194a7cce4cd46e54acc4f4990904..44e0bd1c1335954a6f97cbf973e91f508ec66d24 100644 (file)
                        <artifactId>org.argeo.slc.support.maven</artifactId>
                        <version>1.1.14-SNAPSHOT</version>
                </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.lib.build</artifactId>
+                       <version>1.1.14-SNAPSHOT</version>
+               </dependency>
        </dependencies>
        <profiles>
                <profile>
@@ -43,6 +48,7 @@
                                                                                        <dependency>
                                                                                                <includes>
                                                                                                        <include>org.argeo.slc:org.argeo.slc.support.maven</include>
+                                                                                                       <include>org.argeo.slc:org.argeo.slc.lib.build</include>
                                                                                                </includes>
                                                                                        </dependency>
                                                                                </mapping>
diff --git a/lib/org.argeo.slc.lib.build/.project b/lib/org.argeo.slc.lib.build/.project
new file mode 100644 (file)
index 0000000..6e7c038
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.argeo.slc.lib.build</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.pde.ManifestBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.SchemaBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.pde.PluginNature</nature>
+       </natures>
+</projectDescription>
diff --git a/lib/org.argeo.slc.lib.build/META-INF/spring/mvn.xml b/lib/org.argeo.slc.lib.build/META-INF/spring/mvn.xml
new file mode 100644 (file)
index 0000000..ee08e3e
--- /dev/null
@@ -0,0 +1,26 @@
+<?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:spec id="mavenCall.spec">\r
+               <flow:primitive name="mvnArgs" value="" />\r
+               <flow:primitive name="mvnSettings" value="" />\r
+               <flow:primitive name="mvnBaseDir" value="." />\r
+       </flow:spec>\r
+\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
+                       <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
+</beans>
\ No newline at end of file
diff --git a/lib/org.argeo.slc.lib.build/META-INF/spring/osgi.xml b/lib/org.argeo.slc.lib.build/META-INF/spring/osgi.xml
new file mode 100644 (file)
index 0000000..39ecd56
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
+       xsi:schemaLocation="http://www.springframework.org/schema/osgi  \r
+       http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
+       http://www.springframework.org/schema/beans   \r
+       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
+\r
+       <beans:import resource="classpath:org/argeo/slc/core/execution/spring.xml" />\r
+       <beans:import resource="classpath:org/argeo/slc/osgi/execution.xml" />\r
+\r
+       <!-- REFERENCES -->\r
+<!--   <reference id="javaRepository" interface="javax.jcr.Repository" -->\r
+<!--           filter="(argeo.jcr.repository.alias=java)" /> -->\r
+\r
+       <!-- Maven -->\r
+<!--   <reference id="mavenRepositorySystem" interface="org.sonatype.aether.RepositorySystem" -->\r
+<!--           filter="(aether.repositorySystemType=maven)" /> -->\r
+<!--   <reference id="mavenRepositorySystemSession" interface="org.sonatype.aether.RepositorySystemSession" -->\r
+<!--           filter="(aether.repositorySystemType=maven)" /> -->\r
+\r
+</beans:beans>
\ No newline at end of file
diff --git a/lib/org.argeo.slc.lib.build/pom.xml b/lib/org.argeo.slc.lib.build/pom.xml
new file mode 100644 (file)
index 0000000..4d24ff4
--- /dev/null
@@ -0,0 +1,13 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.argeo.slc</groupId>
+               <artifactId>lib</artifactId>
+               <version>1.1.14-SNAPSHOT</version>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>org.argeo.slc.lib.build</artifactId>
+       <name>SLC Lib - Build</name>
+       <description>Perform builds according to Argeo conventions</description>
+</project>
index 5d796e8cf7890606a4a48fcac992ead362ae57cf..ed5622bbd83fa028b3ef2dadce884d88e7f95cf3 100644 (file)
@@ -11,6 +11,7 @@
        <name>SLC Standard Libs</name>
        <description>SLC execution modules for generic tasks, to be used as parent pom</description>
        <modules>
+               <module>org.argeo.slc.lib.build</module>
                <module>org.argeo.slc.lib.jcr</module>
                <module>org.argeo.slc.lib.repo</module>
                <module>org.argeo.slc.lib.rpmfactory</module>