kettle demo二次开发pom.xml

本文档详细介绍了使用Maven构建的Kettle数据集成项目的配置过程,包括项目依赖、属性设置、构建插件管理和中央仓库配置。项目集成了多种数据库连接、日志工具和Web服务API,适用于复杂的数据处理和ETL任务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <groupId>com.zhuziym</groupId>
   <artifactId>kettleDemo</artifactId>
   <version>0.0.1-SNAPSHOT</version>

   <properties>
      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
      <downloadJavadocs>true</downloadJavadocs>
      <downloadSources>true</downloadSources>
      <kettle.version>7.1.0.1-34</kettle.version>
      <slf4j-log4j12.version>1.7.9</slf4j-log4j12.version>
      <fastjson.version>1.2.8</fastjson.version>
   </properties>

   <dependencies>
      <dependency>
         <groupId>javax.servlet.jsp</groupId>
         <artifactId>jsp-api</artifactId>
         <version>2.2</version>
         <scope>provided</scope>
      </dependency>

      <dependency>
         <groupId>javax.servlet</groupId>
         <artifactId>javax.servlet-api</artifactId>
         <version>3.1.0</version>
         <scope>provided</scope>
      </dependency>
      <!-- 日志和其他工具类 -->
      <!-- https://mvnrepository.com/artifact/junit/junit -->
      <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>4.7</version>
         <scope>test</scope>
      </dependency>
      <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>slf4j-log4j12</artifactId>
         <version>${slf4j-log4j12.version}</version>
      </dependency>
      <dependency>
         <groupId>com.alibaba</groupId>
         <artifactId>fastjson</artifactId>
         <version>${fastjson.version}</version>
      </dependency>
      <dependency>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-lang3</artifactId>
         <version>3.3.2</version>
      </dependency>
      <!-- 日志和其他工具类 /end -->
      <dependency>
         <groupId>mysql</groupId>
         <artifactId>mysql-connector-java</artifactId>
         <version>5.1.38</version>
      </dependency>
      <!-- kettle -->
      <dependency>
         <groupId>pentaho-kettle</groupId>
         <artifactId>kettle-engine</artifactId>
         <version>${kettle.version}</version>
      </dependency>
      <dependency>
         <groupId>pentaho</groupId>
         <artifactId>metastore</artifactId>
         <version>${kettle.version}</version>
      </dependency>
      <dependency>
         <groupId>pentaho-kettle</groupId>
         <artifactId>kettle-core</artifactId>
         <version>${kettle.version}</version>
         <exclusions>
            <exclusion>
               <groupId>jug-lgpl</groupId>
               <artifactId>jug-lgpl</artifactId>
            </exclusion>
            <exclusion>
               <groupId>secondstring</groupId>
               <artifactId>secondstring</artifactId>
            </exclusion>
            <exclusion>
               <artifactId>xercesImpl</artifactId>
               <groupId>xerces</groupId>
            </exclusion>
            <exclusion>
               <groupId>org.apache.xmlgraphics</groupId>
               <artifactId>batik-js</artifactId>
            </exclusion>
         </exclusions>
      </dependency>


      <dependency>
         <groupId>pentaho-kettle</groupId>
         <artifactId>kettle-dbdialog</artifactId>
         <version>${kettle.version}</version>
      </dependency>

      <!-- <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>19.0</version> </dependency> -->
      <dependency>
         <groupId>com.verhas</groupId>
         <artifactId>license3j</artifactId>
         <version>1.0.7</version>
      </dependency>
      <!-- <dependency> <groupId>org.pentaho.di.plugins</groupId> <artifactId>kettle-json-plugin-core</artifactId> <version>8.0.0.0-28</version> </dependency> <dependency> <groupId>org.pentaho.di.plugins</groupId> 
         <artifactId>kettle-json-plugin</artifactId> <version>8.0.0.0-28</version> <type>zip</type> </dependency> -->
      <!-- kettle/end -->
      <dependency>
         <groupId>javax.mail</groupId>
         <artifactId>mail</artifactId>
         <version>1.4.7</version>
      </dependency>
      <dependency>
         <groupId>org.mybatis</groupId>
         <artifactId>mybatis</artifactId>
         <version>3.4.6</version>
      </dependency>
   </dependencies>
   <!-- kettle中央仓库 -->
   <repositories>
      <repository>
         <id>pentaho-public</id>
         <name>Pentaho Public</name>
         <url>http://nexus.pentaho.org/content/groups/omni</url>
         <releases>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
         </releases>
         <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
         </snapshots>
      </repository>
   </repositories>
   <!-- kettle中央仓库 /end -->
   <build>
      <pluginManagement>
         <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>3.2</version>
                    <!-- 编译时使用的JDK版本和UTF8编码 -->
                    <configuration>
                        <source>1.8</source>
                        <target>1.8</target>
                        <encoding>UTF-8</encoding>
                        <showWarnings>true</showWarnings>
                    </configuration>
                </plugin>
            <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-compiler-plugin</artifactId>
               <version>3.2</version>
               <!-- 编译时使用的JDK版本和UTF8编码 -->
               <configuration>
                  <source>1.8</source>
                  <target>1.8</target>
                  <encoding>UTF-8</encoding>
                  <showWarnings>true</showWarnings>
               </configuration>
            </plugin>
         </plugins>
      </pluginManagement>
   </build>
</project>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值