Project

General

Profile

Download (6.48 KB) Statistics
| Branch: | Tag: | Revision:
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>3.9.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, tic-swt</includeArtifactIds>
31
              <outputDirectory>lib</outputDirectory>
32
              <overWriteReleases>true</overWriteReleases>
33
              <overWriteSnapshots>true</overWriteSnapshots>
34
              <excludeTransitive>true</excludeTransitive>
35
            </configuration>
36
          </execution>
37
          <!-- <execution> -->
38
          <!-- <id>copy-dependencies-sources</id> -->
39
          <!-- <phase>validate</phase> -->
40
          <!-- <goals> -->
41
          <!-- <goal>copy-dependencies</goal> -->
42
          <!-- </goals> -->
43
          <!-- <configuration> -->
44
          <!-- <classifier>sources</classifier> -->
45
          <!-- <includeArtifactIds>cdmlib-commons,cdmlib-model,cdmlib-persistence,cdmlib-remote,cdmlib-print,cdmlib-services,cdmlib-ext,cdmlib-io</includeArtifactIds> -->
46
          <!-- <outputDirectory>lib</outputDirectory> -->
47
          <!-- <overWriteReleases>true</overWriteReleases> -->
48
          <!-- <overWriteSnapshots>true</overWriteSnapshots> -->
49
          <!-- <excludeTransitive>true</excludeTransitive> -->
50
          <!-- <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact> -->
51
          <!-- </configuration> -->
52
          <!-- </execution> -->
53
        </executions>
54
      </plugin>
55
      <plugin>
56
        <groupId>org.apache.maven.plugins</groupId>
57
        <artifactId>maven-antrun-plugin</artifactId>
58
        <version>1.7</version>
59
        <executions>
60
          <execution>
61
            <id>remove-existing-jars</id>
62
            <phase>clean</phase>
63
            <goals>
64
              <goal>run</goal>
65
            </goals>
66
            <configuration>
67
              <target>
68
                <echo>Remove all jars</echo>
69
                <delete>
70
                  <fileset dir="./lib" includes="*" />
71
                </delete>
72
              </target>
73
            </configuration>
74
          </execution>
75
          <execution>
76
            <id>update-snapshot-jar-names</id>
77
            <phase>validate</phase>
78
            <goals>
79
              <goal>run</goal>
80
            </goals>
81
            <configuration>
82
              <target>
83
                <echo>Update jars to SNAPSHOT when build with
84
                  timestamp</echo>
85
                <move todir="./lib">
86
                  <fileset dir="./lib" />
87
                  <mapper type="regexp"
88
                    from="(^bioinfweb\-.*\-[0-9]-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
89
                </move>
90
                <move todir="./lib">
91
                  <fileset dir="./lib" />
92
                  <mapper type="regexp"
93
                    from="(^libralign\-.*\-[0-9]-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
94
                </move>
95
                <move todir="./lib">
96
                  <fileset dir="./lib" />
97
                  <mapper type="regexp"
98
                    from="(^tic\-.*\-[0-9]-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
99
                </move>
100
                <move todir="./lib">
101
                  <fileset dir="./lib" />
102
                  <mapper type="regexp"
103
                    from="(^core\-[0-9]\.[0-9]\.[0-9])(\.jar)" to="\1-SNAPSHOT\2" />
104
                </move>
105
                <move todir="./lib">
106
                  <fileset dir="./lib" />
107
                  <mapper type="regexp"
108
                    from="(^sequencing\-[0-9]\.[0-9]\.[0-9])(\.jar)" to="\1-SNAPSHOT\2" />
109
                </move>
110
              </target>
111
            </configuration>
112
          </execution>
113
        </executions>
114
      </plugin>
115
    </plugins>
116
  </build>
117

    
118
  <dependencies>
119
    <!-- LibrAling -->
120
    <dependency>
121
      <groupId>info.bioinfweb.libralign</groupId>
122
      <artifactId>libralign-core</artifactId>
123
      <version>0-SNAPSHOT</version>
124
    </dependency>
125
    <dependency>
126
      <groupId>info.bioinfweb.libralign</groupId>
127
      <artifactId>libralign-swt</artifactId>
128
      <version>0-SNAPSHOT</version>
129
    </dependency>
130
    <dependency>
131
      <groupId>info.bioinfweb.libralign</groupId>
132
      <artifactId>libralign-biojava1</artifactId>
133
      <version>0-SNAPSHOT</version>
134
    </dependency>
135
    <!-- commons -->
136
    <dependency>
137
      <groupId>info.bioinfweb.commons.java</groupId>
138
      <artifactId>bioinfweb-commons-swt</artifactId>
139
      <version>2-SNAPSHOT</version>
140
    </dependency>
141
    <dependency>
142
      <groupId>info.bioinfweb.commons.java</groupId>
143
      <artifactId>bioinfweb-commons-core</artifactId>
144
      <version>2-SNAPSHOT</version>
145
    </dependency>
146
    <dependency>
147
      <groupId>info.bioinfweb.commons.java</groupId>
148
      <artifactId>bioinfweb-commons-bio</artifactId>
149
      <version>2-SNAPSHOT</version>
150
    </dependency>
151
    <dependency>
152
      <groupId>info.bioinfweb.commons.java</groupId>
153
      <artifactId>bioinfweb-commons-swing</artifactId>
154
      <version>2-SNAPSHOT</version>
155
    </dependency>
156
    <!-- tic -->
157
    <dependency>
158
      <groupId>info.bioinfweb.tic</groupId>
159
      <artifactId>tic-core</artifactId>
160
      <version>2-SNAPSHOT</version>
161
    </dependency>
162
    <dependency>
163
      <groupId>info.bioinfweb.tic</groupId>
164
      <artifactId>tic-swt</artifactId>
165
      <version>2-SNAPSHOT</version>
166
    </dependency>
167
    <!-- biojava -->
168
    <dependency>
169
      <groupId>org.biojava</groupId>
170
      <artifactId>core</artifactId>
171
      <version>1.9.2</version>
172
    </dependency>
173
    <dependency>
174
      <groupId>org.biojava</groupId>
175
      <artifactId>sequencing</artifactId>
176
      <version>1.9.2</version>
177
    </dependency>
178
  </dependencies>
179

    
180
  <repositories>
181
    <repository>
182
      <id>bioinfweb-maven-repo</id>
183
      <name>bioinfweb repository</name>
184
      <url>http://bioinfweb.info/MavenRepository/</url>
185
    </repository>
186
  </repositories>
187
  
188
</project> 
189

    
(5-5/5)