wso2carbon-core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.wso2.carbon</groupId> <artifactId>wso2carbon-core</artifactId> <version>4.10.44</version> </dependency>
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) WSO2 Inc. (http://wso2.com) All Rights Reserved. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <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.wso2.carbon</groupId> <artifactId>carbon-parent</artifactId> <version>4.10.44</version> <relativePath>../../parent/pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>wso2carbon-core</artifactId> <packaging>pom</packaging> <name>WSO2 Carbon - Distribution</name> <description>WSO2 Carbon Core - Distribution</description> <url>http://wso2.org</url> <dependencies> <dependency> <groupId>org.apache.geronimo.specs.wso2</groupId> <artifactId>geronimo-stax-api_1.0_spec</artifactId> </dependency> <dependency> <groupId>org.wso2.carbon</groupId> <artifactId>org.wso2.carbon.bootstrap</artifactId> </dependency> <dependency> <groupId>org.wso2.carbon</groupId> <artifactId>org.wso2.carbon.bridge</artifactId> </dependency> <dependency> <groupId>org.wso2.carbon</groupId> <artifactId>org.wso2.carbon.http.bridge</artifactId> </dependency> <dependency> <groupId>org.wso2.carbon</groupId> <artifactId>org.wso2.carbon.servletbridge</artifactId> </dependency> <dependency> <groupId>org.wso2.carbon</groupId> <artifactId>org.wso2.carbon.server</artifactId> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-jcl</artifactId> </dependency> <dependency> <groupId>org.apache.axis2</groupId> <artifactId>addressing</artifactId> <type>mar</type> </dependency> <dependency> <groupId>commons-lang.wso2</groupId> <artifactId>commons-lang</artifactId> </dependency> <dependency> <groupId>ant-contrib</groupId> <artifactId>ant-contrib</artifactId> </dependency> <dependency> <groupId>ws-commons</groupId> <artifactId>tcpmon</artifactId> </dependency> <dependency> <groupId>org.wso2.orbit.com.h2database</groupId> <artifactId>h2-engine</artifactId> </dependency> <dependency> <groupId>org.wso2.orbit.org.apache.geronimo.specs</groupId> <artifactId>geronimo-jms_1.1_spec</artifactId> </dependency> <dependency> <groupId>org.wso2.orbit.xerces</groupId> <artifactId>xercesImpl</artifactId> </dependency> <dependency> <groupId>org.wso2.orbit.xalan</groupId> <artifactId>xalan</artifactId> </dependency> <dependency> <groupId>org.wso2.orbit.xalan</groupId> <artifactId>serializer</artifactId> </dependency> <dependency> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </dependency> <dependency> <groupId>xml-resolver</groupId> <artifactId>xml-resolver</artifactId> </dependency> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jta_1.1_spec</artifactId> </dependency> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jaxws_2.2_spec</artifactId> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-annotations-api</artifactId> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-juli</artifactId> </dependency> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> </dependency> <dependency> <groupId>com.sun.istack</groupId> <artifactId>istack-commons-runtime</artifactId> </dependency> <dependency> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> </dependency> <dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> </dependency> <dependency> <groupId>org.wso2.orbit.sun.xml.ws</groupId> <artifactId>jaxws-ri</artifactId> </dependency> <dependency> <groupId>com.sun.xml.messaging.saaj</groupId> <artifactId>saaj-impl</artifactId> </dependency> <dependency> <groupId>org.jvnet.staxex</groupId> <artifactId>stax-ex</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <inherited>false</inherited> <executions> <execution> <id>unpack-equinox-executable</id> <phase>test</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.eclipse.equinox</groupId> <artifactId>org.eclipse.equinox.executable</artifactId> <version>3.5.0.v20110530-7P7NFUFFLWUl76mart</version> <type>zip</type> <overWrite>true</overWrite> <outputDirectory>target</outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.wso2.maven</groupId> <artifactId>carbon-p2-plugin</artifactId> <executions> <execution> <id>p2-repo-generation</id> <phase>package</phase> <goals> <goal>p2-repo-gen</goal> </goals> <configuration> <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository> <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository> <publishArtifacts>true</publishArtifacts> <publishArtifactRepository>true</publishArtifactRepository> <featureArtifacts> <featureArtifactDef> org.wso2.carbon:org.wso2.carbon.core.feature:${carbon.kernel.version} </featureArtifactDef> <featureArtifactDef> org.wso2.carbon:org.wso2.carbon.core.runtime.feature:${carbon.kernel.version} </featureArtifactDef> <featureArtifactDef> org.wso2.carbon.utils:org.wso2.carbon.database.utils.feature:${org.wso2.carbon.database.utils.version} </featureArtifactDef> </featureArtifacts> </configuration> </execution> <execution> <id>publishing products</id> <phase>package</phase> <goals> <goal>publish-product</goal> </goals> <configuration> <productConfigurationFile>${basedir}/carbon.product </productConfigurationFile> <executable> ${basedir}/target/org.eclipse.equinox.executable_3.5.0.v20110530-7P7NFUFFLWUl76mart </executable> <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository> <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository> </configuration> </execution> <execution> <id>materialize-product</id> <phase>package</phase> <goals> <goal>materialize-product</goal> </goals> <configuration> <productConfigurationFile>${basedir}/carbon.product </productConfigurationFile> <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository> <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository> <targetPath>file:${basedir}/target/WSO2Carbon</targetPath> <profile>default</profile> </configuration> </execution> <execution> <id>feature-installation</id> <phase>package</phase> <goals> <goal>p2-profile-gen</goal> </goals> <configuration> <profile>default</profile> <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository> <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository> <destination>${basedir}/target/WSO2Carbon</destination> <deleteOldProfileFiles>true</deleteOldProfileFiles> <features> <feature> <id>org.wso2.carbon.core.feature.group</id> <version>${carbon.kernel.version}</version> </feature> </features> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>package</phase> <configuration> <tasks> <replace token="false" value="true" dir="target/WSO2Carbon"> <include name="**/bundles.info" /> </replace> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> <execution> <id>1-run-ant</id> <phase>test</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <path id="h2.classpath"> <path refid="maven.compile.classpath" /> </path> <echo message="########### Create Default Database ##############" /> <sql driver="org.h2.Driver" url="jdbc:h2:${basedir}/target/repository/database/WSO2CARBON_DB" userid="wso2carbon" password="wso2carbon" autocommit="true" onerror="continue"> <classpath> <path refid="h2.classpath" /> </classpath> <fileset file="${basedir}/carbon-home/dbscripts/h2.sql" /> </sql> <echo message="##################### END ########################" /> <echo message="########### Create Shared Database ##############" /> <sql driver="org.h2.Driver" url="jdbc:h2:${basedir}/target/repository/database/WSO2SHARED_DB" userid="wso2carbon" password="wso2carbon" autocommit="true" onerror="continue"> <classpath> <path refid="h2.classpath" /> </classpath> <fileset file="${basedir}/carbon-home/dbscripts/h2.sql" /> </sql> <echo message="##################### END ########################" /> </tasks> </configuration> </execution> <execution> <id>3-cleanup</id> <phase>install</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <delete dir="target/archive-tmp" /> <delete dir="target/repository" /> <delete dir="target/site" /> </tasks> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <id>2-dist</id> <phase>package</phase> <goals> <goal>attached</goal> </goals> <configuration> <filters> <filter>${basedir}/src/assembly/filter.properties</filter> </filters> <descriptors> <descriptor>${basedir}/src/assembly/bin.xml</descriptor> </descriptors> <appendAssemblyId>false</appendAssemblyId> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>