Merge branch 'develop' into LibrAlign
[taxeditor.git] / eu.etaxonomy.taxeditor.molecular.lib / pom.xml
1 <project>
2 <modelVersion>4.0.0</modelVersion>
3 <groupId>eu.etaxonomy.taxeditor</groupId>
4 <artifactId>eu.etaxonomy.taxeditor.molecular.lib</artifactId>
5 <packaging>eclipse-plugin</packaging>
6
7 <parent>
8 <groupId>eu.etaxonomy</groupId>
9 <artifactId>taxeditor-parent</artifactId>
10 <version>4.2.0-SNAPSHOT</version>
11 </parent>
12
13 <build>
14 <plugins>
15 <plugin>
16 <groupId>org.apache.maven.plugins</groupId>
17 <artifactId>maven-dependency-plugin</artifactId>
18 <version>2.4</version>
19 <executions>
20 <execution>
21 <id>copy-dependencies</id>
22 <phase>validate</phase>
23 <goals>
24 <goal>copy-dependencies</goal>
25 </goals>
26 <configuration>
27 <includeArtifactIds>libralign-swt, libralign-core,
28 bioinfweb-commons-swt, bioinfweb-commons-core,
29 bioinfweb-commons-bio, bioinfweb-commons-swing,
30 tic-core, libralign-biojava1, core, sequencing,
31 tic-swt, jphyloio-core, owlapi-xmlutils</includeArtifactIds>
32 <outputDirectory>lib</outputDirectory>
33 <overWriteReleases>true</overWriteReleases>
34 <overWriteSnapshots>true</overWriteSnapshots>
35 <excludeTransitive>true</excludeTransitive>
36 </configuration>
37 </execution>
38 <!-- <execution> -->
39 <!-- <id>copy-dependencies-sources</id> -->
40 <!-- <phase>validate</phase> -->
41 <!-- <goals> -->
42 <!-- <goal>copy-dependencies</goal> -->
43 <!-- </goals> -->
44 <!-- <configuration> -->
45 <!-- <classifier>sources</classifier> -->
46 <!-- <includeArtifactIds>cdmlib-commons,cdmlib-model,cdmlib-persistence,cdmlib-remote,cdmlib-print,cdmlib-services,cdmlib-ext,cdmlib-io</includeArtifactIds> -->
47 <!-- <outputDirectory>lib</outputDirectory> -->
48 <!-- <overWriteReleases>true</overWriteReleases> -->
49 <!-- <overWriteSnapshots>true</overWriteSnapshots> -->
50 <!-- <excludeTransitive>true</excludeTransitive> -->
51 <!-- <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact> -->
52 <!-- </configuration> -->
53 <!-- </execution> -->
54 </executions>
55 </plugin>
56 <plugin>
57 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-antrun-plugin</artifactId>
59 <version>1.7</version>
60 <executions>
61 <execution>
62 <id>remove-existing-jars</id>
63 <phase>clean</phase>
64 <goals>
65 <goal>run</goal>
66 </goals>
67 <configuration>
68 <target>
69 <echo>Remove all jars</echo>
70 <delete>
71 <fileset dir="./lib" includes="*" />
72 </delete>
73 </target>
74 </configuration>
75 </execution>
76 <execution>
77 <id>update-snapshot-jar-names</id>
78 <phase>validate</phase>
79 <goals>
80 <goal>run</goal>
81 </goals>
82 <configuration>
83 <target>
84 <echo>Update jars to SNAPSHOT when build with
85 timestamp</echo>
86 <move todir="./lib">
87 <fileset dir="./lib" />
88 <mapper type="regexp" from="(^bioinfweb\-.*\-[0-9]-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
89 </move>
90 <move todir="./lib">
91 <fileset dir="./lib" />
92 <mapper type="regexp" from="(^libralign\-.*\-[0-9]-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
93 </move>
94 <move todir="./lib">
95 <fileset dir="./lib" />
96 <mapper type="regexp" from="(^tic\-.*\-[0-9]-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
97 </move>
98 <move todir="./lib">
99 <fileset dir="./lib" />
100 <mapper type="regexp" from="(^jphyloio\-.*\-[0-9]-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
101 </move>
102 <move todir="./lib">
103 <fileset dir="./lib" />
104 <mapper type="regexp" from="(^owlapi\-.*\-[0-9]-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
105 </move>
106 <move todir="./lib">
107 <fileset dir="./lib" />
108 <mapper type="regexp" from="commons-collections4-4.1.jar" to="commons-collections4-4.1.jar" />
109 </move>
110 <move todir="./lib">
111 <fileset dir="./lib" />
112 <mapper type="regexp" from="(^core\-[0-9]\.[0-9]\.[0-9])(\.jar)" to="\1-SNAPSHOT\2" />
113 </move>
114 <move todir="./lib">
115 <fileset dir="./lib" />
116 <mapper type="regexp" from="(^sequencing\-[0-9]\.[0-9]\.[0-9])(\.jar)" to="\1-SNAPSHOT\2" />
117 </move>
118 </target>
119 </configuration>
120 </execution>
121 </executions>
122 </plugin>
123 </plugins>
124 </build>
125
126 <dependencies>
127 <!-- JPhyloIO -->
128 <dependency>
129 <groupId>info.bioinfweb.jphyloio</groupId>
130 <artifactId>jphyloio-core</artifactId>
131 <version>0-SNAPSHOT</version>
132 </dependency>
133 <dependency>
134 <groupId>info.bioinfweb.thirdparty.owlapi</groupId>
135 <artifactId>owlapi-xmlutils</artifactId>
136 <version>4.1.4</version>
137 </dependency>
138 <dependency>
139 <groupId>org.apache.commons</groupId>
140 <artifactId>commons-collections4</artifactId>
141 <version>4.1</version>
142 </dependency>
143 <!-- LibrAlign -->
144 <dependency>
145 <groupId>info.bioinfweb.libralign</groupId>
146 <artifactId>libralign-core</artifactId>
147 <version>0.4.0-preview-1</version>
148 </dependency>
149 <dependency>
150 <groupId>info.bioinfweb.libralign</groupId>
151 <artifactId>libralign-swt</artifactId>
152 <version>0.4.0-preview-1</version>
153 </dependency>
154 <dependency>
155 <groupId>info.bioinfweb.libralign</groupId>
156 <artifactId>libralign-biojava1</artifactId>
157 <version>0.4.0-preview-1</version>
158 </dependency>
159 <!-- bioinfweb.commons -->
160 <dependency>
161 <groupId>info.bioinfweb.commons.java</groupId>
162 <artifactId>bioinfweb-commons-swt</artifactId>
163 <version>2.0.0-preview-1</version>
164 </dependency>
165 <dependency>
166 <groupId>info.bioinfweb.commons.java</groupId>
167 <artifactId>bioinfweb-commons-core</artifactId>
168 <version>2.0.0-preview-1</version>
169 </dependency>
170 <dependency>
171 <groupId>info.bioinfweb.commons.java</groupId>
172 <artifactId>bioinfweb-commons-bio</artifactId>
173 <version>2.0.0-preview-1</version>
174 </dependency>
175 <dependency>
176 <groupId>info.bioinfweb.commons.java</groupId>
177 <artifactId>bioinfweb-commons-swing</artifactId>
178 <version>2.0.0-preview-1</version>
179 </dependency>
180 <!-- TIC -->
181 <dependency>
182 <groupId>info.bioinfweb.tic</groupId>
183 <artifactId>tic-core</artifactId>
184 <version>2.0.0-preview-1</version>
185 </dependency>
186 <dependency>
187 <groupId>info.bioinfweb.tic</groupId>
188 <artifactId>tic-swt</artifactId>
189 <version>2.0.0-preview-1</version>
190 </dependency>
191 <!-- BioJava -->
192 <dependency>
193 <groupId>org.biojava</groupId>
194 <artifactId>core</artifactId>
195 <version>1.9.2</version>
196 </dependency>
197 <dependency>
198 <groupId>org.biojava</groupId>
199 <artifactId>sequencing</artifactId>
200 <version>1.9.2</version>
201 </dependency>
202 </dependencies>
203
204 <repositories>
205 <repository>
206 <id>bioinfweb-maven-repo</id>
207 <name>bioinfweb repository</name>
208 <url>http://bioinfweb.info/MavenRepository/</url>
209 </repository>
210 <!-- <repository>
211 <id>central-maven-repo</id>
212 <name>Maven Central</name>
213 <url>http://central.maven.org/maven2/</url>
214 </repository> -->
215 </repositories>
216 </project>
217