Author: kono
Date: 2011-04-06 18:26:23 -0700 (Wed, 06 Apr 2011)
New Revision: 24695

Added:
   core3/wrappers/trunk/blueprints-core/osgi.bnd
   core3/wrappers/trunk/blueprints-core/pom.xml
   core3/wrappers/trunk/blueprints-core/src/
   core3/wrappers/trunk/blueprints-core/src/main/
   core3/wrappers/trunk/blueprints-core/src/test/
Log:
Wrapped version of blueprints core bundle.

Added: core3/wrappers/trunk/blueprints-core/osgi.bnd
===================================================================
--- core3/wrappers/trunk/blueprints-core/osgi.bnd                               
(rev 0)
+++ core3/wrappers/trunk/blueprints-core/osgi.bnd       2011-04-07 01:26:23 UTC 
(rev 24695)
@@ -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
\ No newline at end of file

Added: core3/wrappers/trunk/blueprints-core/pom.xml
===================================================================
--- core3/wrappers/trunk/blueprints-core/pom.xml                                
(rev 0)
+++ core3/wrappers/trunk/blueprints-core/pom.xml        2011-04-07 01:26:23 UTC 
(rev 24695)
@@ -0,0 +1,89 @@
+<?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";>
+
+       <!-- OSGi version of Blueprints Core -->
+
+       <parent>
+               <artifactId>parent</artifactId>
+               <groupId>org.cytoscape</groupId>
+               <version>3.0.0-alpha6-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.7-SNAPSHOT</wrapped.version>
+       </properties>
+
+       <modelVersion>4.0.0</modelVersion>
+       <groupId>org.cytoscape.wrappers</groupId>
+       <artifactId>com.tinkerpop.blueprints.core</artifactId>
+       <version>0.7-SNAPSHOT</version>
+
+       <name>${bundle.symbolicName} ${wrapped.version} [OSGi]</name>
+
+       <packaging>bundle</packaging>
+
+       <!-- ThinkerPop repository -->
+       <repositories>
+               <repository>
+                       <id>tinkerpop-repository</id>
+                       <name>TinkerPop Maven2 Repository</name>
+                       <url>http://tinkerpop.com/maven2</url>
+               </repository>
+       </repositories>
+
+       <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>
+                               <!-- | enable improved OSGi compilation support 
for the bundle life-cycle. 
+                                       | to switch back to the standard bundle 
life-cycle, move this setting | down 
+                                       to the maven-bundle-plugin section -->
+                               <extensions>true</extensions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               
<version>${maven-bundle-plugin.version}</version>
+                               <!-- | the following instructions are optimized 
for wrapping third-party 
+                                       libraries as OSGi bundles -->
+                               <configuration>
+                                       <instructions>
+                                               
<Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
+                                               
<Bundle-Version>${wrapped.version}</Bundle-Version>
+                                               <!-- | export wrapped contents: 
don't use Export-Package:* as this 
+                                                       bundles everything on 
the classpath -->
+                                               
<_exportcontents>*</_exportcontents>
+                                               
<Private-Package>!*</Private-Package>
+                                               <!-- | each module can override 
these defaults in their osgi.bnd file -->
+                                               <_include>-osgi.bnd</_include>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
+
+       <distributionManagement>
+               <repository>
+                       <id>thirdparty</id>
+                       <name>3rd party</name>
+                       
<url>http://cytoscape.wodaklab.org/nexus/content/repositories/thirdparty</url>
+               </repository>
+       </distributionManagement>
+
+</project>
\ No newline at end of file

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to