| <?xml version="1.0" encoding="UTF-8" standalone="no"?><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"> |
| <!-- |
| |
| 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. |
| |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>clerezza</artifactId> |
| <version>0.2-SNAPSHOT</version> |
| <relativePath>../../parent</relativePath> |
| </parent> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>platform.launcher.mulgara</artifactId> |
| <version>0.5-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| <name>Clerezza - Platform Launcher with Mulgara</name> |
| <description>Mulgara variant of 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.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.1</version> |
| <executions> |
| <execution> |
| <id>inline-jars</id> |
| <goals> |
| <goal>unpack-dependencies</goal> |
| </goals> |
| <configuration> |
| <includeArtifactIds> |
| org.apache.clerezza.platform.launcher.storageless |
| </includeArtifactIds> |
| <outputDirectory>target/extracted</outputDirectory> |
| <includes>**</includes> |
| <excludes> |
| META-INF/** |
| </excludes> |
| </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>slf4j-api</excludeArtifactIds> |
| </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.tdb</Bundle-SymbolicName> |
| <Bundle-Activator>org.apache.clerezza.platform.launcher.Main</Bundle-Activator> |
| <Import-Package>org.osgi.framework,org.osgi.service.startlevel</Import-Package> |
| <Private-Package>*</Private-Package> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| </plugins> |
| <resources> |
| <resource> |
| <directory>target/extracted/</directory> |
| <includes> |
| <include>**</include> |
| </includes> |
| </resource> |
| <resource> |
| <targetPath>META-INF</targetPath> |
| <filtering>false</filtering> |
| <directory>${basedir}</directory> |
| <includes> |
| <include>NOTICE.txt</include> |
| <include>LICENSE.*</include> |
| </includes> |
| </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> |
| </resources> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>platform.launcher.storageless</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <!-- what makes this variant special --> |
| <dependency> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>rdf.mulgara.storage</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.clerezza.ext</groupId> |
| <artifactId>org.mulgara</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.clerezza.ext</groupId> |
| <artifactId>org.openrdf.sesame</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| </dependencies> |
| </project> |