Author: kono Date: 2011-06-24 11:06:20 -0700 (Fri, 24 Jun 2011) New Revision: 25916
Added: core3/wrappers/trunk/freehep-graphics-base/osgi.bnd core3/wrappers/trunk/freehep-graphics-base/pom.xml core3/wrappers/trunk/freehep-graphics-base/src/ core3/wrappers/trunk/freehep-graphics-base/src/main/ core3/wrappers/trunk/freehep-graphics-base/src/test/ Log: Wrapper for freehep base package, which was not wrapped before. Added: core3/wrappers/trunk/freehep-graphics-base/osgi.bnd =================================================================== --- core3/wrappers/trunk/freehep-graphics-base/osgi.bnd (rev 0) +++ core3/wrappers/trunk/freehep-graphics-base/osgi.bnd 2011-06-24 18:06:20 UTC (rev 25916) @@ -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 Added: core3/wrappers/trunk/freehep-graphics-base/pom.xml =================================================================== --- core3/wrappers/trunk/freehep-graphics-base/pom.xml (rev 0) +++ core3/wrappers/trunk/freehep-graphics-base/pom.xml 2011-06-24 18:06:20 UTC (rev 25916) @@ -0,0 +1,78 @@ +<?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> + <artifactId>parent</artifactId> + <groupId>org.cytoscape</groupId> + <version>3.0.0-alpha8-SNAPSHOT</version> + </parent> + + <properties> + <bundle.symbolicName>org.freehep.freehep-graphics-base</bundle.symbolicName> + <wrapped.groupId>org.freehep</wrapped.groupId> + <wrapped.artifactId>freehep-graphics-base</wrapped.artifactId> + <wrapped.version>2.1.3</wrapped.version> + </properties> + + <modelVersion>4.0.0</modelVersion> + <groupId>cytoscape-temp</groupId> + <artifactId>freehep-graphics-base</artifactId> + <version>2.1.3</version> + + <name>${bundle.symbolicName} ${wrapped.version} [osgi]</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> + <!-- | 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.
