Project

General

Profile

« Previous | Next » 

Revision 1c56dd72

Added by Andreas Müller almost 8 years ago

#5751 Remove explicit dependencies to DB drivers by cdmlib-db in poms

View differences:

eu.etaxonomy.taxeditor.test/pom.xml
121 121
          <daemon>true</daemon>
122 122
        </configuration>
123 123
        <dependencies>
124
            <dependency>
125
            <groupId>com.mchange</groupId>
126
            <artifactId>c3p0</artifactId>
127
            <!-- 
128
              IMPORTANT!!!
129
              this must exactly match the version as set in 
130
              cdmlib-parent pom.xml
131
            -->
132
            <version>${c3p0.version}</version>
133
          </dependency>
134
          <!-- DATABASE DRIVER -->
135
          <dependency>
136
            <groupId>com.h2database</groupId>
137
            <artifactId>h2</artifactId>
138
            <version>${h2.version}</version>
139
          </dependency>
140
          <dependency>
141
            <groupId>mysql</groupId>
142
            <artifactId>mysql-connector-java</artifactId>
143
            <version>${mysql.version}</version>
144
          </dependency>
124
        	<dependency>
125
        	<groupId>eu.etaxonomy</groupId>
126
      		<artifactId>cdmlib-db</artifactId>
127
      		<version>${cdmlib.version}</version>
128
      	</dependency>
129
<!--             <dependency> -->
130
<!--             <groupId>com.mchange</groupId> -->
131
<!--             <artifactId>c3p0</artifactId> -->
132
<!--             
133
<!--               IMPORTANT!!! -->
134
<!--               this must exactly match the version as set in  -->
135
<!--               cdmlib-parent pom.xml -->
136
<!--             --> -->
137
<!--             <version>${c3p0.version}</version> -->
138
<!--           </dependency> -->
139
<!--           DATABASE DRIVER -->
140
<!--           <dependency> -->
141
<!--             <groupId>com.h2database</groupId> -->
142
<!--             <artifactId>h2</artifactId> -->
143
<!--             <version>${h2.version}</version> -->
144
<!--           </dependency> -->
145
<!--           <dependency> -->
146
<!--             <groupId>mysql</groupId> -->
147
<!--             <artifactId>mysql-connector-java</artifactId> -->
148
<!--             <version>${mysql.version}</version> -->
149
<!--           </dependency> -->
150
		  <!-- Do we still need this? If yes, should we move it to cdmlib-db? -->
145 151
          <dependency>
146 152
              <groupId>commons-dbcp</groupId>
147 153
              <artifactId>commons-dbcp</artifactId>
eu.etaxonomy.taxeditor.webapp/pom.xml
123 123
      <type>war</type>
124 124
    </dependency>
125 125
    <dependency>
126
      <groupId>com.h2database</groupId>
127
      <artifactId>h2</artifactId>
128
      <version>${h2.version}</version>
129
    </dependency>
130
    <dependency>
131
        <groupId>mysql</groupId>
132
        <artifactId>mysql-connector-java</artifactId>
133
        <version>5.1.24</version>
126
      <groupId>eu.etaxonomy</groupId>
127
      <artifactId>cdmlib-db</artifactId>
128
      <version>${cdmlib.version}</version>
134 129
    </dependency>
135
     <dependency>
136
      <groupId>com.mchange</groupId>
137
      <artifactId>c3p0</artifactId>
138
      <version>${c3p0.version}</version>
139
     </dependency>
140
     <dependency>
141
        <groupId>com.mchange</groupId>
142
        <artifactId>mchange-commons-java</artifactId>
143
        <version>${mchange-commons-java.version}</version>
144
     </dependency>
145 130
     <dependency>
146 131
        <groupId>log4j</groupId>
147 132
        <artifactId>log4j</artifactId>
pom.xml
25 25
    <update.dir>snapshot</update.dir>
26 26
    <unitils.version>3.4.2</unitils.version>
27 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 28
  </properties>
40 29
  <modules>
41 30
    <module>eu.etaxonomy.taxeditor.cdmlib</module>

Also available in: Unified diff