pom.xml 11 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!--

    Biopet is built on top of GATK Queue for building bioinformatic
    pipelines. It is mainly intended to support LUMC SHARK cluster which is running
    SGE. But other types of HPC that are supported by GATK Queue (such as PBS)
    should also be able to execute Biopet tools and pipelines.

    Copyright 2014 Sequencing Analysis Support Core - Leiden University Medical Center

    Contact us at: sasc@lumc.nl

    A dual licensing mode is applied. The source code within this project that are
    not part of GATK Queue is freely available for non-commercial use under an AGPL
    license; For commercial users or users who do not want to follow the AGPL
    license, please contact us to obtain a separate license.

-->
19
20
<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>
Peter van 't Hof's avatar
Peter van 't Hof committed
21
    <artifactId>Biopet</artifactId>
22
    <groupId>nl.lumc.sasc</groupId>
Peter van 't Hof's avatar
Peter van 't Hof committed
23
24
    <name>Biopet</name>
    <packaging>pom</packaging>
bow's avatar
bow committed
25
    <version>0.4.0-DEV</version>
26
    
27
28
    <modules>
        <module>biopet-framework</module>
29
        <module>biopet-public-package</module>
30
31
32
33
34
        <module>bammetrics</module>
        <module>flexiprep</module>
        <module>gentrap</module>
        <module>mapping</module>
        <module>sage</module>
Wai Yi Leung's avatar
Wai Yi Leung committed
35
        <module>kopisu</module>
36
        <module>yamsvp</module>
37
        <module>gears</module>
Peter van 't Hof's avatar
Peter van 't Hof committed
38
        <module>bam2wig</module>
39
        <module>carp</module>
Peter van 't Hof's avatar
Peter van 't Hof committed
40
41
	    <module>toucan</module>
        <module>shiva</module>
Peter van 't Hof's avatar
Peter van 't Hof committed
42
        <module>basty</module>
43
    </modules>
44

45
46
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47
        <scoverage.plugin.version>1.0.4</scoverage.plugin.version>
48
49
50
    </properties>
    
    <build>
51
52
53
54
55
56
57
58
59
60
        <sourceDirectory>${basedir}/src/main/scala</sourceDirectory>
        <testSourceDirectory>${basedir}/src/test/scala</testSourceDirectory>
        <testResources>
            <testResource>
                <directory>${basedir}/src/test/resources</directory>
                <includes>
                    <include>**/*</include>
                </includes>
            </testResource>
        </testResources>
61
62
        <resources>
            <resource>
63
                <directory>${basedir}/src/main/resources</directory>
64
65
66
67
68
69
                <includes>
                    <include>**/*</include>
                </includes>
            </resource>
        </resources>
        <plugins>
70
71
72
73
74
75
76
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <workingDirectory>${project.build.directory}</workingDirectory>
                </configuration>
            </plugin>
77
            <plugin>
78
79
80
81
82
83
84
85
86
87
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.10</version>
                <executions>
                    <execution>
                        <id>copy-installed</id>
                        <phase>prepare-package</phase>
                        <goals>
                            <goal>list</goal>
                        </goals>
                        <configuration>
Peter van 't Hof's avatar
Peter van 't Hof committed
88
                            <outputFile>${project.build.outputDirectory}/dependency_list.txt</outputFile>
89
90
91
92
                        </configuration>
                    </execution>
                </executions>
            </plugin>
93
            <plugin>
94
95
96
                <groupId>net.alchim31.maven</groupId>
                <artifactId>scala-maven-plugin</artifactId>
                <version>3.2.0</version>
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
                <executions>
                    <execution>
                        <id>scala-compile</id>
                        <goals>
                            <goal>compile</goal>
                            <goal>testCompile</goal>
                        </goals>
                        <configuration>
                            <args>
                                <arg>-dependencyfile</arg>
                                <arg>${project.build.directory}/.scala_dependencies</arg>
                                <arg>-deprecation</arg>
                                <arg>-feature</arg>
                            </args>
                        </configuration>
                    </execution>
                </executions>
114
                <!-- ... (see other usage or goals for details) ... -->
