blob: c54b52e139293c4131197ccbcbf7e6430a9c713b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.clerezza</groupId>
<artifactId>platform.launcher.storageless.parent</artifactId>
<version>0.9-SNAPSHOT</version>
</parent>
<groupId>org.apache.clerezza</groupId>
<artifactId>platform.launcher.storageless</artifactId>
<version>0.9-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Clerezza - Platform Launcher Storageless</name>
<description>A standalone java application for launching the clerezza.org platform. It is also a bundle, but there is no OSGi container known to support this (we are working on it :-) ).
</description>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.xsite</groupId>
<artifactId>xsite-maven-plugin</artifactId>
<configuration>
<sourceDirectoryPath>${basedir}/src/site/xsite</sourceDirectoryPath>
<sitemapPath>content/sitemap.xml</sitemapPath>
<skinPath>templates/skin.html</skinPath>
<outputDirectoryPath>${basedir}/target/site/documentation</outputDirectoryPath>
</configuration>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-scr-plugin</artifactId>
<executions>
<execution>
<id>generate-scr-scrdescriptor</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<!-- Bundles to list in the installer properties file -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>copy-dependencies</goal>
</goals>
<id>copy-shell</id>
<configuration>
<outputDirectory>${basedir}/target/bundles/startlevel-4</outputDirectory>
<useRepositoryLayout>true</useRepositoryLayout>
<excludeTransitive>true</excludeTransitive>
<includeScope>runtime</includeScope>
<includeArtifactIds>shell</includeArtifactIds>
</configuration>
</execution>
<execution>
<goals>
<goal>copy-dependencies</goal>
</goals>
<id>copy-rdf-core</id>
<!-- the tc-manager should be activated after the provider -->
<configuration>
<outputDirectory>${basedir}/target/bundles/startlevel-4</outputDirectory>
<useRepositoryLayout>true</useRepositoryLayout>
<excludeTransitive>true</excludeTransitive>
<includeArtifactIds>rdf.core</includeArtifactIds>
</configuration>
</execution>
<execution>
<goals>
<goal>copy-dependencies</goal>
</goals>
<id>copy-platform-bundles</id>
<configuration>
<outputDirectory>${basedir}/target/bundles/startlevel-3</outputDirectory>
<useRepositoryLayout>true</useRepositoryLayout>
<excludeTransitive>true</excludeTransitive>
<includeScope>runtime</includeScope>
<excludeArtifactIds>rdf.core,slf4j-api,platform.security,platform.security.conditions,shell,org.apache.stanbol.commons.frameworkfragment</excludeArtifactIds>
</configuration>
</execution>
<execution>
<goals>
<goal>copy-dependencies</goal>
</goals>
<id>copy-framework-bundles</id>
<configuration>
<outputDirectory>${basedir}/target/bundles/startlevel-2</outputDirectory>
<useRepositoryLayout>true</useRepositoryLayout>
<excludeTransitive>true</excludeTransitive>
<!-- <excludeScope>compile</excludeScope> -->
<includeScope>provided</includeScope>
</configuration>
</execution>
<execution>
<goals>
<goal>copy-dependencies</goal>
</goals>
<!-- this is a temporary hack to make sure the system-graph gets created -->
<id>copy-security-as-framework-bundles</id>
<configuration>
<useRepositoryLayout>true</useRepositoryLayout>
<outputDirectory>${basedir}/target/bundles/startlevel-2</outputDirectory>
<includeArtifactIds>platform.security</includeArtifactIds>
</configuration>
</execution>
<execution>
<goals>
<goal>copy-dependencies</goal>
</goals>
<!-- After the security fragment is loaded other fragments
are no longer accepted, so having them here -->
<id>copy-extension-bundles</id>
<configuration>
<useRepositoryLayout>true</useRepositoryLayout>
<outputDirectory>${basedir}/target/bundles/startlevel-1</outputDirectory>
<includeArtifactIds>platform.security.conditions,org.apache.stanbol.commons.frameworkfragment</includeArtifactIds>
</configuration>
</execution>
<execution>
<id>inline-jars</id>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeArtifactIds>
commons-logging-api,wymiwyg-commons-core,org.apache.felix.main,org.apache.felix.framework.security
</includeArtifactIds>
<outputDirectory>target/extracted</outputDirectory>
<includes>**</includes>
<excludes>
META-INF/**
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>org.apache.clerezza.platform.launcher.Main</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Bundle-Name>Clerezza - Platform Launcher</Bundle-Name>
<Bundle-SymbolicName>org.apache.clerezza.platform.launcher.storageless</Bundle-SymbolicName>
<Bundle-Activator>org.apache.clerezza.platform.launcher.ClerezzaActivator</Bundle-Activator>
<Import-Package>org.osgi.framework,org.osgi.service.startlevel</Import-Package>
<Private-Package>*</Private-Package>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<targetPath>META-INF</targetPath>
<filtering>false</filtering>
<directory>${basedir}</directory>
<includes>
<include>NOTICE.txt</include>
<include>LICENSE.*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
<!-- the exclude rules are here because the maven-dependency-plugin
copies both -SNAPSHOT version as well as the one with the timestamp,
see http://jira.codehaus.org/browse/MDEP-209 -->
<resource>
<targetPath>bundles</targetPath>
<directory>target/bundles</directory>
<excludes>
<exclude>**/*20*.*-*.jar</exclude>
</excludes>
</resource>
<resource>
<targetPath>org</targetPath>
<directory>target/extracted/org</directory>
</resource>
<resource>
<directory>target/extracted/</directory>
<includes>
<include>default.properties</include>
</includes>
</resource>
</resources>
</build>
<dependencies>
<!-- the most important bundle after the framework: logging -->
<dependency>
<groupId>org.ops4j.pax.logging</groupId>
<artifactId>pax-logging-api</artifactId>
<scope>provided</scope>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>org.ops4j.pax.logging</groupId>
<artifactId>pax-logging-service</artifactId>
<scope>provided</scope>
<version>1.6.2</version>
<!-- <exclusions>
<exclusion>
<artifactId>jmxri</artifactId>
<groupId>com.sun.jmx</groupId>
</exclusion>
<exclusion>
<artifactId>jmxtools</artifactId>
<groupId>com.sun.jdmk</groupId>
</exclusion>
</exclusions> -->
</dependency>
<dependency>
<groupId>org.apache.clerezza.ext</groupId>
<artifactId>slf4j-scala-api</artifactId>
<scope>provided</scope>
<version>1.6.3-SNAPSHOT</version>
</dependency>
<!-- Core Felix. -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
<scope>provided</scope>
<version>4.3.0-SNAPSHOT</version>
</dependency>
<!-- framework bundles -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole</artifactId>
<scope>provided</scope>
<version>4.0.0</version>
</dependency>
<!-- needed by webconsole -->
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.bundles</groupId>
<artifactId>json</artifactId>
<version>20090211_1</version>
</dependency>
<!-- <dependency>
<groupId>org.ops4j.pax.web</groupId>
<artifactId>pax-web-jetty-bundle</artifactId>
<scope>provided</scope>
<version>0.7.2</version>
</dependency> -->
<!-- <dependency>
<groupId>org.wymiwyg</groupId>
<artifactId>jetty-osgi-httpservice</artifactId>
<scope>provided</scope>
<version>0.1</version>
</dependency>
<dependency>
<groupId>org.eclipse.equinox.http</groupId>
<artifactId>servlet</artifactId>
<scope>provided</scope>
<version>1.0.0-v20070606</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<scope>provided</scope>
<version>8.0.0.M2</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<scope>provided</scope>
<version>8.0.0.M2</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
<scope>provided</scope>
<version>8.0.0.M2</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-io</artifactId>
<scope>provided</scope>
<version>8.0.0.M2</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-continuation</artifactId>
<scope>provided</scope>
<version>8.0.0.M2</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http</artifactId>
<scope>provided</scope>
<version>8.0.0.M2</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-security</artifactId>
<scope>provided</scope>
<version>8.0.0.M2</version>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>servlet-api</artifactId>
<scope>provided</scope>
<version>3.0.20100224</version>
</dependency> -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.http.jetty</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.http.whiteboard</artifactId>
<version>2.2.0</version>
</dependency>
<!-- Apache Felix framework bundles -->
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.bundlerepository</artifactId>
<scope>provided</scope>
<version>1.6.6</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.eventadmin</artifactId>
<scope>provided</scope>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr</artifactId>
<scope>provided</scope>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.configadmin</artifactId>
<scope>provided</scope>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.metatype</artifactId>
<scope>provided</scope>
<version>1.0.6</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.shell</artifactId>
<scope>provided</scope>
<version>1.4.2</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework.security</artifactId>
<scope>provided</scope>
<version>2.1.0-SNAPSHOT</version>
</dependency>
<!-- support for parameterhandling, etc -->
<dependency>
<groupId>org.wymiwyg</groupId>
<artifactId>wymiwyg-commons-core</artifactId>
<!-- runtime only in parent -->
</dependency>
<!-- support for mvn URIs (to make updating easier -->
<dependency>
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-mvn</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
</project>