[jboss-cvs] JBossAS SVN: r100274 - in projects/ejb3/components/nointerface/trunk/impl: src and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Feb 2 13:50:35 EST 2010
Author: jaikiran
Date: 2010-02-02 13:50:34 -0500 (Tue, 02 Feb 2010)
New Revision: 100274
Added:
projects/ejb3/components/nointerface/trunk/impl/src/assembly/
projects/ejb3/components/nointerface/trunk/impl/src/assembly/package-assembler.xml
projects/ejb3/components/nointerface/trunk/impl/src/assembly/package.xml
Modified:
projects/ejb3/components/nointerface/trunk/impl/pom.xml
Log:
EJBTHREE-1989 Setup the creation of a no-interface package
Modified: projects/ejb3/components/nointerface/trunk/impl/pom.xml
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/pom.xml 2010-02-02 18:49:17 UTC (rev 100273)
+++ projects/ejb3/components/nointerface/trunk/impl/pom.xml 2010-02-02 18:50:34 UTC (rev 100274)
@@ -28,6 +28,32 @@
<version.metadata_ejb>2.0.0-alpha-5</version.metadata_ejb>
<version.metadata_ear>2.0.0.Alpha</version.metadata_ear>
</properties>
+
+ <build>
+ <plugins>
+ <!-- Assembly Plugin -->
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-4</version>
+ <executions>
+ <!-- Build no-interface "package" -->
+ <execution>
+ <id>build-nointerface-package</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assembly/package-assembler.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </plugin>
+ </plugins>
+
+ </build>
<!-- Dependencies -->
<dependencies>
Added: projects/ejb3/components/nointerface/trunk/impl/src/assembly/package-assembler.xml
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/assembly/package-assembler.xml (rev 0)
+++ projects/ejb3/components/nointerface/trunk/impl/src/assembly/package-assembler.xml 2010-02-02 18:50:34 UTC (rev 100274)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly 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/xsd/assembly-1.1.1.xsd"
+>
+ <id>package</id>
+ <formats>
+ <format>jar</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>src/assembly</directory>
+ <filtered>true</filtered>
+ <includes>
+ <include>package.xml</include>
+ </includes>
+ <outputDirectory>.</outputDirectory>
+ </fileSet>
+
+ <fileSet>
+ <directory>src/main/resources/META-INF</directory>
+ <includes>
+ <include>ejb3-nointerface-jboss-beans.xml</include>
+ </includes>
+ <outputDirectory>.</outputDirectory>
+ </fileSet>
+
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ <useProjectArtifact>true</useProjectArtifact>
+ <includes>
+ <include>org.jboss.ejb3.nointerface:jboss-ejb3-nointerface-spi:jar</include>
+ <include>org.jboss.ejb3.nointerface:jboss-ejb3-nointerface-impl:jar</include>
+ </includes>
+
+ </dependencySet>
+
+ </dependencySets>
+</assembly>
Added: projects/ejb3/components/nointerface/trunk/impl/src/assembly/package.xml
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/assembly/package.xml (rev 0)
+++ projects/ejb3/components/nointerface/trunk/impl/src/assembly/package.xml 2010-02-02 18:50:34 UTC (rev 100274)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+ ~ JBoss, Home of Professional Open Source
+ ~ Copyright 2005, JBoss Inc., and individual contributors as indicated
+ ~ by the @authors tag. See the copyright.txt 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.
+ -->
+<!--
+ JBoss EJB3.1 No-Interface package
+-->
+<package name="${project.groupId}:jboss-ejb3-nointerface" version="${project.version}" xmlns="org/jboss/packagemanager/package">
+
+ <!-- Place the ejb3-nointerface jar in common/lib of AS -->
+ <file name="jboss-ejb3-nointerface-impl.jar" dest-path="common/lib" type="library"/>
+ <file name="jboss-ejb3-nointerface-spi.jar" dest-path="common/lib" type="library"/>
+
+ <!-- The xml file containing the nointerface deployers -->
+ <file name="ejb3-nointerface-jboss-beans.xml" dest-path="server/default/deployers" type="config"/>
+ <file name="ejb3-nointerface-jboss-beans.xml" dest-path="server/all/deployers" type="config"/>
+
+
+</package>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list