maven pom引入依赖jar包(仅适用我自己理解,其中有一些代码没有贴出来)
2016-08-22 17:38
567 查看
<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>
<parent>
<groupId>com.me.dai</groupId>
<artifactId>base</artifactId>
<version>all</version>
<relativePath>../base/pom.xml</relativePath>
</parent>
<artifactId>bom</artifactId>
<packaging>pom</packaging>
<name>DAI Platform BOM</name>
<description>DAI projects' dependency management, plugin management, specifying the DAI stack for runtime use</description>
<properties>
<!-- dependencies version -->
<poi.version>3.13</poi.version>
<!-- analysis excel -->
<poi.version.3.15-beta1>3.15-beta1</poi.version.3.15-beta1>
<poi-excelant.version>3.15-beta1</poi-excelant.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>${poi.version}</version>
<!-- <scope>test</scope> --><!-- 测试时使用,update by jacky 20160822 start-->
<scope>compile</scope><!-- 所有阶段均可使用-->
<!--<exclusions>
<exclusion>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
</exclusion>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
</exclusions>-->
<!-- end -->
</dependency>
<!-- **************** analysis excel dependency ******************************* -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>${poi.version.3.15-beta1}</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-excelant</artifactId>
<version>${poi-excelant.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<!-- managed plugins -->
<pluginManagement>
<plugins>
<!--
The Enforcer plugin provides goals to control certain environmental constraints such as Maven version,
JDK version and OS family along with many more standard rules and user created rules.
ref: http://maven.apache.org/enforcer/maven-enforcer-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>enforce-project</id>
<phase>verify</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[${maven-compiler-plugin.target},)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.2.1,)</version>
</requireMavenVersion>
<requireEnvironmentVariable>
<variableName>JAVA_HOME</variableName>
</requireEnvironmentVariable>
<requireSameVersions>
<dependencies>
<dependency>${project.groupId}</dependency>
</dependencies>
</requireSameVersions>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<!--
The Maven Help Plugin is used to get relative information about a project or the system.
ref: htt
f23f
p://maven.apache.org/plugins/maven-help-plugin/index.html
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId>
<version>${maven-help-plugin.version}</version>
</plugin>
<!--
This plugin is used to release a project with Maven, saving a lot of repetitive, manual work.
Releasing a project is made in two steps: prepare and perform.
ref: http://maven.apache.org/maven-release/maven-release-plugin/ TODO
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
</plugin>
<!--
The Versions Plugin is used when you want to manage the versions of artifacts in a project's POM
ref: http://www.mojohaus.org/versions-maven-plugin/ TODO
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${versions-maven-plugin.version}</version>
</plugin>
<!--
The dependency plugin provides the capability to manipulate artifacts.
It can copy and/or unpack artifacts from local or remote repositories to a specified location.
ref: http://maven.apache.org/plugins/maven-dependency-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin.version}</version>
<executions>
<execution>
<id>analyze-dependencies</id>
<phase>verify</phase>
<goals>
<goal>analyze-only</goal>
</goals>
<configuration>
<failOnWarning>false</failOnWarning>
<ignoreNonCompile>true</ignoreNonCompile>
<skip>${skip.dependency.check}</skip>
</configuration>
</execution>
</executions>
</plugin>
<!--
The Source Plugin creates a jar archive of the source files of the current project.
The jar file is, by default, created in the project's target directory.
ref: http://maven.apache.org/plugins/maven-source-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!--
The Javadoc Plugin uses the Javadoc tool to generate javadocs for the specified project.
ref: http://maven.apache.org/plugins/maven-javadoc-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<charset>${encoding}</charset>
<encoding>${encoding}</encoding>
<docencoding>${encoding}</docencoding>
</configuration>
</execution>
</executions>
</plugin>
<!--
The Resources Plugin handles the copying of project resources to the output directory.
ref: http://maven.apache.org/plugins/maven-resources-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
<configuration>
<encoding>${encoding}</encoding>
</configuration>
</plugin>
<!--
The Compiler Plugin is used to compile the sources of your project.
ref: http://maven.apache.org/plugins/maven-compiler-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${maven-compiler-plugin.source}</source>
<target>${maven-compiler-plugin.target}</target>
<encoding>${encoding}</encoding>
</configuration>
</plugin>
<!--
The Surefire Plugin is used during the test phase of the build lifecycle to execute the unit tests of an application.
ref: http://maven.apache.org/surefire/maven-surefire-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<argLine>-XX:-UseSplitVerifier</argLine>
<skip>${maven-surefire-plugin.skip}</skip>
</configuration>
</plugin>
<!--
The Surefire Plugin is used during the test phase of the build lifecycle to execute the unit tests of an application.
ref: http://maven.apache.org/surefire/maven-surefire-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<skipSurefireReport>${maven-surefire-plugin.skip}</skipSurefireReport>
</configuration>
</plugin>
<!--
The Assembly Plugin for Maven is primarily intended to allow users to
aggregate the project output along with its dependencies, modules, site documentation,
and other files into a single distributable archive.
ref: http://maven.apache.org/plugins/maven-assembly-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<configuration>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<DAI-Release>${project.version}.${env.BUILD_NUMBER}</DAI-Release>
<SVN-Revision>${env.SVN_REVISION}</SVN-Revision>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!--
This plugin provides the capability to build jars.
ref: http://maven.apache.org/plugins/maven-jar-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<DAI-Release>${project.version}.${env.BUILD_NUMBER}</DAI-Release>
<SVN-Revision>${env.SVN_REVISION}</SVN-Revision>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!--
The WAR Plugin is responsible for collecting all artifact dependencies,
classes and resources of the web application and packaging them into a web application archive.
ref: http://maven.apache.org/plugins/maven-war-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version>
<configuration>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<DAI-Release>${project.version}.${env.BUILD_NUMBER}</DAI-Release>
<SVN-Revision>${env.SVN_REVISION}</SVN-Revision>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!--
This plugin generates Java EE Enterprise Archive (EAR) file.
ref: http://maven.apache.org/plugins/maven-ear-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>${maven-ear-plugin.version}</version>
<configuration>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<DAI-Release>${project.version}.${env.BUILD_NUMBER}</DAI-Release>
<SVN-Revision>${env.SVN_REVISION}</SVN-Revision>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!--
This plugin generates J2EE Enterprise Javabean (EJB) file as well as the associated client jar.
ref: http://maven.apache.org/plugins/maven-ejb-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<version>${maven-ejb-plugin.version}</version>
<configuration>
<ejbVersion>3.0</ejbVersion>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<DAI-Release>${project.version}.${env.BUILD_NUMBER}</DAI-Release>
<SVN-Revision>${env.SVN_REVISION}</SVN-Revision>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
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>
<parent>
<groupId>com.me.dai</groupId>
<artifactId>base</artifactId>
<version>all</version>
<relativePath>../base/pom.xml</relativePath>
</parent>
<artifactId>bom</artifactId>
<packaging>pom</packaging>
<name>DAI Platform BOM</name>
<description>DAI projects' dependency management, plugin management, specifying the DAI stack for runtime use</description>
<properties>
<!-- dependencies version -->
<poi.version>3.13</poi.version>
<!-- analysis excel -->
<poi.version.3.15-beta1>3.15-beta1</poi.version.3.15-beta1>
<poi-excelant.version>3.15-beta1</poi-excelant.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>${poi.version}</version>
<!-- <scope>test</scope> --><!-- 测试时使用,update by jacky 20160822 start-->
<scope>compile</scope><!-- 所有阶段均可使用-->
<!--<exclusions>
<exclusion>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
</exclusion>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
</exclusions>-->
<!-- end -->
</dependency>
<!-- **************** analysis excel dependency ******************************* -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>${poi.version.3.15-beta1}</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-excelant</artifactId>
<version>${poi-excelant.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<!-- managed plugins -->
<pluginManagement>
<plugins>
<!--
The Enforcer plugin provides goals to control certain environmental constraints such as Maven version,
JDK version and OS family along with many more standard rules and user created rules.
ref: http://maven.apache.org/enforcer/maven-enforcer-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>enforce-project</id>
<phase>verify</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[${maven-compiler-plugin.target},)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.2.1,)</version>
</requireMavenVersion>
<requireEnvironmentVariable>
<variableName>JAVA_HOME</variableName>
</requireEnvironmentVariable>
<requireSameVersions>
<dependencies>
<dependency>${project.groupId}</dependency>
</dependencies>
</requireSameVersions>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<!--
The Maven Help Plugin is used to get relative information about a project or the system.
ref: htt
f23f
p://maven.apache.org/plugins/maven-help-plugin/index.html
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId>
<version>${maven-help-plugin.version}</version>
</plugin>
<!--
This plugin is used to release a project with Maven, saving a lot of repetitive, manual work.
Releasing a project is made in two steps: prepare and perform.
ref: http://maven.apache.org/maven-release/maven-release-plugin/ TODO
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
</plugin>
<!--
The Versions Plugin is used when you want to manage the versions of artifacts in a project's POM
ref: http://www.mojohaus.org/versions-maven-plugin/ TODO
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${versions-maven-plugin.version}</version>
</plugin>
<!--
The dependency plugin provides the capability to manipulate artifacts.
It can copy and/or unpack artifacts from local or remote repositories to a specified location.
ref: http://maven.apache.org/plugins/maven-dependency-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin.version}</version>
<executions>
<execution>
<id>analyze-dependencies</id>
<phase>verify</phase>
<goals>
<goal>analyze-only</goal>
</goals>
<configuration>
<failOnWarning>false</failOnWarning>
<ignoreNonCompile>true</ignoreNonCompile>
<skip>${skip.dependency.check}</skip>
</configuration>
</execution>
</executions>
</plugin>
<!--
The Source Plugin creates a jar archive of the source files of the current project.
The jar file is, by default, created in the project's target directory.
ref: http://maven.apache.org/plugins/maven-source-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!--
The Javadoc Plugin uses the Javadoc tool to generate javadocs for the specified project.
ref: http://maven.apache.org/plugins/maven-javadoc-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<charset>${encoding}</charset>
<encoding>${encoding}</encoding>
<docencoding>${encoding}</docencoding>
</configuration>
</execution>
</executions>
</plugin>
<!--
The Resources Plugin handles the copying of project resources to the output directory.
ref: http://maven.apache.org/plugins/maven-resources-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
<configuration>
<encoding>${encoding}</encoding>
</configuration>
</plugin>
<!--
The Compiler Plugin is used to compile the sources of your project.
ref: http://maven.apache.org/plugins/maven-compiler-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${maven-compiler-plugin.source}</source>
<target>${maven-compiler-plugin.target}</target>
<encoding>${encoding}</encoding>
</configuration>
</plugin>
<!--
The Surefire Plugin is used during the test phase of the build lifecycle to execute the unit tests of an application.
ref: http://maven.apache.org/surefire/maven-surefire-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<argLine>-XX:-UseSplitVerifier</argLine>
<skip>${maven-surefire-plugin.skip}</skip>
</configuration>
</plugin>
<!--
The Surefire Plugin is used during the test phase of the build lifecycle to execute the unit tests of an application.
ref: http://maven.apache.org/surefire/maven-surefire-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<skipSurefireReport>${maven-surefire-plugin.skip}</skipSurefireReport>
</configuration>
</plugin>
<!--
The Assembly Plugin for Maven is primarily intended to allow users to
aggregate the project output along with its dependencies, modules, site documentation,
and other files into a single distributable archive.
ref: http://maven.apache.org/plugins/maven-assembly-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<configuration>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<DAI-Release>${project.version}.${env.BUILD_NUMBER}</DAI-Release>
<SVN-Revision>${env.SVN_REVISION}</SVN-Revision>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!--
This plugin provides the capability to build jars.
ref: http://maven.apache.org/plugins/maven-jar-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<DAI-Release>${project.version}.${env.BUILD_NUMBER}</DAI-Release>
<SVN-Revision>${env.SVN_REVISION}</SVN-Revision>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!--
The WAR Plugin is responsible for collecting all artifact dependencies,
classes and resources of the web application and packaging them into a web application archive.
ref: http://maven.apache.org/plugins/maven-war-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version>
<configuration>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<DAI-Release>${project.version}.${env.BUILD_NUMBER}</DAI-Release>
<SVN-Revision>${env.SVN_REVISION}</SVN-Revision>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!--
This plugin generates Java EE Enterprise Archive (EAR) file.
ref: http://maven.apache.org/plugins/maven-ear-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>${maven-ear-plugin.version}</version>
<configuration>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<DAI-Release>${project.version}.${env.BUILD_NUMBER}</DAI-Release>
<SVN-Revision>${env.SVN_REVISION}</SVN-Revision>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!--
This plugin generates J2EE Enterprise Javabean (EJB) file as well as the associated client jar.
ref: http://maven.apache.org/plugins/maven-ejb-plugin/ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<version>${maven-ejb-plugin.version}</version>
<configuration>
<ejbVersion>3.0</ejbVersion>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<DAI-Release>${project.version}.${env.BUILD_NUMBER}</DAI-Release>
<SVN-Revision>${env.SVN_REVISION}</SVN-Revision>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
相关文章推荐
- Maven项目中pom.xml添加依赖,但是jar包没有引入项目
- maven项目pom中添加依赖,但是jar无法引入项目
- maven项目pom中添加依赖,但是jar无法引入项目
- maven如何引入依赖的时候去除其中某个jar包?
- Maven项目pom.xml中添加依赖,但是jar无法引入项目
- Maven资源库pom文件引入依赖jar包的
- maven项目pom中添加依赖,但是jar无法引入项目
- maven项目pom中添加依赖,但是jar无法引入项目
- Idear 创建maven web项目后在pom.xml里面添加依赖,但项目里没有jar包
- maven项目pom中添加依赖,但是jar无法引入项目
- maven 构建可执行 jar ,并引入所需所有依赖 jar
- Maven将pom依赖的jar全部导出
- 将maven工程依赖的 jar抽取出来
- 在eclipse中引入maven web项目,jar包没有发布到tomcat的lib目录下的解决办法
- maven中引入tika-app-xx.jar依赖,使用jetty运行报错解决方法
- maven 本地jar包 引入 pom
- Maven多工程依赖在Eclipse中发布到Server被依赖工程没有生成jar的问题
- maven中pom.xml引入jar包小结
- Maven pom.xml文件引入jar包出现 missing artifact问题解决办法
- tomcat没有发布maven项目依赖的本地jar包