115
116
117
118
119
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.5</version>
120
121
122
123
124
125
126
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
                <configuration>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <showDeprecation>true</showDeprecation>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.scalariform</groupId>
                <artifactId>scalariform-maven-plugin</artifactId>
                <version>0.1.4</version>
                <executions>
                    <execution>
                        <phase>process-sources</phase>
                        <goals>
                            <goal>format</goal>
                        </goals>
                        <configuration>
                            <rewriteArrowSymbols>false</rewriteArrowSymbols>
                            <alignParameters>true</alignParameters>
                            <alignSingleLineCaseStatements_maxArrowIndent>40
                            </alignSingleLineCaseStatements_maxArrowIndent>
                            <alignSingleLineCaseStatements>true</alignSingleLineCaseStatements>
                            <compactStringConcatenation>false</compactStringConcatenation>
                            <compactControlReadability>false</compactControlReadability>
                            <doubleIndentClassDeclaration>false</doubleIndentClassDeclaration>
                            <formatXml>true</formatXml>
                            <indentLocalDefs>false</indentLocalDefs>
                            <indentPackageBlocks>true</indentPackageBlocks>
                            <indentSpaces>2</indentSpaces>
                            <placeScaladocAsterisksBeneathSecondAsterisk>false
                            </placeScaladocAsterisksBeneathSecondAsterisk>
                            <preserveDanglingCloseParenthesis>true</preserveDanglingCloseParenthesis>
                            <preserveSpaceBeforeArguments>false</preserveSpaceBeforeArguments>
                            <rewriteArrowSymbols>false</rewriteArrowSymbols>
                            <spaceBeforeColon>false</spaceBeforeColon>
                            <spaceInsideBrackets>false</spaceInsideBrackets>
                            <spaceInsideParentheses>false</spaceInsideParentheses>
                            <spacesWithinPatternBinders>true</spacesWithinPatternBinders>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>pl.project13.maven</groupId>
                <artifactId>git-commit-id-plugin</artifactId>
                <version>2.1.10</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>revision</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <prefix>git</prefix>
                    <dateFormat>dd.MM.yyyy '@' HH:mm:ss z</dateFormat>
                    <verbose>false</verbose>
Peter van 't Hof's avatar
Peter van 't Hof committed
195
                    <dotGitDirectory>${basedir}/../../.git</dotGitDirectory>
196
197
198
199
200
                    <useNativeGit>true</useNativeGit>
                    <skipPoms>false</skipPoms>
                    <generateGitPropertiesFile>true</generateGitPropertiesFile>
                    <generateGitPropertiesFilename>src/main/resources/git.properties</generateGitPropertiesFilename>
                    <failOnNoGitDirectory>false</failOnNoGitDirectory>
Peter van 't Hof's avatar
Peter van 't Hof committed
201
                    <abbrevLength>8</abbrevLength>
202
203
204
205
206
                    <skip>false</skip>
                    <excludeProperties></excludeProperties>
                    <gitDescribe>
                        <skip>false</skip>
                        <always>false</always>
Peter van 't Hof's avatar
Peter van 't Hof committed
207
                        <abbrev>8</abbrev>
208
209
210
211
212
                        <dirty>-dirty</dirty>
                        <forceLongFormat>false</forceLongFormat>
                    </gitDescribe>
                </configuration>
            </plugin>
Peter van 't Hof's avatar
Peter van 't Hof committed
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
          <plugin>
              <groupId>com.mycila</groupId>
              <artifactId>license-maven-plugin</artifactId>
              <version>2.6</version>
              <configuration>
                  <excludes>
                      <exclude>**/*git*</exclude>
                      <exclude>**/License*</exclude>
                      <exclude>**/*.bam</exclude>
                      <exclude>**/*.bai</exclude>
                      <exclude>**/*.gtf</exclude>
                      <exclude>**/*.fq</exclude>
                      <exclude>**/*.sam</exclude>
                      <exclude>**/*.bed</exclude>
                      <exclude>**/*.refFlat</exclude>
                      <exclude>**/*.R</exclude>
229
                      <exclude>**/*.rscript</exclude>
Peter van 't Hof's avatar
Peter van 't Hof committed
230
231
232
                  </excludes>
              </configuration>
          </plugin>
233
234
235
236
237
          <plugin>
              <groupId>org.scoverage</groupId>
              <artifactId>scoverage-maven-plugin</artifactId>
              <version>${scoverage.plugin.version}</version>
              <configuration>
Peter van 't Hof's avatar
Peter van 't Hof committed
238
                  <scalaVersion>2.10.2</scalaVersion>
239
240
241
                  <!-- other parameters -->
              </configuration>
            </plugin>
Peter van 't Hof's avatar
Peter van 't Hof committed
242
      </plugins>
243
    </build>
244
245
246
247
248
249
250
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.scoverage</groupId>
                <artifactId>scoverage-maven-plugin</artifactId>
                <version>${scoverage.plugin.version}</version>
                <configuration>
Peter van 't Hof's avatar
Peter van 't Hof committed
251
                    <outputDirectory>${basedir}/target/site/scoverage</outputDirectory>
252
253
254
255
                </configuration>
            </plugin>
        </plugins>
    </reporting>
Wai Yi Leung's avatar
Wai Yi Leung committed
256
</project>