pom.xml 3.24 KB
Newer Older
Peter van 't Hof's avatar
Peter van 't Hof committed
1
2
3
4
5
6
7
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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>nl.lumc.sasc</groupId>
    <artifactId>BiopetProtectedPackage</artifactId>
    <packaging>jar</packaging>
    
Peter van 't Hof's avatar
Peter van 't Hof committed
9
10
11
    <parent>
        <groupId>nl.lumc.sasc</groupId>
        <artifactId>BiopetGatk</artifactId>
12
        <version>0.2.0-rc1</version>
Peter van 't Hof's avatar
Peter van 't Hof committed
13
14
15
        <relativePath>../</relativePath>
    </parent>
    
Peter van 't Hof's avatar
Peter van 't Hof committed
16
17
    <inceptionYear>2014</inceptionYear>
    <name>BiopetProtectedPackage</name>
18
19
20
21
22
23

    <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
24
25
26
27
    <dependencies>
        <dependency>
            <groupId>nl.lumc.sasc</groupId>
            <artifactId>BiopetFramework</artifactId>
28
            <version>${project.version}</version>
Peter van 't Hof's avatar
Peter van 't Hof committed
29
        </dependency>
30
31
32
        <dependency>
            <groupId>nl.lumc.sasc</groupId>
            <artifactId>BiopetPublicPackage</artifactId>
33
            <version>${project.version}</version>
34
        </dependency>
Peter van 't Hof's avatar
Peter van 't Hof committed
35
36
37
        <dependency>
            <groupId>nl.lumc.sasc</groupId>
            <artifactId>BiopetGatkPipelines</artifactId>
38
            <version>${project.version}</version>
Peter van 't Hof's avatar
Peter van 't Hof committed
39
40
41
42
        </dependency>
        <dependency>
            <groupId>nl.lumc.sasc</groupId>
            <artifactId>Basty</artifactId>
43
            <version>${project.version}</version>
Peter van 't Hof's avatar
Peter van 't Hof committed
44
        </dependency>
Peter van 't Hof's avatar
Peter van 't Hof committed
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
    </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>
64
65
66
67
68
69
                        <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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
                    </filters>
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>