Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

First version of wrapped libraries for other OSGi-based projects.

  • Loading branch information...
commit c523d457f60c0dbaf8da0441075be781d914729a 1 parent 18e15f5
@keiono authored
View
34 pom.xml
@@ -0,0 +1,34 @@
+<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/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.cytoscape.wrappers</groupId>
+ <artifactId>wrapped-osgi-libs</artifactId>
+ <version>0.0.1</version>
+ <packaging>pom</packaging>
+
+ <properties>
+ <maven-pax-plugin.version>1.5</maven-pax-plugin.version>
+ <maven-bundle-plugin.version>2.3.5</maven-bundle-plugin.version>
+ </properties>
+
+ <modules>
+ <module>tinkerpop-blueprints-core</module>
+ </modules>
+
+ <repositories>
+ <repository>
+ <id>tinkerpop-repository</id>
+ <name>TinkerPop Maven2 Repository</name>
+ <url>http://tinkerpop.com/maven2</url>
+ </repository>
+ </repositories>
+
+ <distributionManagement>
+ <repository>
+ <id>thirdparty</id>
+ <name>3rd party</name>
+ <url>http://cytoscape.wodaklab.org/nexus/content/repositories/thirdparty</url>
+ </repository>
+ </distributionManagement>
+</project>
View
11 tinkerpop-blueprints-core/osgi.bnd
@@ -0,0 +1,11 @@
+#--------------------------------------------------------------------------
+# Use this file to add customized Bnd instructions for the wrapped library
+#--------------------------------------------------------------------------
+
+#
+# this unpacks the contents of the wrapped jar artifact inside the bundle
+# to also inline dependencies of this artifact add Embed-Transitive: true
+#
+Embed-Dependency: *;scope=compile|runtime;type=!pom;inline=true
+
+Import-Package: *;resolution:=optional
View
64 tinkerpop-blueprints-core/pom.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.cytoscape.wrappers</groupId>
+ <artifactId>wrapped-osgi-libs</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+
+ <properties>
+ <bundle.symbolicName>com.tinkerpop.blueprints.core</bundle.symbolicName>
+ <wrapped.groupId>com.tinkerpop.blueprints</wrapped.groupId>
+ <wrapped.artifactId>blueprints-core</wrapped.artifactId>
+ <wrapped.version>0.9</wrapped.version>
+ </properties>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.cytoscape.wrappers</groupId>
+ <artifactId>tinkerpop-blueprints-core</artifactId>
+ <version>${wrapped.version}</version>
+
+ <name>${bundle.symbolicName} ${wrapped.version} [wrapped OSGi bundle]</name>
+
+ <packaging>bundle</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>${wrapped.groupId}</groupId>
+ <artifactId>${wrapped.artifactId}</artifactId>
+ <version>${wrapped.version}</version>
+ <optional>true</optional>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.ops4j</groupId>
+ <artifactId>maven-pax-plugin</artifactId>
+ <version>${maven-pax-plugin.version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>${maven-bundle-plugin.version}</version>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
+ <Bundle-Version>${wrapped.version}</Bundle-Version>
+ <_exportcontents>*</_exportcontents>
+ <Private-Package>!*</Private-Package>
+ <_include>-osgi.bnd</_include>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+
+
+</project>
+
Please sign in to comment.
Something went wrong with that request. Please try again.