[jboss-cvs] JBossAS SVN: r89478 - in projects/spring-int/trunk: build and 4 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed May 27 17:01:07 EDT 2009
Author: marius.bogoevici
Date: 2009-05-27 17:01:07 -0400 (Wed, 27 May 2009)
New Revision: 89478
Added:
projects/spring-int/trunk/build/src/assembly/deployer.xml
projects/spring-int/trunk/build/src/resources/
projects/spring-int/trunk/build/src/resources/META-INF/
projects/spring-int/trunk/build/src/resources/META-INF/spring-deployers-beans.xml
Modified:
projects/spring-int/trunk/build/pom.xml
projects/spring-int/trunk/pom.xml
Log:
Adding "deployer" profile for building the spring deployer out of the box.
Modified: projects/spring-int/trunk/build/pom.xml
===================================================================
--- projects/spring-int/trunk/build/pom.xml 2009-05-27 20:44:18 UTC (rev 89477)
+++ projects/spring-int/trunk/build/pom.xml 2009-05-27 21:01:07 UTC (rev 89478)
@@ -1,4 +1,5 @@
-<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">
+<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">
<parent>
<groupId>org.jboss.spring-int</groupId>
<artifactId>jboss-spring-int-parent</artifactId>
@@ -15,34 +16,67 @@
<profiles>
<profile>
<id>dist</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-2</version>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>attached</goal>
- </goals>
- <configuration>
- <finalName>jboss-spring-int-${project.version}</finalName>
- <descriptors>
- <descriptor>src/assembly/dist.xml</descriptor>
- <descriptor>src/assembly/dist-with-deps.xml</descriptor>
- <descriptor>src/assembly/src.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-3</version>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <finalName>jboss-spring-int-${project.version}</finalName>
+ <descriptors>
+ <descriptor>${basedir}/src/assembly/dist.xml</descriptor>
+ <descriptor>${basedir}/src/assembly/dist-with-deps.xml</descriptor>
+ <descriptor>${basedir}/src/assembly/src.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>deployer</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-3</version>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <finalName>jboss-spring-${project.version}.deployer</finalName>
+ <descriptors>
+ <descriptor>${basedir}/src/assembly/deployer.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
<dependencies>
<dependency>
@@ -53,6 +87,10 @@
<groupId>org.jboss.spring-int</groupId>
<artifactId>jboss-spring-int-deployers</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.jboss.spring-int</groupId>
+ <artifactId>jboss-spring-int-weaving</artifactId>
+ </dependency>
</dependencies>
-
+
</project>
\ No newline at end of file
Copied: projects/spring-int/trunk/build/src/assembly/deployer.xml (from rev 89346, projects/spring-int/trunk/build/src/assembly/dist.xml)
===================================================================
--- projects/spring-int/trunk/build/src/assembly/deployer.xml (rev 0)
+++ projects/spring-int/trunk/build/src/assembly/deployer.xml 2009-05-27 21:01:07 UTC (rev 89478)
@@ -0,0 +1,20 @@
+<assembly>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${basedir}/src/resources</directory>
+ <outputDirectory></outputDirectory>
+ <includes>
+ <include>META-INF/spring-deployers-beans.xml</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>/</outputDirectory>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ </dependencySet>
+ </dependencySets>
+</assembly>
Added: projects/spring-int/trunk/build/src/resources/META-INF/spring-deployers-beans.xml
===================================================================
--- projects/spring-int/trunk/build/src/resources/META-INF/spring-deployers-beans.xml (rev 0)
+++ projects/spring-int/trunk/build/src/resources/META-INF/spring-deployers-beans.xml 2009-05-27 21:01:07 UTC (rev 89478)
@@ -0,0 +1,18 @@
+<!--
+ Spring deployer beans.
+-->
+<deployment>
+ <bean name="SpringParserDeployer" class="org.jboss.spring.deployers.SpringParserDeployer"/>
+ <bean name="ApplicationContextDeployer" class="org.jboss.spring.deployers.ApplicationContextDeployer"/>
+ <!--
+
+ Uncomment this if you want to use only BeanFactory not the full ApplicationContext.
+ And comment the ApplicationContextDeployer, else both will pick-up the SpringMetaData.
+
+ -->
+ <!--
+
+ <bean name="BeanFactoryDeployer" class="org.jboss.spring.deployers.BeanFactoryDeployer"/>
+
+ -->
+</deployment>
\ No newline at end of file
Modified: projects/spring-int/trunk/pom.xml
===================================================================
--- projects/spring-int/trunk/pom.xml 2009-05-27 20:44:18 UTC (rev 89477)
+++ projects/spring-int/trunk/pom.xml 2009-05-27 21:01:07 UTC (rev 89478)
@@ -166,6 +166,11 @@
<artifactId>jboss-spring-int-vfs</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.jboss.spring-int</groupId>
+ <artifactId>jboss-spring-int-weaving</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>org.jboss.microcontainer</groupId>
More information about the jboss-cvs-commits
mailing list