Newer
Older
<?xml version="1.0" encoding="UTF-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>uk.ac.sanger</groupId>
<artifactId>artemis</artifactId>
<version>18.0.0-RC1</version>
<description>Artemis is a free genome browser and annotation tool that allows visualisation of sequence features, next generation data and the results of analyses within the context of the sequence, and also its six-frame translation.
Artemis is written in Java, and is available for UNIX, Macintosh and Windows systems. It can read EMBL and GENBANK database entries or sequence in FASTA, indexed FASTA or raw format. Other sequence features can be in EMBL, GENBANK or GFF format.</description>
<!-- GitHub repo connection -->
<scm>
<connection>scm:https://github.com/sanger-pathogens/Artemis.git</connection>
<url>https://github.com/sanger-pathogens/Artemis</url>
<developerConnection>scm:https://github.com/sanger-pathogens/Artemis.git</developerConnection>
<tag>HEAD</tag>
</scm>
<organization>
<name>Sanger Institute</name>
<url>http://www.sanger.ac.uk/</url>
</organization>
<url>http://sanger-pathogens.github.io/Artemis/</url>
<developers>
<developer>
<id>kp11</id>
<name>Kevin Pepper</name>
<email>artemis-help@sanger.ac.uk</email>
<url>http://www.sanger.ac.uk/science/tools/artemis</url>
<organization>Sanger Institute</organization>
<organizationUrl>http://www.sanger.ac.uk/</organizationUrl>
<roles>
<role>developer</role>
</roles>
<timezone>GB/London</timezone>
</developer>
</developers>
<licenses>
<license>
<name>The GNU General Public License, Version 3, June 2007</name>
<url>https://raw.githubusercontent.com/sanger-pathogens/Artemis/master/LICENSE</url>
</license>
</licenses>
<issueManagement>
<system>Github</system>
<url>https://github.com/sanger-pathogens/Artemis/issues</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>Artemis support email address</name>
<post>artemis-help@sanger.ac.uk</post>
</mailingList>
</mailingLists>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<ignore.test.failures>true</ignore.test.failures>
<version.file>${project.basedir}/etc/versions</version.file>
<!-- Properties passed into Maven on command line -->
<emboss.installation.root>${env.EMBOSS_ROOT}</emboss.installation.root>
<!-- Application names -->
<artemis.application.name>Artemis</artemis.application.name>
<act.application.name>ACT</act.application.name>
<dnaplotter.application.name>Circular-Plot</dnaplotter.application.name>
<bamview.application.name>BamView</bamview.application.name>
<!-- Deployable jar names -->
<artemis.jar.name>artemis.jar</artemis.jar.name>
<act.jar.name>act.jar</act.jar.name>
<bamview.jar.name>bamview.jar</bamview.jar.name>
<dnaplotter.jar.name>dnaplotter.jar</dnaplotter.jar.name>
<!-- Main classes -->
<artemis.main.class>uk.ac.sanger.artemis.components.ArtemisMain</artemis.main.class>
<act.main.class>uk.ac.sanger.artemis.components.ActMain</act.main.class>
<bamview.main.class>uk.ac.sanger.artemis.components.alignment.BamView</bamview.main.class>
<dnaplotter.main.class>uk.ac.sanger.artemis.circular.DNADraw</dnaplotter.main.class>
<!-- Java version-->
<java.source.version>1.8</java.source.version>
<java.target.version>1.8</java.target.version>
<java.javadoc.url>https://docs.oracle.com/javase/8/docs/api/</java.javadoc.url>
<osx.jdk.path>${env.JAVA_HOME}/../..</osx.jdk.path>
<!-- Evosuite properties-->
<targetFolder>src/test/evosuite</targetFolder>
<evosuite.runtime.version>1.0.6</evosuite.runtime.version>
<evosuite.plugin.version>1.0.6</evosuite.plugin.version>
<!-- Assembly folders -->
<windows.assembly.folder>artemis</windows.assembly.folder>
<unix.assembly.folder>artemis</unix.assembly.folder>
<osx.assembly.folder>artemis</osx.assembly.folder>
<!-- Release deliverable folder -->
<release.artifact.folder>${project.build.directory}/release-artifacts</release.artifact.folder>
<windows.release.folder>${release.artifact.folder}/windows-release</windows.release.folder>
<osx.app.folder>${release.artifact.folder}/mac-osx-release</osx.app.folder>
<osx.app.chado.folder>${release.artifact.folder}/mac-osx-chado-release</osx.app.chado.folder>
<unix.release.folder>${release.artifact.folder}/unix-release</unix.release.folder>
<!-- Release file names -->
<unix.release.filename>artemis-unix-release-${project.version}</unix.release.filename>
<windows.release.filename>artemis-windows-release-${project.version}</windows.release.filename>
<osx.release.filename>artemis-macosx-release-${project.version}</osx.release.filename>
<osx.chado.release.filename>artemis-macosx-chado-release-${project.version}</osx.chado.release.filename>
<!-- Mac OS application JVM options -->
<postgres.command.line.arg>-Djdbc.drivers=org.postgresql.Driver</postgres.command.line.arg>
<maxheap.command.line.arg>-mx2g</maxheap.command.line.arg>
<initialheap.command.line.arg>-ms128m</initialheap.command.line.arg>
<noverify.command.line.arg>-noverify</noverify.command.line.arg>
<unixenv.command.line.arg>-Dartemis.environment=UNIX</unixenv.command.line.arg>
<macosx.menuname.command.line.arg>-Dcom.apple.mrj.application.apple.menu.about.name</macosx.menuname.command.line.arg>
<macosx.dock.command.line.arg>-Xdock:name</macosx.dock.command.line.arg>
<chado.command.line.arg>-Dchado="localhost:5432/databasename?username"</chado.command.line.arg>
<ibatis.command.line.arg>-Dibatis</ibatis.command.line.arg>
<sangeroptions.command.line.arg>-Dsanger_options=yes</sangeroptions.command.line.arg>
<j2ssh.command.line.arg>-Dj2ssh</j2ssh.command.line.arg>
<!-- Surefire unit test plugin parameters -->
<surefire.num.forks>2</surefire.num.forks>
<surefireArgLine>-Xmx4g ${noverify.command.line.arg} ${postgres.command.line.arg} -Dtimeout=${unit.test.timeout.ms} -Duse_separate_classloader=false -DEMBOSS_ROOT=${emboss.installation.root}</surefireArgLine>
<!-- Files to exclude from the build, e.g. Mac resource files. -->
<default.file.excludes>**/log4j*.xml META-INF/* **/.DS_Store **/._*</default.file.excludes>
<etc.file.excludes>*.seq *.fasta *.embl *.tab *.crunch *.genbank</etc.file.excludes>
<artemis.icons.path>${project.basedir}/icons</artemis.icons.path>
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
</properties>
<dependencies>
<!-- Start of BATIK Jars -->
<!-- https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-codec -->
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-codec</artifactId>
<version>1.9.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-dom -->
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-dom</artifactId>
<version>1.9.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-ext -->
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-ext</artifactId>
<version>1.9.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-svggen -->
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-svggen</artifactId>
<version>1.9.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-util -->
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-util</artifactId>
<version>1.9.1</version>
</dependency>
<!-- End of BATIK Jars -->
<!-- Start of IBATIS jars -->
<!-- https://mvnrepository.com/artifact/com.ibatis/ibatis (local legacy jar) -->
<dependency>
<groupId>com.ibatis</groupId>
<artifactId>ibatis</artifactId>
<version>2.3.4.726</version>
</dependency>
<!-- This is now out of date but is used by the ibatis jar-->
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
</dependency>
<!-- This is now out of date - the package name has changed and so updating will mean many changes -->
<!-- https://mvnrepository.com/artifact/log4j/log4j -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<!-- End of IBATIS jars (local) -->
<dependency>
<groupId>com.sshtools</groupId>
<artifactId>j2ssh-core</artifactId>
<version>0.2.9</version>
</dependency>
<!-- Latest commons logging from 2014! -->
<!-- https://mvnrepository.com/artifact/commons-logging/commons-logging -->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.2</version>
</dependency>
<!-- End of J2SSH jars (local) -->
<dependency>
<groupId>org.emboss</groupId>
<artifactId>jemboss</artifactId>
<version>1.0</version>
</dependency>
<!-- Very out of date, but using the latest v3 will not compile atm -->
<!-- https://mvnrepository.com/artifact/commons-lang/commons-lang -->
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<!-- https://mvnrepository.com/artifact/commons-net/commons-net -->
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.6</version>
</dependency>
<!-- NOTE: IBatis is no longer supported and very out of date -->
<!-- Using the new postgres driver may cause issues - needs testing -->
<!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
<!-- Using latest version gives compilation errors! -->
<dependency>
<groupId>org.biojava</groupId>
<artifactId>biojava</artifactId>
<version>1.6</version>
</dependency>
<!-- Start of Picard jars -->
<!-- https://mvnrepository.com/artifact/com.github.broadinstitute/picard -->
<!-- Latest as of 24th Sept 2018 -->
“kpepper”
committed
<!-- It contains two htsjdk fixes for CRAM index caching and the query mate issue -->
<dependency>
<groupId>com.github.broadinstitute</groupId>
<artifactId>picard</artifactId>
“kpepper”
committed
<version>2.18.14</version>
</dependency>
<!-- End of Picard jars -->
<!-- Testing only -->
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.evosuite</groupId>
<artifactId>evosuite-standalone-runtime</artifactId>
<version>${evosuite.runtime.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<version>1.7.25</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.23.0</version>
<scope>test</scope>
</dependency>
<!-- End of testing only -->
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
<!-- Redundant dependencies..... -->
<!-- Latest version as of 2005 -->
<!-- https://mvnrepository.com/artifact/jakarta-regexp/jakarta-regexp -->
<!-- dependency>
<groupId>jakarta-regexp</groupId>
<artifactId>jakarta-regexp</artifactId>
<version>1.4</version>
</dependency-->
<!-- https://mvnrepository.com/artifact/batik/batik-awt-util -->
<!-- dependency>
<groupId>batik</groupId>
<artifactId>batik-awt-util</artifactId>
<version>1.6-1</version>
</dependency-->
<!-- https://mvnrepository.com/artifact/batik/batik-xml -->
<!-- dependency>
<groupId>batik</groupId>
<artifactId>batik-xml</artifactId>
<version>1.6-1</version>
</dependency-->
</dependencies>
<build>
<plugins>
<!-- =================== Evosuite needs at least Maven 3.1 ======================= -->
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.3.1</version>
<executions>
<execution>
<id>enforce-maven-3</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.1</version>
</requireMavenVersion>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<!-- ====================== Read signing related properties ======================= -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<id>load-external-properties</id>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<!-- Build will not fail if properties file is not found, but signing will fail -->
<quiet>true</quiet>
<files>
<file>maven.properties</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
<!-- ====================== Install essential old jars into the local Maven repo ======================= -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<executions>
<execution>
<id>install-biojava-jar</id>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<groupId>org.biojava</groupId>
<artifactId>biojava</artifactId>
<version>1.6</version>
<packaging>jar</packaging>
<file>${project.basedir}/lib/biojava.jar</file>
<generatePom>true</generatePom>
</configuration>
</execution>
<execution>
<id>install-jemalign-jar</id>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<groupId>org.emboss</groupId>
<artifactId>jemboss</artifactId>
<version>1.0</version>
<packaging>jar</packaging>
<file>${project.basedir}/lib/jemAlign.jar</file>
<generatePom>true</generatePom>
</configuration>
</execution>
<execution>
<id>install-j2ssh-core-jar</id>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<groupId>com.sshtools</groupId>
<artifactId>j2ssh-core</artifactId>
<version>0.2.9</version>
<packaging>jar</packaging>
<file>${project.basedir}/lib/j2ssh/j2ssh-core.jar</file>
<generatePom>true</generatePom>
</configuration>
</execution>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<groupId>com.ibatis</groupId>
<artifactId>ibatis</artifactId>
<version>2.3.4.726</version>
<packaging>jar</packaging>
<file>${project.basedir}/lib/ibatis-2.3.4.726.jar</file>
<generatePom>true</generatePom>
</configuration>
</execution>
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
</executions>
</plugin>
<!-- ========= Store release version number to the Artemis splash screen version file ======== -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>updating-software-version-number</id>
<phase>initialize</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<echo file="${version.file}">Artemis Release ${project.version}${line.separator}ACT Release ${project.version}${line.separator}DNAPlotter Release ${project.version}${line.separator}BamView ${project.version}</echo>
</target>
</configuration>
</execution>
</executions>
</plugin>
<!-- ==================================== Compile ========================================= -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>${java.source.version}</source>
<target>${java.target.version}</target>
</configuration>
</plugin>
<!-- ============================== Jar customisation ===================================== -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<archive>
<manifest>
<addClasspath>false</addClasspath>
</manifest>
<manifestEntries>
<Permissions>all-permissions</Permissions>
<Codebase>*</Codebase>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!-- ============================== Copy resources to build folder ======================== -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
<executions>
<!-- Copy test data for unit tests -->
<execution>
<id>copy-test-data</id>
<phase>process-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.testOutputDirectory}/data</outputDirectory>
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
<resources>
<resource>
<directory>${project.basedir}/test/data</directory>
</resource>
</resources>
</configuration>
</execution>
<!-- Copy etc on to classpath -->
<execution>
<id>copy-property-files</id>
<phase>process-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.outputDirectory}/etc</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/etc</directory>
</resource>
</resources>
</configuration>
</execution>
<!-- Copy images on to classpath -->
<execution>
<id>copy-image-folder</id>
<phase>process-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.outputDirectory}/images</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/images</directory>
</resource>
</resources>
</configuration>
</execution>
<!-- Copy non-maven legacy jars to build area for inclusion in assembly -->
<id>copy-old-jars</id>
<phase>process-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/lib/**/*.jar</directory>
</resource>
</resources>
</configuration>
<execution>
<id>copy-icons-to-target-folder</id>
<phase>package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<skip>${jarsigner.skip}</skip>
<outputDirectory>${project.build.directory}/icons</outputDirectory>
<resources>
<resource>
<directory>${artemis.icons.path}</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<!-- ============================== Run JUnit tests =============================== -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
<configuration>
<skipTests>${skip.tests}</skipTests>
<forkCount>${surefire.num.forks}</forkCount>
<testFailureIgnore>${ignore.test.failures}</testFailureIgnore>
<exclude>${evosuite.exclude.filter}</exclude>
<exclude>**/j2ssh/**</exclude>
<!-- End of Evosuite excludes -->
</excludes>
<!-- Required when running Evosuite tests along with normal tests -->
<properties>
<property>
<name>listener</name>
<value>org.evosuite.runtime.InitializingListener</value>
</property>
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
</configuration>
</plugin>
<!-- ========================= Required for Evosuite test running ========================-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>add-test-source</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>${targetFolder}</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<!-- =================================== Run Jacoco coverage report ======================================-->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.0</version>
<configuration>
<skip>${skip.coverage.reporting}</skip>
</configuration>
<executions>
<execution>
<id>pre-unit-test</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<output>file</output>
<!-- Sets the path to the file which contains the execution data. -->
<destFile>${project.build.directory}/jacoco-ut.exec</destFile>
<!-- Sets the name of the property containing the settings for JaCoCo
runtime agent. -->
<propertyName>surefireArgLine</propertyName>
</configuration>
</execution>
<!-- Ensures that the code coverage report for unit tests is created after
unit tests have been run. -->
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<dataFile>${project.build.directory}/jacoco-ut.exec</dataFile>
<outputDirectory>${project.build.directory}/coverage-report</outputDirectory>
<excludes>
</configuration>
</execution>
</executions>
</plugin>
<!-- ============= Package the code and dependent jars into one executable jar for each applications ========= -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>package-nonunix-artemis-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>target/jars/${artemis.jar.name}</outputFile>
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>false</minimizeJar>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>${artemis.main.class}</Main-Class>
<Permissions>all-permissions</Permissions>
</manifestEntries>
</transformer>
</transformers>
<filters>
<filter>
<artifact>org.mozilla:rhino:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>org.python:jython:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>${default.file.excludes}</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
<execution>
<id>package-unix-artemis-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>target/unix-jars/${artemis.jar.name}</outputFile>
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>false</minimizeJar>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>${artemis.main.class}</Main-Class>
<Permissions>all-permissions</Permissions>
</manifestEntries>
</transformer>
</transformers>
<filters>
<filter>
<artifact>org.mozilla:rhino:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>org.python:jython:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>${default.file.excludes}</exclude>
<exclude>etc/**</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
<execution>
<id>package-nonunix-act-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>target/jars/${act.jar.name}</outputFile>
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>false</minimizeJar>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>${act.main.class}</Main-Class>
<Permissions>all-permissions</Permissions>
</manifestEntries>
</transformer>
</transformers>
<filters>
<filter>
<artifact>org.mozilla:rhino:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>org.python:jython:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>${default.file.excludes}</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
<execution>
<id>package-unix-act-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>target/unix-jars/${act.jar.name}</outputFile>
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>false</minimizeJar>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>${act.main.class}</Main-Class>
<Permissions>all-permissions</Permissions>
</manifestEntries>
</transformer>
</transformers>
<filters>
<filter>
<artifact>org.mozilla:rhino:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>org.python:jython:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>${default.file.excludes}</exclude>
<exclude>etc/**</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
<execution>
<id>package-nonunix-dnaplotter-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>target/jars/${dnaplotter.jar.name}</outputFile>
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>false</minimizeJar>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>${dnaplotter.main.class}</Main-Class>
<Permissions>all-permissions</Permissions>
</manifestEntries>
</transformer>
</transformers>
<filters>
<filter>
<artifact>org.mozilla:rhino:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>org.python:jython:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>${default.file.excludes}</exclude>
<exclude>artemis_sqlmap/**</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
<execution>
<id>package-unix-dnaplotter-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>target/unix-jars/${dnaplotter.jar.name}</outputFile>
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>false</minimizeJar>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>${dnaplotter.main.class}</Main-Class>
<Permissions>all-permissions</Permissions>
</manifestEntries>
</transformer>
</transformers>
<filters>
<filter>
<artifact>org.mozilla:rhino:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>org.python:jython:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>${default.file.excludes}</exclude>
<exclude>artemis_sqlmap/**</exclude>
<exclude>etc/**</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
<execution>
<id>package-nonunix-bamview-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>target/jars/${bamview.jar.name}</outputFile>
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>false</minimizeJar>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>${bamview.main.class}</Main-Class>
<Permissions>all-permissions</Permissions>
</manifestEntries>
</transformer>
</transformers>
<filters>
<filter>
<artifact>org.mozilla:rhino:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>org.python:jython:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>${default.file.excludes}</exclude>
<exclude>artemis_sqlmap/**</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
<execution>
<id>package-unix-bamview-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>target/unix-jars/${bamview.jar.name}</outputFile>
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>false</minimizeJar>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>${bamview.main.class}</Main-Class>
<Permissions>all-permissions</Permissions>
</manifestEntries>
</transformer>
</transformers>
<filters>
<filter>
<artifact>org.mozilla:rhino:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>org.python:jython:*</artifact>
<excludes>
<exclude>**</exclude>
</excludes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>${default.file.excludes}</exclude>
<exclude>artemis_sqlmap/**</exclude>
<exclude>etc/**</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
<configuration>
<skipAssembly>${skip.artifact.creation}</skipAssembly>
</configuration>
<!-- ============================= Sign executable jar files ============================ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>sign-non-unix-jars</id>
<phase>package</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<skip>${jarsigner.skip}</skip>
<verbose>false</verbose>
<processMainArtifact>false</processMainArtifact>
<processAttachedArtifacts>false</processAttachedArtifacts>
<archiveDirectory>target/jars</archiveDirectory>
<keystore>${signer-keystore-path}</keystore>
<storetype>${signer-keystore-type}</storetype>
<alias>${signer-keystore-alias}</alias>
<storepass>${signer-keystore-password}</storepass>
<keypass>${signer-keystore-password}</keypass>
<removeExistingSignatures>true</removeExistingSignatures>
<tsa>http://timestamp.comodoca.com/rfc3161</tsa>
</configuration>
</execution>
<execution>
<id>sign-unix-jars</id>
<phase>package</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<skip>${jarsigner.skip}</skip>
<verbose>false</verbose>
<processMainArtifact>false</processMainArtifact>
<processAttachedArtifacts>false</processAttachedArtifacts>
<archiveDirectory>target/unix-jars</archiveDirectory>
<keystore>${signer-keystore-path}</keystore>
<storetype>${signer-keystore-type}</storetype>
<alias>${signer-keystore-alias}</alias>
<storepass>${signer-keystore-password}</storepass>
<keypass>${signer-keystore-password}</keypass>
<removeExistingSignatures>true</removeExistingSignatures>
<tsa>http://timestamp.comodoca.com/rfc3161</tsa>
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
</plugin>
<!-- ========================== Create release zips ============================ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>create-unix-release</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<outputDirectory>${unix.release.folder}</outputDirectory>
<descriptors>
<descriptor>src/assembly/unix-release-assembly.xml</descriptor>
</descriptors>
<finalName>${unix.release.filename}</finalName>
</configuration>
</execution>
<execution>
<id>create-windows-release</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<outputDirectory>${windows.release.folder}</outputDirectory>
<descriptors>
<descriptor>src/assembly/windows-release-assembly.xml</descriptor>
</descriptors>
<finalName>${windows.release.filename}</finalName>
</configuration>
</execution>
</executions>
<configuration>
<skipAssembly>${skip.artifact.creation}</skipAssembly>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
<!-- We need this next bit to get rid of a warning on the enforcer plugin in Eclipse -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<versionRange>[1.3.1,)</versionRange>
<goals>
<goal>enforce</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
<!-- ============= Special task used on an ad-hoc basis to create EvoSuite tests ============ -->
<plugin>
<groupId>org.evosuite.plugins</groupId>
<artifactId>evosuite-maven-plugin</artifactId>
<version>${evosuite.plugin.version}</version>
<executions>
<execution>
<id>create-evosuite-tests</id>
<goals>
<goal>prepare</goal>
</goals>
<phase>process-test-classes</phase>
</execution>
</executions>
<configuration>
<extraArgs>-Dsearch_budget=90 -Dconsider_main_methods=false -Duse_separate_classloader=false</extraArgs>
</configuration>
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
<!--
Deploy artifacts to a GitHub release - run manually using:
mvn github-release:release
-->
<!-- plugin>
<groupId>de.jutzig</groupId>
<artifactId>github-release-plugin</artifactId>
<version>1.2.0</version>
<inherited>false</inherited>
<configuration>
<description>See ChangeLog for details</description>
<releaseName>Release v${project.version}</releaseName>
<tag>v${project.version}</tag>
<draft>true</draft>
<artifact>${unix.release.folder}/${unix.release.filename}</artifact>
<fileSets>
<fileSet>
<includes>
<include>${osx.app.folder}/${osx.release.filename}.dmg</include>
<include>${windows.release.folder}/${windows.release.filename}</include>
<include>${project.basedir}/ChangeLog</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</plugin -->
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<failOnError>false</failOnError>
<quiet>true</quiet>
<excludePackageNames>org.*</excludePackageNames>
<excludes>**/*Test.java, **/*_scaffolding*.java</excludes>
<reportSets>
<reportSet>
<reports>
<report>javadoc-no-fork</report>
<report>test-javadoc-no-fork</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<!-- ========================== Profile section =================================-->
<profiles>
<!-- The configuration of the default development profile -->
<profile>
<id>dev</id>
<!-- The development profile is active by default and does not run any tests -->
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<evosuite.exclude.filter>**/*_ESTest*</evosuite.exclude.filter>
<skip.artifact.creation>true</skip.artifact.creation>
<skip.coverage.reporting>true</skip.coverage.reporting>
<skip.javadoc>true</skip.javadoc>
<build.profile.id>dev</build.profile.id>
</properties>
</profile>
<profile>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<skip.tests>false</skip.tests>
<evosuite.exclude.filter>**/*_ESTest*</evosuite.exclude.filter>
<skip.artifact.creation>false</skip.artifact.creation>
<skip.coverage.reporting>false</skip.coverage.reporting>
<build.profile.id>release</build.profile.id>
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
<build>
<plugins>
<!--
Package jar files into OSX .apps and create dmg images.
NOTE1: artemis_sqlmap is already included in the original jar
NOTE2: The skip flag does not work on this plugin so it needs to be added into the profile [hack]
-->
<plugin>
<groupId>sh.tak.appbundler</groupId>
<artifactId>appbundle-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<id>create-artemis-osx-app</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
<configuration>
<skip>${skip.artifact.creation}</skip>
<version>${project.version}</version>
<buildDirectory>${osx.app.folder}</buildDirectory>
<generateDiskImageFile>false</generateDiskImageFile>
<bundleName>${artemis.application.name}</bundleName>
<jrePath>${osx.jdk.path}</jrePath>
<mainClass>${artemis.main.class}</mainClass>
<iconFile>${project.build.directory}/icons/artemis.icns</iconFile>
<jvmVersion>${java.target.version}</jvmVersion>
<jvmOptions>
<jvmOption>${maxheap.command.line.arg}</jvmOption>
<jvmOption>${initialheap.command.line.arg}</jvmOption>
<jvmOption>${noverify.command.line.arg}</jvmOption>
<jvmOption>${unixenv.command.line.arg}</jvmOption>
<jvmOption>${macosx.menuname.command.line.arg}=${artemis.application.name}</jvmOption>
<jvmOption>${macosx.dock.command.line.arg}=${artemis.application.name}</jvmOption>
<jvmOption>${sangeroptions.command.line.arg}</jvmOption>
<jvmOption>${j2ssh.command.line.arg}</jvmOption>
</jvmOptions>
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
<additionalBundledClasspathResources>
<fileSet>
<directory>${project.build.directory}/icons</directory>
<includes>
<include>Readme.txt</include>
</includes>
</fileSet>
</additionalBundledClasspathResources>
</configuration>
</execution>
<execution>
<id>create-act-osx-app</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
<configuration>
<skip>false</skip>
<version>${project.version}</version>
<buildDirectory>${osx.app.folder}</buildDirectory>
<generateDiskImageFile>false</generateDiskImageFile>
<bundleName>${act.application.name}</bundleName>
<jrePath>${osx.jdk.path}</jrePath>
<mainClass>${act.main.class}</mainClass>
<iconFile>${project.build.directory}/icons/act.icns</iconFile>
<jvmVersion>${java.target.version}</jvmVersion>
<jvmOptions>
<jvmOption>${maxheap.command.line.arg}</jvmOption>
<jvmOption>${initialheap.command.line.arg}</jvmOption>
<jvmOption>${noverify.command.line.arg}</jvmOption>
<jvmOption>${unixenv.command.line.arg}</jvmOption>
<jvmOption>${macosx.menuname.command.line.arg}=${act.application.name}</jvmOption>
<jvmOption>${macosx.dock.command.line.arg}=${act.application.name}</jvmOption>
<jvmOption>${sangeroptions.command.line.arg}</jvmOption>
<jvmOption>${j2ssh.command.line.arg}</jvmOption>
</jvmOptions>
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
<additionalBundledClasspathResources>
<fileSet>
<directory>${project.build.directory}/icons</directory>
<includes>
<include>Readme.txt</include>
</includes>
</fileSet>
</additionalBundledClasspathResources>
</configuration>
</execution>
<execution>
<id>create-dnaplotter-osx-app</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
<configuration>
<skip>false</skip>
<version>${project.version}</version>
<buildDirectory>${osx.app.folder}</buildDirectory>
<generateDiskImageFile>false</generateDiskImageFile>
<bundleName>${dnaplotter.application.name}</bundleName>
<jrePath>${osx.jdk.path}</jrePath>
<mainClass>${dnaplotter.main.class}</mainClass>
<iconFile>${project.build.directory}/icons/dnaplotter.icns</iconFile>
<jvmVersion>${java.target.version}</jvmVersion>
<jvmOptions>
<jvmOption>${maxheap.command.line.arg}</jvmOption>
<jvmOption>${initialheap.command.line.arg}</jvmOption>
<jvmOption>${noverify.command.line.arg}</jvmOption>
<jvmOption>${unixenv.command.line.arg}</jvmOption>
<jvmOption>${macosx.menuname.command.line.arg}=${dnaplotter.application.name}</jvmOption>
<jvmOption>${macosx.dock.command.line.arg}=${dnaplotter.application.name}</jvmOption>
<jvmOption>${sangeroptions.command.line.arg}</jvmOption>
<jvmOption>${j2ssh.command.line.arg}</jvmOption>
</jvmOptions>
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
<additionalBundledClasspathResources>
<fileSet>
<directory>${project.build.directory}/icons</directory>
<includes>
<include>Readme.txt</include>
</includes>
</fileSet>
</additionalBundledClasspathResources>
</configuration>
</execution>
<!-- The last execution also creates the disk image file... -->
<execution>
<id>create-bamview-osx-app</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
<configuration>
<skip>false</skip>
<version>${project.version}</version>
<buildDirectory>${osx.app.folder}</buildDirectory>
<generateDiskImageFile>true</generateDiskImageFile>
<diskImageFile>${osx.app.folder}/${osx.release.filename}.dmg</diskImageFile>
<bundleName>${bamview.application.name}</bundleName>
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
<jrePath>${osx.jdk.path}</jrePath>
<mainClass>${bamview.main.class}</mainClass>
<iconFile>${project.build.directory}/icons/bamview.icns</iconFile>
<jvmVersion>${java.target.version}</jvmVersion>
<jvmOptions>
<jvmOption>${maxheap.command.line.arg}</jvmOption>
<jvmOption>${initialheap.command.line.arg}</jvmOption>
<jvmOption>${noverify.command.line.arg}</jvmOption>
<jvmOption>${unixenv.command.line.arg}</jvmOption>
<jvmOption>${macosx.menuname.command.line.arg}=${bamview.application.name}</jvmOption>
<jvmOption>${macosx.dock.command.line.arg}=${bamview.application.name}</jvmOption>
<jvmOption>${sangeroptions.command.line.arg}</jvmOption>
<jvmOption>${j2ssh.command.line.arg}</jvmOption>
</jvmOptions>
<additionalBundledClasspathResources>
<fileSet>
<directory>${project.build.directory}/icons</directory>
<includes>
<include>Readme.txt</include>
</includes>
</fileSet>
</additionalBundledClasspathResources>
</configuration>
</execution>
<!-- Package CHADO version of toolkit -->
<execution>
<id>create-artemis-osx-app-CHADO</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
<configuration>
<skip>${skip.artifact.creation}</skip>
<version>${project.version}</version>
<buildDirectory>${osx.app.chado.folder}</buildDirectory>
<generateDiskImageFile>false</generateDiskImageFile>
<bundleName>${artemis.application.name} (CHADO)</bundleName>
<jrePath>${osx.jdk.path}</jrePath>
<mainClass>${artemis.main.class}</mainClass>
<iconFile>${project.build.directory}/icons/artemis.icns</iconFile>
<jvmVersion>${java.target.version}</jvmVersion>
<jvmOptions>
<jvmOption>${postgres.command.line.arg}</jvmOption>
<jvmOption>${chado.command.line.arg}</jvmOption>
<jvmOption>${ibatis.command.line.arg}</jvmOption>
<jvmOption>${maxheap.command.line.arg}</jvmOption>
<jvmOption>${initialheap.command.line.arg}</jvmOption>
<jvmOption>${noverify.command.line.arg}</jvmOption>
<jvmOption>${unixenv.command.line.arg}</jvmOption>
<jvmOption>${macosx.menuname.command.line.arg}=${artemis.application.name}</jvmOption>
<jvmOption>${macosx.dock.command.line.arg}=${artemis.application.name}</jvmOption>
<jvmOption>${sangeroptions.command.line.arg}</jvmOption>
<jvmOption>${j2ssh.command.line.arg}</jvmOption>
</jvmOptions>
<additionalBundledClasspathResources>
<fileSet>
<directory>${project.build.directory}/icons</directory>
<includes>
<include>Readme.txt</include>
</includes>
</fileSet>
</additionalBundledClasspathResources>
</configuration>
</execution>
<execution>
<id>create-act-osx-app-CHADO</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
<configuration>
<skip>false</skip>
<version>${project.version}</version>
<buildDirectory>${osx.app.chado.folder}</buildDirectory>
<generateDiskImageFile>false</generateDiskImageFile>
<bundleName>${act.application.name} (CHADO)</bundleName>
<jrePath>${osx.jdk.path}</jrePath>
<mainClass>${act.main.class}</mainClass>
<iconFile>${project.build.directory}/icons/act.icns</iconFile>
<jvmVersion>${java.target.version}</jvmVersion>
<jvmOptions>
<jvmOption>${postgres.command.line.arg}</jvmOption>
<jvmOption>${chado.command.line.arg}</jvmOption>
<jvmOption>${ibatis.command.line.arg}</jvmOption>
<jvmOption>${maxheap.command.line.arg}</jvmOption>
<jvmOption>${initialheap.command.line.arg}</jvmOption>
<jvmOption>${noverify.command.line.arg}</jvmOption>
<jvmOption>${unixenv.command.line.arg}</jvmOption>
<jvmOption>${macosx.menuname.command.line.arg}=${act.application.name}</jvmOption>
<jvmOption>${macosx.dock.command.line.arg}=${act.application.name}</jvmOption>
<jvmOption>${sangeroptions.command.line.arg}</jvmOption>
<jvmOption>${j2ssh.command.line.arg}</jvmOption>
</jvmOptions>
<additionalBundledClasspathResources>
<fileSet>
<directory>${project.build.directory}/icons</directory>
<includes>
<include>Readme.txt</include>
</includes>
</fileSet>
</additionalBundledClasspathResources>
</configuration>
</execution>
<execution>
<id>create-dnaplotter-osx-app-CHADO</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
<configuration>
<skip>false</skip>
<version>${project.version}</version>
<buildDirectory>${osx.app.chado.folder}</buildDirectory>
<generateDiskImageFile>false</generateDiskImageFile>
<bundleName>${dnaplotter.application.name}</bundleName>
<jrePath>${osx.jdk.path}</jrePath>
<mainClass>${dnaplotter.main.class}</mainClass>
<iconFile>${project.build.directory}/icons/dnaplotter.icns</iconFile>
<jvmVersion>${java.target.version}</jvmVersion>
<jvmOptions>
<jvmOption>${maxheap.command.line.arg}</jvmOption>
<jvmOption>${initialheap.command.line.arg}</jvmOption>
<jvmOption>${noverify.command.line.arg}</jvmOption>
<jvmOption>${unixenv.command.line.arg}</jvmOption>
<jvmOption>${macosx.menuname.command.line.arg}=${dnaplotter.application.name}</jvmOption>
<jvmOption>${macosx.dock.command.line.arg}=${dnaplotter.application.name}</jvmOption>
<jvmOption>${sangeroptions.command.line.arg}</jvmOption>
<jvmOption>${j2ssh.command.line.arg}</jvmOption>
</jvmOptions>
<additionalBundledClasspathResources>
<fileSet>
<directory>${project.build.directory}/icons</directory>
<includes>
<include>Readme.txt</include>
</includes>
</fileSet>
</additionalBundledClasspathResources>
</configuration>
</execution>
<!-- The last execution also creates the disk image file... -->
<execution>
<id>create-bamview-osx-app-CHADO</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
<configuration>
<skip>false</skip>
<version>${project.version}</version>
<buildDirectory>${osx.app.chado.folder}</buildDirectory>
<generateDiskImageFile>true</generateDiskImageFile>
<diskImageFile>${osx.app.chado.folder}/${osx.chado.release.filename}.dmg</diskImageFile>
<bundleName>${bamview.application.name}</bundleName>
<jrePath>${osx.jdk.path}</jrePath>
<mainClass>${bamview.main.class}</mainClass>
<iconFile>${project.build.directory}/icons/bamview.icns</iconFile>
<jvmVersion>${java.target.version}</jvmVersion>
<jvmOptions>
<jvmOption>${maxheap.command.line.arg}</jvmOption>
<jvmOption>${initialheap.command.line.arg}</jvmOption>
<jvmOption>${noverify.command.line.arg}</jvmOption>
<jvmOption>${unixenv.command.line.arg}</jvmOption>
<jvmOption>${macosx.menuname.command.line.arg}=${bamview.application.name}</jvmOption>
<jvmOption>${macosx.dock.command.line.arg}=${bamview.application.name}</jvmOption>
<jvmOption>${sangeroptions.command.line.arg}</jvmOption>
<jvmOption>${j2ssh.command.line.arg}</jvmOption>
</jvmOptions>
<additionalBundledClasspathResources>
<fileSet>
<directory>${project.build.directory}/icons</directory>
<includes>
<include>Readme.txt</include>
</includes>
</fileSet>
</additionalBundledClasspathResources>
</configuration>
</execution>
</executions>