Project

General

Profile

« Previous | Next » 

Revision d09f7b40

Added by Andreas Kohlbecker about 8 years ago

centralizing dependency versions and managing libraries in lib/ through maven

View differences:

.gitignore
29 29
/*.patch
30 30
/eu.etaxonomy.taxeditor.webapp/.settings/org.eclipse.core.resources.prefs
31 31
/eu.etaxonomy.taxeditor.webapp/.settings/org.eclipse.m2e.core.prefs
32
/eu.etaxonomy.taxeditor.webapp/lib/
32 33

  
eu.etaxonomy.taxeditor.cdmlib/pom.xml
444 444
    <dependency>
445 445
      <groupId>com.mchange</groupId>
446 446
      <artifactId>c3p0</artifactId>
447
      <version>0.9.2</version>
447
      <version>${c3p0.version}</version>
448 448
    </dependency>
449 449
    <dependency>
450 450
      <groupId>org.jboss.spec.javax.transaction</groupId>
eu.etaxonomy.taxeditor.test/pom.xml
129 129
              this must exactly match the version as set in 
130 130
              cdmlib-parent pom.xml
131 131
            -->
132
            <version>0.9.5.2</version>
132
            <version>${c3p0.version}</version>
133 133
          </dependency>
134 134
          <!-- DATABASE DRIVER -->
135 135
          <dependency>
136 136
            <groupId>com.h2database</groupId>
137 137
            <artifactId>h2</artifactId>
138
            <version>1.4.190</version>
138
            <version>${h2.version}</version>
139 139
          </dependency>
140 140
          <dependency>
141 141
            <groupId>mysql</groupId>
142 142
            <artifactId>mysql-connector-java</artifactId>
143
            <version>5.1.38</version>
143
            <version>${mysql.version}</version>
144 144
          </dependency>
145 145
          <dependency>
146 146
              <groupId>commons-dbcp</groupId>
eu.etaxonomy.taxeditor.webapp/pom.xml
11 11
  <packaging>eclipse-plugin</packaging>
12 12
  <name>CDM Library Webapp Plugin</name>
13 13
  <description>CDM Library webapp as a plugin</description>
14

  
15 14
  <build>
16 15
    <pluginManagement>
17 16
      <plugins>
......
53 52
              <goal>copy-dependencies</goal>
54 53
            </goals>
55 54
            <configuration>
56
              <includeArtifactIds><!--  Comma separated list of Artifact names to include -->
57
                c3p0,mchange-commons-java,h2
55
              <includeArtifactIds>
56
                c3p0,mchange-commons-java,h2,mysql-connector-java,log4j,javax.servlet-api,jetty-all
58 57
              </includeArtifactIds>
59 58
              <outputDirectory>
60 59
                ${basedir}/lib
......
126 125
    <dependency>
127 126
      <groupId>com.h2database</groupId>
128 127
      <artifactId>h2</artifactId>
129
      <version>1.4.190</version>
128
      <version>${h2.version}</version>
129
    </dependency>
130
    <dependency>
131
      <groupId>com.h2database</groupId>
132
      <artifactId>h2</artifactId>
133
      <version>${h2.version}</version>
134
    </dependency>
135
    <dependency>
136
        <groupId>mysql</groupId>
137
        <artifactId>mysql-connector-java</artifactId>
138
        <version>5.1.24</version>
130 139
    </dependency>
131 140
     <dependency>
132 141
      <groupId>com.mchange</groupId>
133 142
      <artifactId>c3p0</artifactId>
134
      <!-- 
135
        IMPORTANT!!!
136
        this must exactly match the version as set in 
137
        cdmlib-parent pom.xml
138
      -->
139
      <version>0.9.5.2</version>
143
      <version>${c3p0.version}</version>
140 144
     </dependency>
141 145
     <dependency>
142 146
        <groupId>com.mchange</groupId>
143 147
        <artifactId>mchange-commons-java</artifactId>
144
        <version>0.2.11</version>
148
        <version>${mchange-commons-java.version}</version>
145 149
     </dependency>
150
     <dependency>
151
        <groupId>log4j</groupId>
152
        <artifactId>log4j</artifactId>
153
        <version>${log4j.version}</version>
154
    </dependency>
155
    <dependency>
156
        <groupId>javax.servlet</groupId>
157
        <artifactId>javax.servlet-api</artifactId>
158
        <version>3.1.0</version>
159
    </dependency>
160
    <dependency>
161
        <groupId>org.eclipse.jetty.aggregate</groupId>
162
        <artifactId>jetty-all</artifactId>
163
        <version>9.2.9.v20150224</version>
164
    </dependency>
146 165
  </dependencies>
147 166
</project>
148 167

  
pom.xml
24 24
    <taxeditor.version>4.0.0-SNAPSHOT</taxeditor.version>
25 25
    <update.dir>snapshot</update.dir>
26 26
    <unitils.version>3.4.2</unitils.version>
27
    <log4j.version>1.2.17</log4j.version>
28
    <!-- data base driver related properties -->
29
    <mysql.version>5.1.38</mysql.version>
30
    <h2.version>1.4.190</h2.version>
31
    <!-- 
32
      IMPORTANT!!!
33
      c3p0.version must exactly match the version as 
34
      set in cdmlib-parent pom.xml
35
    -->
36
    <c3p0.version>0.9.5.2</c3p0.version>
37
    <!-- mchange-commons-java needs to match the version as defined in the c3p0/pom.xml -->
38
    <mchange-commons-java.version>0.2.11</mchange-commons-java.version>
39
    
27 40
  </properties>
28 41
  <modules>
29 42
    <module>eu.etaxonomy.taxeditor.cdmlib</module>

Also available in: Unified diff