Skip to content

Instantly share code, notes, and snippets.

@kozo2
Created August 16, 2020 01:35
Show Gist options
  • Save kozo2/40001e280d2f9e5330fc8fc15dde2515 to your computer and use it in GitHub Desktop.
Save kozo2/40001e280d2f9e5330fc8fc15dde2515 to your computer and use it in GitHub Desktop.
<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">
<properties>
<cytoscape.api.version>3.6.0</cytoscape.api.version>
<maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version>
<maven-bundle-plugin.version>5.1.1</maven-bundle-plugin.version>
<osgi.api.version>4.2.0</osgi.api.version>
<bundle.symbolicName>org.cytoscape.keggscape</bundle.symbolicName>
<bundle.namespaece>org.cytoscape.keggscape</bundle.namespaece>
<bundle.name>KEGGscape</bundle.name>
</properties>
<modelVersion>4.0.0</modelVersion>
<groupId>org.cytoscape</groupId>
<artifactId>keggscape</artifactId>
<version>0.8.2</version>
<name>KEGGScape</name>
<packaging>bundle</packaging>
<build>
<finalName>KEGGscape</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>2.5.0</version>
<executions>
<execution>
<id>xjc</id>
<goals>
<goal>xjc</goal>
</goals>
</execution>
</executions>
<configuration>
<packageName>org.cytoscape.keggscape.internal.generated</packageName>
<sourceType>dtd</sourceType>
<sources>
<source>src/main/resources/KGML_v0.7.2_.dtd</source>
</sources>
<externalEntityProcessing>true</externalEntityProcessing>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<!-- These options indicate the source code is Java 1.8-compliant and
the resulting class files should be Java 1.8-compatible. -->
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<javax.xml.accessExternalDTD>all</javax.xml.accessExternalDTD>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${maven-bundle-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<instructions>
<!-- TODO: Embed dependencies -->
<Bundle-SymbolicName>org.cytoscape.keggscape</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<!-- This tells the bundle plugin which packages should not be exported. -->
<Private-Package>org.cytoscape.keggscape.internal.*</Private-Package>
<Bundle-Activator>org.cytoscape.keggscape.internal.CyActivator</Bundle-Activator>
<Embed-Dependency>*;scope=!provided|test;groupId=!org.cytoscape</Embed-Dependency>
<Embed-Transitive>true</Embed-Transitive>
<Import-Package>*;resolution:=optional</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>cytoscape_snapshots</id>
<snapshots>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
<name>Cytoscape Snapshots</name>
<url>http://code.cytoscape.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>cytoscape_releases</id>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
</releases>
<name>Cytoscape Releases</name>
<url>http://code.cytoscape.org/nexus/content/repositories/releases/</url>
</repository>
</repositories>
<dependencies>
<!-- Cytoscape API dependencies -->
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>service-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>work-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>model-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>io-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>viewmodel-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>swing-application-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>group-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>core-task-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>swing-util-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>ci-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<!-- Logger -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.6</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>${osgi.api.version}</version>
<scope>provided</scope>
</dependency>
<!-- 3rd party libraries -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.3.5</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.4.2</version>
</dependency>
<!-- https://search.maven.org/artifact/javax.xml.bind/jaxb-api/2.3.0/jar -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<!-- https://search.maven.org/artifact/javax.annotation/javax.annotation-api/1.3.2/jar -->
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
<!-- osgi jax-rs bundles -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>${osgi.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.5.7</version>
<scope>provided</scope>
</dependency>
<!-- for Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>event-api</artifactId>
<version>${cytoscape.api.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>model-impl</artifactId>
<version>${cytoscape.api.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>model-impl</artifactId>
<version>${cytoscape.api.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>ding-presentation-impl</artifactId>
<version>${cytoscape.api.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>ding-presentation-impl</artifactId>
<version>${cytoscape.api.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>viewmodel-impl</artifactId>
<version>${cytoscape.api.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>viewmodel-impl</artifactId>
<version>${cytoscape.api.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>vizmap-impl</artifactId>
<version>${cytoscape.api.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment