<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"> <parent> <artifactId>gmql</artifactId> <groupId>it.polimi.genomics</groupId> <version>5.0</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>GMQL-PythonAPI</artifactId> <packaging>jar</packaging> <description>Interface to the Python library</description> <inceptionYear>2017</inceptionYear> <dependencies> <dependency> <groupId>it.polimi.genomics</groupId> <artifactId>GMQL-Core</artifactId> <version>5.0</version> </dependency> <dependency> <groupId>it.polimi.genomics</groupId> <artifactId>GMQL-Server</artifactId> <version>5.0</version> </dependency> <dependency> <groupId>it.polimi.genomics</groupId> <artifactId>GMQL-Spark</artifactId> <version>5.0</version> </dependency> </dependencies> <build> <sourceDirectory>./src/main/scala</sourceDirectory> <plugins> <plugin> <groupId>org.scala-tools</groupId> <artifactId>maven-scala-plugin</artifactId> <executions> <execution> <id>compile</id> <goals> <goal>compile</goal> </goals> <phase>compile</phase> </execution> <execution> <id>test-compile</id> <goals> <goal>testCompile</goal> </goals> <phase>test-compile</phase> </execution> <execution> <phase>process-resources</phase> <goals> <goal>compile</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.3</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <mainClass>it.polimi.genomics.pythonapi.EntryPoint</mainClass> </manifest> </archive> </configuration> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <phase>install</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/lib</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> <configuration> <shadedArtifactAttached>true</shadedArtifactAttached> <shadedClassifierName>jackofall</shadedClassifierName> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> </transformers> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> </configuration> </plugin> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <version>3.2.2</version> <executions> <execution> <id>Scaladoc</id> <goals> <goal>doc</goal> </goals> <phase>prepare-package</phase> <configuration> <args> <arg>-no-link-warnings</arg> </args> </configuration> </execution> <execution> <id>Compile</id> <goals> <goal>compile</goal> <goal>testCompile</goal> </goals> <configuration> <args> <arg>-dependencyfile</arg> <arg>${project.build.directory}/.scala_dependencies</arg> </args> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>
<dependency> <groupId>it.polimi.genomics</groupId> <artifactId>GMQL-PythonAPI</artifactId> <version>5.0</version> </dependency>
it.polimi.genomics:GMQL-PythonAPI:5.0