| <?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.5</version> |
| <relativePath>../../parent</relativePath> |
| </parent> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>platform.launcher.tdb</artifactId> |
| <version>0.6-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| <name>Clerezza - Platform Launcher with Jena TDB</name> |
| <description>TDB 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> |
| platform.launcher.storageless |
| </includeArtifactIds> |
| <outputDirectory>target/extracted</outputDirectory> |
| <includes>**</includes> |
| <excludes> |
| META-INF/**,**/org.apache.jena* |
| </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> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2.1</version> |
| <configuration> |
| <finalName>clerezza-tdb</finalName> |
| <descriptors> |
| <descriptor>src/main/assembly/src.xml</descriptor> |
| </descriptors> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> <!-- this is used for inheritance merges --> |
| <phase>package</phase> <!-- bind to the packaging phase --> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.7</version> |
| <configuration> |
| <target> |
| <property name="vm.args" value=""/> |
| <java fork="true" jar="${project.build.directory}/${project.build.finalName}.jar" |
| dir="${project.build.directory}"> |
| <jvmarg line="-Xmx1024m -XX:MaxPermSize=256M -Dfile.encoding=utf-8 ${vm.args}"/> |
| </java> |
| </target> |
| </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> |
| <version>0.9-SNAPSHOT</version> |
| </dependency> |
| <!-- what makes this variant special --> |
| <dependency> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>rdf.jena.tdb.storage</artifactId> |
| <scope>runtime</scope> |
| <version>0.7</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.clerezza.ext</groupId> |
| <artifactId>org.apache.jena.jena-iri</artifactId> |
| <scope>runtime</scope> |
| <version>1.0.1_1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.xerces</artifactId> |
| <scope>runtime</scope> |
| <version>2.11.0_1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.xmlresolver</artifactId> |
| <scope>runtime</scope> |
| <version>1.2_5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.clerezza.ext</groupId> |
| <artifactId>org.apache.jena.jena-core</artifactId> |
| <scope>runtime</scope> |
| <version>2.11.1_1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.clerezza.ext</groupId> |
| <artifactId>org.apache.jena.jena-arq</artifactId> |
| <scope>runtime</scope> |
| <version>2.11.1_1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.clerezza.ext</groupId> |
| <artifactId>org.apache.jena.jena-tdb</artifactId> |
| <scope>runtime</scope> |
| <version>1.0.1_1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>14.0</version> |
| </dependency> |
| </dependencies> |
| </project> |