| <?xml version="1.0" encoding="UTF-8"?> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>com.tinkerpop.blueprints</groupId> |
| <artifactId>blueprints</artifactId> |
| <version>2.5.0-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| <artifactId>blueprints-neo4j-graph</artifactId> |
| <name>Blueprints-Neo4jGraph</name> |
| <description>Blueprints property graph implementation for the Neo4j graph database</description> |
| <properties> |
| <bundle.plugin.version>2.3.7</bundle.plugin.version> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>com.tinkerpop.blueprints</groupId> |
| <artifactId>blueprints-core</artifactId> |
| <version>${blueprints.version}</version> |
| </dependency> |
| <!--<dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j</artifactId> |
| <version>1.9.2</version> <type>pom</type> </dependency> --> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>1.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.neo4j</groupId> |
| <artifactId>neo4j-ha</artifactId> |
| <version>1.9.2</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.neo4j</groupId> |
| <artifactId>neo4j-management</artifactId> |
| <version>1.9.2</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.tinkerpop.blueprints</groupId> |
| <artifactId>blueprints-test</artifactId> |
| <version>${blueprints.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.transaction</groupId> |
| <artifactId>jta</artifactId> |
| <version>1.1</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.tinkerpop.blueprints</groupId> |
| <artifactId>blueprints-graph-jung</artifactId> |
| <version>2.3.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.tinkerpop.gremlin</groupId> |
| <artifactId>gremlin-java</artifactId> |
| <version>2.3.0</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <directory>${basedir}/target</directory> |
| <finalName>${project.artifactId}-${project.version}</finalName> |
| <resources> |
| <resource> |
| <directory>${basedir}/src/main/resources |
| </directory> |
| </resource> |
| </resources> |
| <testResources> |
| <testResource> |
| <directory>${basedir}/src/test/resources |
| </directory> |
| </testResource> |
| </testResources> |
| <plugins> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>${bundle.plugin.version}</version> |
| <extensions>true</extensions> |
| <configuration> |
| <archive> |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| <instructions> |
| <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> |
| <Bundle-Name>${project.artifactId}</Bundle-Name> |
| <Bundle-Version>${project.version}</Bundle-Version> |
| <Bundle-Classpath>.</Bundle-Classpath> |
| <Import-Package>*;resolution:="optional"</Import-Package> |
| <Export-Package>edu.uci.ics.*, com.tinkerpop.blueprints.*</Export-Package> |
| <Embed-Dependency>*;scope=compile|runtime;inline=true</Embed-Dependency> |
| <Embed-Directory>lib/</Embed-Directory> |
| <Embed-Transitive>true</Embed-Transitive> |
| <Include-Resource>{maven-dependencies}</Include-Resource> |
| </instructions> |
| </configuration> |
| <executions> |
| <execution> |
| <id>bundle-manifest</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>bundle-bundle</id> |
| <phase>package</phase> |
| <goals> |
| <goal>bundle</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>create-osgi-bundles-from-dependencies</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>${bundle.plugin.version}</version> |
| <extensions>true</extensions> |
| <executions> |
| <execution> |
| <id>wrap-my-dependency</id> |
| <goals> |
| <goal>wrap</goal> |
| </goals> |
| <configuration> |
| <wrapImportPackage>!com.sun.tools</wrapImportPackage> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |