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:

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

  

Also available in: Unified diff