写点什么

将项目转成 MAVEN 项目

  • 2021 年 11 月 11 日
  • 本文字数:4311 字

    阅读完需:约 14 分钟

----------resources


--------------用来存放资源文件


------test


----------java


--------------用来存放测试 Java 文件(包+类)


–target–项目输出位置,编译完毕后自动生成


–pom.xml --项目对象模型的描述,它是 maven 配置的核心


2.pom.xml 文件


<?xml version="1.0" encoding="UTF-8"?>


<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>cn.mastercom.mtno</groupId>


<arti


【一线大厂Java面试题解析+后端开发学习笔记+最新架构讲解视频+实战项目源码讲义】
浏览器打开:qq.cn.hn/FTf 免费领取
复制代码


factId>mtno_testmaven</artifactId>


<version>1.0.0</version>


<packaging>war</packaging>


从以下开始复制!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


<properties>


<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>


<gson.version>2.8.5</gson.version>


</properties>


<repositories>


<repository>


<id>nexus</id>


<url>http://192.168.1.10:8081/nexus/content/groups/public/</url>


</repository>


</repositories>


<distributionManagement>


<repository>


<id>releases</id>


<url>http://192.168.1.10:8081/nexus/content/repositories/releases/</url>


</repository>


</distributionManagement>


<dependencies>


<dependency>


<groupId>javax.activation</groupId>


<artifactId>activation</artifactId>


<version>1.1</version>


</dependency>


<dependency>


<groupId>aopalliance</groupId>


<artifactId>aopalliance</artifactId>


<version>1.0</version>


</dependency>


<dependency>


<groupId>org.aspectj</groupId>


<artifactId>aspectjrt</artifactId>


<version>1.8.7</version>


</dependency>


<dependency>


<groupId>org.aspectj</groupId>


<artifactId>aspectjweaver</artifactId>


<version>1.8.6</version>


</dependency>


<dependency>


<groupId>org.apache.ws.commons.axiom</groupId>


<artifactId>axiom-api</artifactId>


<version>1.2.13</version>


<exclusions>


<exclusion>


<groupId>org.apache.geronimo.specs</groupId>


<artifactId>geronimo-activation_1.1_spec</artifactId>


</exclusion>


<exclusion>


<groupId>org.apache.geronimo.specs</groupId>


<artifactId>geronimo-javamail_1.4_spec</artifactId>


</exclusion>


<exclusion>


<groupId>commons-logging</groupId>


<artifactId>commons-logging</artifactId>


</exclusion>


<exclusion>


<groupId>jaxen</groupId>


<artifactId>jaxen</artifactId>


</exclusion>


<exclusion>


<groupId>org.apache.geronimo.specs</groupId>


<artifactId>geronimo-stax-api_1.0_spec</artifactId>


</exclusion>


<exclusion>


<groupId>org.apache.james</groupId>


<artifactId>apache-mime4j-core</artifactId>


</exclusion>


</exclusions>


</dependency>


<dependency>


<groupId>org.apache.ws.commons.axiom</groupId>


<artifactId>axiom-impl</artifactId>


<version>1.2.13</version>


</dependency>


<dependency>


<groupId>org.apache.axis2</groupId>


<artifactId>axis2-adb</artifactId>


<version>1.6.2</version>


<exclusions>


<exclusion>


<artifactId>XmlSchema</artifactId>


<groupId>org.apache.ws.commons.schema</groupId>


</exclusion>


</exclusions>


</dependency>


<dependency>


<groupId>org.apache.axis2</groupId>


<artifactId>axis2-transport-http</artifactId>


<version>1.6.2</version>


</dependency>


<dependency>


<groupId>org.apache.axis2</groupId>


<artifactId>axis2-transport-local</artifactId>


<version>1.6.2</version>


</dependency>


<dependency>


<groupId>org.bouncycastle</groupId>


<artifactId>bcprov-jdk15on</artifactId>


<version>1.56</version>


</dependency>


<dependency>


<groupId>log4j</groupId>


<artifactId>log4j</artifactId>


<version>1.2.15</version>


<exclusions>


<exclusion>


<groupId>com.sun.jmx</groupId>


<artifactId>jmxri</artifactId>


</exclusion>


<exclusion>


<groupId>com.sun.jdmk</groupId>


<artifactId>jmxtools</artifactId>


</exclusion>


<exclusion>


<groupId>javax.jms</groupId>


<artifactId>jms</artifactId>


</exclusion>


</exclusions>


</dependency>


<dependency>


<groupId>net.sf.json-lib</groupId>


<artifactId>json-lib</artifactId>


<version>2.4</version>


<classifier>jdk15</classifier>


</dependency>


<dependency>


<groupId>cglib</groupId>


<artifactId>cglib-nodep</artifactId>


<version>2.2.2</version>


</dependency>


<dependency>


<groupId>commons-dbcp</groupId>


<artifactId>commons-dbcp</artifactId>


<version>1.4</version>


</dependency>


<dependency>


<groupId>org.apache.httpcomponents</groupId>


<artifactId>httpclient</artifactId>


<version>4.5.3</version>


</dependency>


<dependency>


<groupId>org.apache.httpcomponents</groupId>


<artifactId>httpcore-nio</artifactId>


<version>4.4.4</version>


</dependency>


<dependency>


<groupId>org.apache.httpcomponents</groupId>


<artifactId>httpcore</artifactId>


<version>4.4.4</version>


</dependency>


<dependency>


