jonas-osgi
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.ow2.jonas.assemblies</groupId> <artifactId>jonas-osgi</artifactId> <version>5.1.0-RC2</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - JOnAS: Java(TM) Open Application Server - Copyright (C) 2007-2008 Bull S.A.S. - Contact: jonas-team@objectweb.org - - This library 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 any later version. - - This library 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 library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - USA - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $Id: pom.xml 17071 2009-04-07 09:24:05Z sauthieg $ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <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.ow2.jonas</groupId> <artifactId>jonas-assemblies</artifactId> <version>5.1.0-RC2</version> <relativePath>../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.ow2.jonas.assemblies</groupId> <artifactId>jonas-osgi</artifactId> <packaging>pom</packaging> <name>JOnAS :: Assemblies :: OSGi</name> <!-- Hack to desactive bad dependencies resolution in eclipse --> <profiles> <profile> <id>ineclipse</id> <activation> <property> <name>!eclipse.product</name> </property> </activation> <dependencies> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-jca-jdbc-cp</artifactId> <type>rar</type> <version>${project.version}</version> </dependency> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-jca-jdbc-ds</artifactId> <type>rar</type> <version>${project.version}</version> </dependency> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-jca-jdbc-dm</artifactId> <type>rar</type> <version>${project.version}</version> </dependency> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-jca-jdbc-xa</artifactId> <type>rar</type> <version>${project.version}</version> </dependency> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-jca-scout-rar</artifactId> <type>rar</type> <version>${project.version}</version> </dependency> <dependency> <groupId>org.objectweb.joram</groupId> <artifactId>joram_ra_for_jonas</artifactId> <type>rar</type> <version>${joram.version}</version> <exclusions> <exclusion> <groupId>org.objectweb.joram</groupId> <artifactId>joram-config</artifactId> </exclusion> <exclusion> <groupId>org.objectweb.joram</groupId> <artifactId>joram-connector</artifactId> </exclusion> <exclusion> <groupId>org.objectweb.joram</groupId> <artifactId>joram-jcup</artifactId> </exclusion> <exclusion> <groupId>org.objectweb.joram</groupId> <artifactId>joram-mom</artifactId> </exclusion> </exclusions> </dependency> </dependencies> </profile> </profiles> <dependencies> <!-- - - - - - - - - - - - - - - - - - - - - - --> <!-- lib/endorsed --> <!-- - - - - - - - - - - - - - - - - - - - - - --> <!-- Avalon + Logkit --> <dependency> <groupId>logkit</groupId> <artifactId>logkit</artifactId> </dependency> <dependency> <groupId>avalon-framework</groupId> <artifactId>avalon-framework</artifactId> </dependency> <!-- JacORB --> <dependency> <groupId>org.jacorb</groupId> <artifactId>jacorb</artifactId> </dependency> <dependency> <groupId>org.jacorb</groupId> <artifactId>jacorb-idl</artifactId> </dependency> <!-- Carol --> <dependency> <groupId>org.ow2.carol</groupId> <artifactId>carol-iiop-delegate</artifactId> </dependency> <!-- Xerces / Xalan --> <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </dependency> <dependency> <groupId>xalan</groupId> <artifactId>xalan</artifactId> </dependency> <dependency> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </dependency> <dependency> <groupId>apache-xalan</groupId> <artifactId>serializer</artifactId> </dependency> <!-- - - - - - - - - - - - - - - - - - - - - - --> <!-- lib/bootstrap --> <!-- - - - - - - - - - - - - - - - - - - - - - --> <!-- Felix Launcher --> <dependency> <groupId>org.ow2.jonas.launchers</groupId> <artifactId>felix-launcher</artifactId> <version>${project.version}</version> </dependency> <!-- Client Bootstrap (Used by JClient and Ant tasks) --> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>client-bootstrap</artifactId> <version>${project.version}</version> </dependency> <!-- - - - - - - - - - - - - - - - - - - - - - --> <!-- lib --> <!-- - - - - - - - - - - - - - - - - - - - - - --> <!-- JOnAS Commands --> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-commands</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-generators-raconfig</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-generators-clientstubs</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-cluster-daemon</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-client</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-ant-tasks</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.ow2.easybeans</groupId> <artifactId>easybeans-ant-tasks</artifactId> <version>${easybeans.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-anttasks</artifactId> <version>${cxf.version}</version> <exclusions> <exclusion> <groupId>org.apache.cxf</groupId> <artifactId>cxf-tools-wsdlto-core</artifactId> </exclusion> <exclusion> <groupId>org.apache.cxf</groupId> <artifactId>cxf-tools-java2ws</artifactId> </exclusion> <exclusion> <groupId>ant</groupId> <artifactId>ant</artifactId> </exclusion> <exclusion> <groupId>ant</groupId> <artifactId>ant-nodeps</artifactId> </exclusion> </exclusions> </dependency> <!-- TODO This dep will be removed when this module will be part of OW JAXB2 Bundle --> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-xjc</artifactId> <version>2.1.7</version> </dependency> <!-- - - - - - - - - - - - - - - - - - - - - - --> <!-- J2EE Modules --> <!-- - - - - - - - - - - - - - - - - - - - - - --> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-admin</artifactId> <type>war</type> <version>${project.version}</version> </dependency> <dependency> <groupId>org.ow2.jonas.documentation</groupId> <artifactId>jonas-doc-en</artifactId> <type>war</type> <version>${jonas-doc.version}</version> </dependency> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-ctxroot</artifactId> <type>war</type> <version>${project.version}</version> </dependency> <dependency> <groupId>org.ow2.jonas</groupId> <artifactId>mejb</artifactId> <type>ejb</type> <version>${project.version}</version> </dependency> <!-- TLD of Java EE Api --> <dependency> <groupId>org.ow2.jonas.osgi</groupId> <artifactId>javaee-api</artifactId> <classifier>tld</classifier> <type>jar</type> <version>${project.version}</version> </dependency> </dependencies> <repositories> <repository> <id>jboss.release</id> <name>JBoss M2 Repository (for Xalan Serializer)</name> <url>http://repository.jboss.com/maven2</url> <snapshots> <enabled>false</enabled> </snapshots> <releases> <enabled>true</enabled> </releases> </repository> </repositories> <build> <plugins> <plugin> <!-- Create the JOnAS/OSGi assembly --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-1</version> <executions> <execution> <id>generate-osgi-assembly</id> <phase>package</phase> <goals> <goal>attached</goal> </goals> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> </descriptors> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <!-- Unpack the JOnAS configuration files + samples --> <id>unpack-jonas-configuration</id> <goals> <goal>unpack</goal> </goals> <phase>generate-sources</phase> <configuration> <artifactItems> <artifactItem> <groupId>org.ow2.jonas.assemblies</groupId> <artifactId>jonas-configuration</artifactId> <version>${project.version}</version> </artifactItem> <artifactItem> <groupId>org.ow2.jonas.assemblies</groupId> <artifactId>jonas-examples</artifactId> <version>${project.version}</version> </artifactItem> </artifactItems> <outputDirectory>${project.build.directory}/configuration-resources</outputDirectory> <excludes>META-INF/**</excludes> </configuration> </execution> <execution> <!-- Jetty / Tomcat / EasyBeans --> <id>unpack-extra-configuration-files</id> <goals> <goal>unpack</goal> </goals> <phase>generate-sources</phase> <configuration> <artifactItems> <artifactItem> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-web-container-jetty-6.1</artifactId> <version>${project.version}</version> </artifactItem> <artifactItem> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-web-container-tomcat-6.0</artifactId> <version>${project.version}</version> </artifactItem> <artifactItem> <groupId>org.ow2.jonas</groupId> <artifactId>jonas-ejb-easybeans</artifactId> <classifier>config</classifier> <version>${project.version}</version> </artifactItem> </artifactItems> <outputDirectory>${project.build.directory}/extra-resources</outputDirectory> <excludes>META-INF/**</excludes> <includes>tomcat6-*.xml, jetty6*.xml, easybeans-jonas.xml</includes> </configuration> </execution> </executions> </plugin> <plugin> <!-- Before the assembly execution, place the bundles in the appropriate directory--> <groupId>org.ow2.util.maven</groupId> <artifactId>maven-jbuilding-plugin</artifactId> <executions> <execution> <id>generate-maven2-deployment-plans</id> <inherited>true</inherited> <goals> <goal>generate-maven2-deployment-plans</goal> </goals> <phase>generate-sources</phase> </execution> <execution> <id>copy-jonas-bundles</id> <inherited>true</inherited> <goals> <goal>assemble</goal> </goals> <phase>generate-sources</phase> </execution> <!-- Generate a version.properties in target/ --> <execution> <id>generate-versions-properties</id> <inherited>true</inherited> <goals> <goal>versions</goal> </goals> <phase>generate-sources</phase> <configuration> <output>${project.build.directory}/assemble-resources/versions.properties</output> </configuration> </execution> <!-- Generate the client.jar --> <execution> <id>generate-client-jar</id> <inherited>true</inherited> <goals> <goal>client-jar</goal> </goals> <phase>generate-sources</phase> </execution> </executions> </plugin> </plugins> </build> </project>