Integrate molecular plugins
[taxeditor.git] / eu.etaxonomy.taxeditor.molecular.aggregator / pom.xml
index ff20500b7aa3bd149dc480fa99318f4d26190a07..ddc1dd6896288255826b0f19c23167733eb75b79 100644 (file)
@@ -1,8 +1,8 @@
 <project>
   <modelVersion>4.0.0</modelVersion>
   <groupId>eu.etaxonomy.taxeditor</groupId>
-  <artifactId>eu.etaxonomy.taxeditor.aggregator</artifactId>
-  <packaging>pom</packaging>
+  <artifactId>eu.etaxonomy.taxeditor.molecular.aggregator</artifactId>
+  <packaging>eclipse-plugin</packaging>
   
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <version>3.8.0-SNAPSHOT</version>
   </parent>
 
-    <modules>
-    <module>../eu.etaxonomy.taxeditor.cdmlib</module>
-    <module>../eu.etaxonomy.taxeditor.store</module>
-    <module>../eu.etaxonomy.taxeditor.bulkeditor</module>
-    <module>../eu.etaxonomy.taxeditor.editor</module>
-    <module>../eu.etaxonomy.taxeditor.molecular</module>
-  </modules>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <version>2.4</version>
+        <executions>
+          <execution>
+            <id>copy-dependencies</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>copy-dependencies</goal>
+            </goals>
+            <configuration>
+              <includeArtifactIds>libralign-swt, libralign-core,
+                bioinfweb-commons-swt, bioinfweb-commons-core,
+                bioinfweb-commons-bio, bioinfweb-commons-swing,
+                tic-core, libralign-biojava1, core, sequencing, tic-swt</includeArtifactIds>
+              <outputDirectory>lib</outputDirectory>
+              <overWriteReleases>true</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <excludeTransitive>true</excludeTransitive>
+            </configuration>
+          </execution>
+          <!-- <execution> -->
+          <!-- <id>copy-dependencies-sources</id> -->
+          <!-- <phase>validate</phase> -->
+          <!-- <goals> -->
+          <!-- <goal>copy-dependencies</goal> -->
+          <!-- </goals> -->
+          <!-- <configuration> -->
+          <!-- <classifier>sources</classifier> -->
+          <!-- <includeArtifactIds>cdmlib-commons,cdmlib-model,cdmlib-persistence,cdmlib-remote,cdmlib-print,cdmlib-services,cdmlib-ext,cdmlib-io</includeArtifactIds> -->
+          <!-- <outputDirectory>lib</outputDirectory> -->
+          <!-- <overWriteReleases>true</overWriteReleases> -->
+          <!-- <overWriteSnapshots>true</overWriteSnapshots> -->
+          <!-- <excludeTransitive>true</excludeTransitive> -->
+          <!-- <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact> -->
+          <!-- </configuration> -->
+          <!-- </execution> -->
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <version>1.7</version>
+        <executions>
+          <execution>
+            <id>remove-existing-jars</id>
+            <phase>clean</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <target>
+                <echo>Remove all jars</echo>
+                <delete>
+                  <fileset dir="./lib" includes="*" />
+                </delete>
+              </target>
+            </configuration>
+          </execution>
+          <execution>
+            <id>update-snapshot-jar-names</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <target>
+                <echo>Update jars to SNAPSHOT when build with
+                  timestamp</echo>
+                <move todir="./lib">
+                  <fileset dir="./lib" />
+                  <mapper type="regexp"
+                    from="(^bioinfweb\-.*\-[0-9]-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
+                </move>
+                <move todir="./lib">
+                  <fileset dir="./lib" />
+                  <mapper type="regexp"
+                    from="(^libralign\-.*\-[0-9]-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
+                </move>
+                <move todir="./lib">
+                  <fileset dir="./lib" />
+                  <mapper type="regexp"
+                    from="(^tic\-.*\-[0-9]-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
+                </move>
+                <move todir="./lib">
+                  <fileset dir="./lib" />
+                  <mapper type="regexp"
+                    from="(^core\-[0-9]\.[0-9]\.[0-9])(\.jar)" to="\1-SNAPSHOT\2" />
+                </move>
+                <move todir="./lib">
+                  <fileset dir="./lib" />
+                  <mapper type="regexp"
+                    from="(^sequencing\-[0-9]\.[0-9]\.[0-9])(\.jar)" to="\1-SNAPSHOT\2" />
+                </move>
+              </target>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <!-- LibrAling -->
+    <dependency>
+      <groupId>info.bioinfweb.libralign</groupId>
+      <artifactId>libralign-core</artifactId>
+      <version>0-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>info.bioinfweb.libralign</groupId>
+      <artifactId>libralign-swt</artifactId>
+      <version>0-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>info.bioinfweb.libralign</groupId>
+      <artifactId>libralign-biojava1</artifactId>
+      <version>0-SNAPSHOT</version>
+    </dependency>
+    <!-- commons -->
+    <dependency>
+      <groupId>info.bioinfweb.commons.java</groupId>
+      <artifactId>bioinfweb-commons-swt</artifactId>
+      <version>2-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>info.bioinfweb.commons.java</groupId>
+      <artifactId>bioinfweb-commons-core</artifactId>
+      <version>2-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>info.bioinfweb.commons.java</groupId>
+      <artifactId>bioinfweb-commons-bio</artifactId>
+      <version>2-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>info.bioinfweb.commons.java</groupId>
+      <artifactId>bioinfweb-commons-swing</artifactId>
+      <version>2-SNAPSHOT</version>
+    </dependency>
+    <!-- tic -->
+    <dependency>
+      <groupId>info.bioinfweb.tic</groupId>
+      <artifactId>tic-core</artifactId>
+      <version>2-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>info.bioinfweb.tic</groupId>
+      <artifactId>tic-swt</artifactId>
+      <version>2-SNAPSHOT</version>
+    </dependency>
+    <!-- biojava -->
+    <dependency>
+      <groupId>org.biojava</groupId>
+      <artifactId>core</artifactId>
+      <version>1.9.2</version>
+    </dependency>
+    <dependency>
+      <groupId>org.biojava</groupId>
+      <artifactId>sequencing</artifactId>
+      <version>1.9.2</version>
+    </dependency>
+  </dependencies>
+
+  <repositories>
+    <repository>
+      <id>bioinfweb-maven-repo</id>
+      <name>bioinfweb repository</name>
+      <url>http://bioinfweb.info/MavenRepository/</url>
+    </repository>
+  </repositories>
   
 </project>