pom.xml 3.5 KB
Newer Older
1 2 3 4 5 6 7
<!--

    Due to the license issue with GATK, this part of Biopet can only be used inside the
    LUMC. Please refer to https://git.lumc.nl/biopet/biopet/wikis/home for instructions
    on how to use this protected part of biopet or contact us at sasc@lumc.nl

-->
Peter van 't Hof's avatar
Peter van 't Hof committed
8 9 10 11 12 13 14 15
<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">
    <modelVersion>4.0.0</modelVersion>

    <groupId>nl.lumc.sasc</groupId>
    <artifactId>BiopetProtectedPackage</artifactId>
    <packaging>jar</packaging>
    
16 17 18
    <parent>
        <groupId>nl.lumc.sasc</groupId>
        <artifactId>BiopetGatk</artifactId>
Peter van 't Hof's avatar
Peter van 't Hof committed
19
        <version>0.3.0-DEV</version>
20 21 22
        <relativePath>../</relativePath>
    </parent>
    
Peter van 't Hof's avatar
Peter van 't Hof committed
23 24
    <inceptionYear>2014</inceptionYear>
    <name>BiopetProtectedPackage</name>
25 26 27 28 29 30

    <properties>
        <sting.shade.phase>package</sting.shade.phase>
        <app.main.class>nl.lumc.sasc.biopet.core.BiopetExecutableProtected</app.main.class>
    </properties>

Peter van 't Hof's avatar
Peter van 't Hof committed
31 32 33 34
    <dependencies>
        <dependency>
            <groupId>nl.lumc.sasc</groupId>
            <artifactId>BiopetFramework</artifactId>
35
            <version>${project.version}</version>
Peter van 't Hof's avatar
Peter van 't Hof committed
36
        </dependency>
37 38 39
        <dependency>
            <groupId>nl.lumc.sasc</groupId>
            <artifactId>BiopetPublicPackage</artifactId>
40
            <version>${project.version}</version>
41
        </dependency>
42 43 44
        <dependency>
            <groupId>nl.lumc.sasc</groupId>
            <artifactId>BiopetGatkPipelines</artifactId>
45
            <version>${project.version}</version>
46 47 48 49
        </dependency>
        <dependency>
            <groupId>nl.lumc.sasc</groupId>
            <artifactId>Basty</artifactId>
50
            <version>${project.version}</version>
51
        </dependency>
Peter van 't Hof's avatar
Peter van 't Hof committed
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>2.3</version>
                <configuration>
                    <finalName>Biopet-${project.version}-${git.commit.id.abbrev}</finalName>
                    <transformers>
                        <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                            <manifestEntries>
                                <Main-Class>${app.main.class}</Main-Class>
                                <X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK>
                                <X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK>
                            </manifestEntries>
                        </transformer>
                    </transformers>
                    <filters>
71 72 73 74 75 76
                        <filter>
                            <artifact>nl.lumc.sasc:BiopetFramework</artifact>
                            <excludes>
                                <exclude>nl/lumc/sasc/biopet/License.txt</exclude>
                            </excludes>
                        </filter>
Peter van 't Hof's avatar
Peter van 't Hof committed
77 78 79 80 81 82 83 84 85 86 87 88 89 90
                    </filters>
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>