<groupId>org.apache.httpcomponents</groupId>


<artifactId>httpclient-win</artifactId>


<version>4.5.2</version>


</dependency>


<dependency>


<groupId>org.apache.httpcomponents</groupId>


<artifactId>httpclient-cache</artifactId>


<version>4.5.2</version>


</dependency>


<dependency>


<groupId>org.apache.httpcomponents</groupId>


<artifactId>httpasyncclient</artifactId>


<version>4.0-beta3</version>


</dependency>


<dependency>


<groupId>org.apache.httpcomponents</groupId>


<artifactId>httpmime</artifactId>


<version>4.5.2</version>


</dependency>


<dependency>


<groupId>dom4j</groupId>


<artifactId>dom4j</artifactId>


<version>1.6.1</version>


</dependency>


<dependency>


<groupId>jaxen</groupId>


<artifactId>jaxen</artifactId>


<version>1.1.1</version>


</dependency>


<dependency>


<groupId>org.springframework</groupId>


<artifactId>org.springframework.web</artifactId>


<version>3.1.1.RELEASE</version>


</dependency>


<dependency>


<groupId>org.springframework</groupId>


<artifactId>org.springframework.web.servlet</artifactId>


<version>3.1.1.RELEASE</version>


</dependency>


<dependency>


<groupId>org.springframework</groupId>


<artifactId>org.springframework.jdbc</artifactId>


<version>3.1.1.RELEASE</version>


</dependency>


<dependency>


<groupId>org.springframework</groupId>


<artifactId>spring-aop</artifactId>


<version>3.1.1.RELEASE</version>


</dependency>


<dependency>


<groupId>org.springframework</groupId>


<artifactId>spring-tx</artifactId>


<version>3.1.1.RELEASE</version>


</dependency>


<dependency>


<groupId>org.springframework</groupId>


<artifactId>spring-context-support</artifactId>


<version>3.1.1.RELEASE</version>


</dependency>


<dependency>


<groupId>org.apache.poi</groupId>


<artifactId>poi</artifactId>


<version>3.14</version>


</dependency>


<dependency>


<groupId>com.oracle</groupId>


<artifactId>ojdbc6</artifactId>


<version>11.2.0.3</version>


</dependency>


<dependency>


<groupId>commons-io</groupId>


<artifactId>commons-io</artifactId>


<version>2.3</version>


</dependency>


<dependency>


<groupId>commons-net</groupId>


<artifactId>commons-net</artifactId>


<version>3.3</version>


</dependency>


<dependency>


<groupId>org.slf4j</groupId>


<artifactId>slf4j-api</artifactId>


<version>1.5.8</version>


</dependency>


<dependency>


<groupId>javax.xml.rpc</groupId>


<artifactId>javax.xml.rpc-api</artifactId>


<version>1.1.1</version>


</dependency>


<dependency>


<groupId>org.apache.axis</groupId>


<artifactId>axis</artifactId>


<version>1.4</version>


</dependency>


<dependency>


<groupId>cn.mastercom.mtno</groupId>


<artifactId>framework</artifactId>


<version>1.0.0</version>


</dependency>


<dependency>


<groupId>cn.mastercom</groupId>


<artifactId>bmdp-eoms-service</artifactId>


<version>1.0</version>


</dependency>


<dependency>


<groupId>cn.mastercom</groupId>


<artifactId>boco</artifactId>


<version>1.0</version>


</dependency>


<dependency>


<groupId>fakepath</groupId>


<artifactId>cxf</artifactId>


<version>2.7.5</version>


</dependency>


<dependency>


<groupId>cn.mastercom</groupId>


<artifactId>cxf-manifest</artifactId>


<version>1.0</version>


</dependency>


<dependency>


<groupId>cn.mastercom</groupId>


<artifactId>mt-redis</artifactId>


<version>1.0</version>


</dependency>


<dependency>


<groupId>cn.mastercom</groupId>


<artifactId>apache-ant-zip</artifactId>


<version>1.0</version>


</dependency>


<dependency>


<groupId>fakepath</groupId>


<artifactId>xmlschema-core</artifactId>


<version>2.0.3</version>


</dependency>


<dependency>


<groupId>cn.mastercom</groupId>


<artifactId>commandservice</artifactId>


<version>1.0</version>


</dependency>


<dependency>


<groupId>springframework</groupId>


<artifactId>spring-dao</artifactId>


<version>1.1.3</version>


</dependency>


<dependency>


<groupId>org.springframework</groupId>


<artifactId>spring-asm</artifactId>


<version>3.0.7.RELEASE</version>


</dependency>


<dependency>


<groupId>org.quartz-scheduler</groupId>


<artifactId>quartz</artifactId>


<version>1.8.6</version>


</dependency>


<dependency>


<groupId>com.microsoft.sqlserver</groupId>


<artifactId>sqljdbc4</artifactId>


<version>4.0</version>


</dependency>


<dependency>


<groupId>org.slf4j</groupId>


<artifactId>slf4j-log4j12</artifactId>


<version>1.5.8</version>


</dependency>


<dependency>


<groupId>sqlite</groupId>


<artifactId>sqlitejdbc</artifactId>


<version>v056</version>


</dependency>


<dependency>


<groupId>javax.servlet</groupId>


<artifactId>javax.servlet-api</artifactId>


<version>3.1.0</version>


<scope>provided</scope>


</dependency>

评论

发布
暂无评论
将项目转成MAVEN项目