-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
216 lines (194 loc) · 6.42 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.bestgrid</groupId>
<artifactId>grisu-blast</artifactId>
<packaging>jar</packaging>
<version>0.1-SNAPSHOT</version>
<name>a grisu client</name>
<properties>
<grisu-version>0.4-SNAPSHOT</grisu-version>
</properties>
<repositories>
<repository>
<id>bestgrid.public.release</id>
<url>http://code.ceres.auckland.ac.nz/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
<repository>
<id>bestgrid.public.snapshot</id>
<url>http://code.ceres.auckland.ac.nz/nexus/content/groups/public-snapshots/
</url>
<releases>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
</repository>
<!-- <repository>-->
<!-- <id>jboss</id>-->
<!-- <url>https://repository.jboss.org/nexus/content/groups/public/</url>-->
<!-- </repository>-->
</repositories>
<!-- we can help you publish your artifact into our maven repository if
you want. Write an email to [email protected] and request a username/password
for the ARCS maven repository. Then uncomment this part and edit your $HOME/.m2/settings.xml
file with your username/password. Deployment is done via 'mvn clean install
deploy' -->
<distributionManagement>
<repository>
<name>BeSTGRID Releases Repository</name>
<id>bestgrid.release</id>
<url>http://code.ceres.auckland.ac.nz/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>bestgrid.snapshot</id>
<name>BeSTGRID Snapshots Repository</name>
<url>http://code.ceres.auckland.ac.nz/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<dependencies>
<!-- the main grisu dependency. -->
<dependency>
<groupId>grisu.frontend</groupId>
<artifactId>grisu-client-swing</artifactId>
<version>${grisu-version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<!-- we can't include the bouncy castle library in our assembled binary
so it has to put in the classpath in some other way. You could either have
the bcprov jar in the same directory as your executable jar, or you just
do nothing. Grisu will try to download it in the background and put it in
the classpath once your application is executed the first time... -->
<dependency>
<groupId>bouncycastle</groupId>
<artifactId>bcprov-jdk15</artifactId>
<version>145</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<!-- further grisu dependencies, incuded by default but can be enabled/disabled
if not needed and you want a smaller assembly -->
<!-- the grisu-core dependency is needed when you want to connect to a
local backend (which is the only supported backend for grisu 0.3 at the moment -->
<!-- <dependency>
<groupId>grisu.backend</groupId>
<artifactId>grisu-core</artifactId>
<version>${grisu-version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>-->
<!-- this is needed for shibboleth logins - recommended that you don't disable it -->
<!-- test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
<issueManagement>
<system>Github</system>
<url>https://github.com/grisu/grisu-virtscreen/issues</url>
</issueManagement>
<ciManagement>
</ciManagement>
<scm>
<connection>scm:git:git://github.com/grisu/grisu-virtscreen.git</connection>
<developerConnection>scm:git:[email protected]:grisu/grisu-virtscreen.git</developerConnection>
<url>https://github.com/grisu/grisu-virtscreen</url>
</scm>
<organization>
<name>BeSTGRID</name>
<url>http://bestgrid.org</url>
</organization>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<!-- replace version in file -->
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>maven-replacer-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<!-- the replace should happen before the app is packaged -->
<phase>prepare-package</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<configuration>
<includes>
<!-- replace the token in this file -->
<include>target/classes/this-client.version</include>
</includes>
<regex>false</regex>
<!-- the name of the token to replace -->
<token>VERSION_TOKEN</token>
<!-- replace it with the maven project version -->
<value>${project.version}</value>
</configuration>
</plugin>
<!-- you can disable the assembly plugin if you want, your builds will
be faster I find it quite handy to have maven build an executable jar, though -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<configuration>
<descriptors>
<descriptor>client.assembly.xml</descriptor>
</descriptors>
<finalName>grisu-blast</finalName>
<archive>
<index>true</index>
<manifest>
<mainClass>org.bestgrid.MpiBlast</mainClass>
</manifest>
<manifestEntries>
<Class-Path>bcprov.jar bcprov-jdk15-145.jar local-backend.jar
</Class-Path>
</manifestEntries>
</archive>
</configuration>
<goals>
<goal>attached</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>