pom.xml 3.66 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
<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>

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

    <properties>
        <sting.shade.phase>package</sting.shade.phase>
Peter van 't Hof's avatar
Peter van 't Hof committed
27
        <app.main.class>nl.lumc.sasc.biopet.BiopetExecutableProtected</app.main.class>
28
29
    </properties>

Peter van 't Hof's avatar
Peter van 't Hof committed
30
31
32
    <dependencies>
        <dependency>
            <groupId>nl.lumc.sasc</groupId>
33
            <artifactId>BiopetCore</artifactId>
34
            <version>${project.version}</version>
Peter van 't Hof's avatar
Peter van 't Hof committed
35
        </dependency>
36
37
38
        <dependency>
            <groupId>nl.lumc.sasc</groupId>
            <artifactId>BiopetPublicPackage</artifactId>
39
            <version>${project.version}</version>
40
        </dependency>
Peter van 't Hof's avatar
Peter van 't Hof committed
41
42
43
        <dependency>
            <groupId>nl.lumc.sasc</groupId>
            <artifactId>BiopetGatkPipelines</artifactId>
44
            <version>${project.version}</version>
Peter van 't Hof's avatar
Peter van 't Hof committed
45
46
47
48
        </dependency>
        <dependency>
            <groupId>nl.lumc.sasc</groupId>
            <artifactId>Basty</artifactId>
49
            <version>${project.version}</version>
Peter van 't Hof's avatar
Peter van 't Hof committed
50
        </dependency>
Peter van 't Hof's avatar
Peter van 't Hof committed
51
52
53
54
55
56
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
57
                <version>2.4.1</version>
Peter van 't Hof's avatar
Peter van 't Hof committed
58
                <configuration>
Peter van 't Hof's avatar
Peter van 't Hof committed
59
                    <!--suppress MavenModelInspection -->
Peter van 't Hof's avatar
Peter van 't Hof committed
60
61
62
63
64
                    <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>
Peter van 't Hof's avatar
Peter van 't Hof committed
65
                                <!--suppress MavenModelInspection -->
Peter van 't Hof's avatar
Peter van 't Hof committed
66
                                <X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK>
Peter van 't Hof's avatar
Peter van 't Hof committed
67
                                <!--suppress MavenModelInspection -->
Peter van 't Hof's avatar
Peter van 't Hof committed
68
69
70
71
72
                                <X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK>
                            </manifestEntries>
                        </transformer>
                    </transformers>
                    <filters>
73
74
75
76
77
78
                        <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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
                    </filters>
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>