ITKeyword,专注技术干货聚合推荐

注册 | 登录

查lib下的jar来自哪个maven依赖(通过用于解决jar版本冲突)

rocklee 分享于 2016-06-16

推荐:Maven的Pom文件中的隐式依赖导致Jar包冲突的问题

在一次的maven项目中遇到这样一个bug:     编译器没有报什么错,但无法编译,或者能编译,项目启动不了。后来我才发现是以下的问题:     项目中的pom文件中,

2019阿里云全部产品优惠券(新购或升级都可以使用,强烈推荐)
领取地址https://promotion.aliyun.com/ntms/yunparter/invite.html

   选中项目,右键->run as ,选择maven build ...,然后在对话框中的Goals项填入" dependency:tree",再在"debug output"打上勾,并将此项启动的名字改为"showDependency-tree",然后点击“Debug"/Run按钮, console里面会很详细地显示每个pom里面配置的依赖它们会带来哪些jar文件。

推荐:Eclipse+Maven快速生成Web项目,解决部署时Maven lib依赖问题

Eclipse+Maven快速生成Web项目,解决部署时Maven lib依赖问题 用Maven开发做了很久了,用Eclipse做开发就更久了。自打用Eclipse开发Web项目,就一直用着Eclipse

Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T19:57:37+08:00)
Maven home: C:\myproject\workspace\gpchat\EMBEDDED
Java version: 1.8.0, vendor: Oracle Corporation
Java home: C:\jdk1.8.0\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "dos"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from EMBEDDED\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\dgmislrh\.m2\settings.xml
[DEBUG] Reading global toolchains from EMBEDDED\conf\toolchains.xml
[DEBUG] Reading user toolchains from C:\Users\dgmislrh\.m2\toolchains.xml
[DEBUG] Using local repository at C:\Users\dgmislrh\.m2\repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\dgmislrh\.m2\repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.freestyle.gpchat:gpchat:war:0.0.1-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging war from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix dependency from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix dependency to org.apache.maven.plugins:maven-dependency-plugin from POM com.freestyle.gpchat:gpchat:war:0.0.1-SNAPSHOT
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.freestyle.gpchat:gpchat:war:0.0.1-SNAPSHOT
[DEBUG] Tasks:   [dependency:tree]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building gpchat Maven Webapp 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Resolving plugin prefix dependency from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix dependency to org.apache.maven.plugins:maven-dependency-plugin from POM com.freestyle.gpchat:gpchat:war:0.0.1-SNAPSHOT
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       com.freestyle.gpchat:gpchat:0.0.1-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [test]
[DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-dependency-plugin:2.8:tree (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <appendOutput default-value="false">${appendOutput}</appendOutput>
  <excludes>${excludes}</excludes>
  <includes>${includes}</includes>
  <localRepository default-value="${localRepository}"/>
  <output>${output}</output>
  <outputFile>${outputFile}</outputFile>
  <outputType default-value="text">${outputType}</outputType>
  <scope>${scope}</scope>
  <skip default-value="false">${skip}</skip>
  <tokens default-value="standard">${tokens}</tokens>
  <verbose default-value="false">${verbose}</verbose>
  <project default-value="${project}"/>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Could not find metadata commons-logging:commons-logging/maven-metadata.xml in local (C:\Users\dgmislrh\.m2\repository)
[DEBUG] Skipped remote request for commons-logging:commons-logging/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata avalon-framework:avalon-framework-api/maven-metadata.xml in local (C:\Users\dgmislrh\.m2\repository)
[DEBUG] Skipped remote request for avalon-framework:avalon-framework-api/maven-metadata.xml, locally cached metadata up-to-date.
[WARNING] The POM for avalon-framework:avalon-framework-api:jar:4.1.5-dev is missing, no dependency information available
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=154, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=67, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=0, ConflictResolver.conflictItemCount=122, DefaultDependencyCollector.collectTime=376, DefaultDependencyCollector.transformTime=16}
[DEBUG] com.freestyle.gpchat:gpchat:war:0.0.1-SNAPSHOT
[DEBUG]    javax.servlet:jstl:jar:1.2:compile
[DEBUG]    junit:junit:jar:3.8.1:test
[DEBUG]    org.springframework:spring-core:jar:4.2.0.RELEASE:compile
[DEBUG]    org.springframework:spring-web:jar:4.2.0.RELEASE:compile
[DEBUG]       org.springframework:spring-aop:jar:4.2.0.RELEASE:compile
[DEBUG]          aopalliance:aopalliance:jar:1.0:compile
[DEBUG]       org.springframework:spring-beans:jar:4.2.0.RELEASE:compile
[DEBUG]       org.springframework:spring-context:jar:4.2.0.RELEASE:compile
[DEBUG]    org.springframework:spring-webmvc:jar:4.2.0.RELEASE:compile
[DEBUG]       org.springframework:spring-expression:jar:4.2.0.RELEASE:compile
[DEBUG]    org.springframework:spring-jdbc:jar:4.2.0.RELEASE:compile
[DEBUG]       org.springframework:spring-tx:jar:4.2.0.RELEASE:compile
[DEBUG]    org.springframework:spring-orm:jar:4.2.0.RELEASE:compile
[DEBUG]    org.aspectj:aspectjrt:jar:1.8.7:compile
[DEBUG]    org.aspectj:aspectjweaver:jar:1.8.9:compile
[DEBUG]    org.apache.struts:struts2-core:jar:2.3.28.1:compile
[DEBUG]       org.apache.struts.xwork:xwork-core:jar:2.3.28.1:compile
[DEBUG]          asm:asm:jar:3.3:compile
[DEBUG]          asm:asm-commons:jar:3.3:compile
[DEBUG]             asm:asm-tree:jar:3.3:compile
[DEBUG]       org.freemarker:freemarker:jar:2.3.22:compile
[DEBUG]       ognl:ognl:jar:3.0.14:compile
[DEBUG]          javassist:javassist:jar:3.11.0.GA:compile
[DEBUG]       commons-io:commons-io:jar:2.2:compile
[DEBUG]    org.apache.struts:struts2-spring-plugin:jar:2.3.28.1:compile
[DEBUG]    org.apache.struts:struts2-convention-plugin:jar:2.3.28.1:compile
[DEBUG]    org.hibernate:hibernate-core:jar:4.3.5.Final:compile
[DEBUG]       org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile
[DEBUG]       org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
[DEBUG]       org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
[DEBUG]       dom4j:dom4j:jar:1.6.1:compile
[DEBUG]          xml-apis:xml-apis:jar:1.0.b2:compile
[DEBUG]       org.hibernate.common:hibernate-commons-annotations:jar:4.0.4.Final:compile
[DEBUG]       org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[DEBUG]       antlr:antlr:jar:2.7.7:compile
[DEBUG]       org.jboss:jandex:jar:1.1.0.Final:compile
[DEBUG]    org.hibernate:hibernate-entitymanager:jar:4.3.11.Final:compile
[DEBUG]    org.postgresql:postgresql:jar:9.4.1208:compile
[DEBUG]    commons-fileupload:commons-fileupload:jar:1.3.1:compile
[DEBUG]    com.cloudhopper.proxool:proxool:jar:0.9.1:compile
[DEBUG]       com.cloudhopper.proxool:proxool-cglib:jar:0.9.1:compile
[DEBUG]       avalon-framework:avalon-framework-api:jar:4.3:compile
[DEBUG]          avalon-logkit:avalon-logkit:jar:2.1:compile
[DEBUG]             javax.servlet:servlet-api:jar:2.3:compile
[DEBUG]             geronimo-spec:geronimo-spec-javamail:jar:1.3.1-rc3:compile
[DEBUG]             geronimo-spec:geronimo-spec-jms:jar:1.1-rc4:compile
[DEBUG]    org.apache.httpcomponents:httpcore:jar:4.3.2:compile
[DEBUG]    org.apache.httpcomponents:httpmime:jar:4.3.2:compile
[DEBUG]       org.apache.httpcomponents:httpclient:jar:4.3.2:compile
[DEBUG]          commons-codec:commons-codec:jar:1.6:compile
[DEBUG]    com.fasterxml.jackson.core:jackson-databind:jar:2.6.3:compile
[DEBUG]    com.fasterxml.jackson.core:jackson-core:jar:2.6.3:compile
[DEBUG]    com.fasterxml.jackson.core:jackson-annotations:jar:2.6.3:compile
[DEBUG]    log4j:log4j:jar:1.2.17:compile
[DEBUG]    javax.mail:mail:jar:1.4.7:compile
[DEBUG]       javax.activation:activation:jar:1.1:compile
[DEBUG]    commons-logging:commons-logging:jar:1.1.1:compile
[DEBUG]    com.belerweb:pinyin4j:jar:2.5.0:compile
[DEBUG]    com.google.zxing:core:jar:3.2.0:compile
[DEBUG]    org.apache.commons:commons-lang3:jar:3.0:compile
[DEBUG]    commons-beanutils:commons-beanutils:jar:1.9.2:compile
[DEBUG]       commons-collections:commons-collections:jar:3.2.1:compile
[DEBUG]    cglib:cglib:jar:3.1:compile
[DEBUG]       org.ow2.asm:asm:jar:4.2:compile
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ gpchat ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=297, ConflictIdSorter.graphTime=15, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=63, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=0, ConflictResolver.conflictItemCount=167, DefaultDependencyCollector.collectTime=406, DefaultDependencyCollector.transformTime=15}
[DEBUG] org.apache.maven.plugins:maven-dependency-plugin:jar:2.8:
[DEBUG]    org.apache.maven:maven-artifact:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-model:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.9:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.0.9:compile
[DEBUG]       commons-cli:commons-cli:jar:1.0:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.0.9:compile
[DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-artifact-manager:jar:2.0.9:compile
[DEBUG]    org.apache.maven:maven-repository-metadata:jar:2.0.9:compile
[DEBUG]    org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile
[DEBUG]    org.apache.maven.reporting:maven-reporting-impl:jar:2.0.5:compile
[DEBUG]       org.apache.maven.doxia:doxia-core:jar:1.0:compile
[DEBUG]       org.apache.maven.shared:maven-doxia-tools:jar:1.0.2:compile
[DEBUG]          commons-io:commons-io:jar:1.4:compile
[DEBUG]       commons-validator:commons-validator:jar:1.2.0:compile
[DEBUG]          commons-beanutils:commons-beanutils:jar:1.7.0:compile
[DEBUG]          commons-digester:commons-digester:jar:1.6:compile
[DEBUG]          commons-logging:commons-logging:jar:1.0.4:compile
[DEBUG]          oro:oro:jar:2.0.8:compile
[DEBUG]          xml-apis:xml-apis:jar:1.0.b2:compile
[DEBUG]    org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile
[DEBUG]    org.apache.maven.doxia:doxia-site-renderer:jar:1.0:compile
[DEBUG]       org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile
[DEBUG]       org.codehaus.plexus:plexus-velocity:jar:1.1.7:compile
[DEBUG]       org.apache.velocity:velocity:jar:1.5:compile
[DEBUG]       org.apache.maven.doxia:doxia-decoration-model:jar:1.0:compile
[DEBUG]       org.apache.maven.doxia:doxia-module-apt:jar:1.0:compile
[DEBUG]       org.apache.maven.doxia:doxia-module-fml:jar:1.0:compile
[DEBUG]       org.apache.maven.doxia:doxia-module-xdoc:jar:1.0:compile
[DEBUG]       org.apache.maven.doxia:doxia-module-xhtml:jar:1.0:compile
[DEBUG]    org.codehaus.plexus:plexus-archiver:jar:2.3:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.9:compile
[DEBUG]    org.apache.maven.shared:file-management:jar:1.2.1:compile
[DEBUG]       org.apache.maven.shared:maven-shared-io:jar:1.1:compile
[DEBUG]          org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile
[DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]       junit:junit:jar:3.8.1:compile
[DEBUG]    org.codehaus.plexus:plexus-io:jar:2.0.6:compile
[DEBUG]    org.apache.maven.shared:maven-dependency-analyzer:jar:1.4:compile
[DEBUG]       asm:asm:jar:3.3.1:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG]    org.apache.maven.shared:maven-dependency-tree:jar:2.1:compile
[DEBUG]       org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
[DEBUG]    org.apache.maven.shared:maven-common-artifact-filters:jar:1.4:compile
[DEBUG]    org.apache.maven.shared:maven-invoker:jar:2.0.11:compile
[DEBUG]    commons-lang:commons-lang:jar:2.6:compile
[DEBUG]    commons-collections:commons-collections:jar:3.2.1:compile
[DEBUG]    classworlds:classworlds:jar:1.1:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-dependency-plugin:2.8
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-dependency-plugin:2.8
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-dependency-plugin:2.8
[DEBUG]   Included: org.apache.maven.plugins:maven-dependency-plugin:jar:2.8
[DEBUG]   Included: commons-cli:commons-cli:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-impl:jar:2.0.5
[DEBUG]   Included: org.apache.maven.doxia:doxia-core:jar:1.0
[DEBUG]   Included: org.apache.maven.shared:maven-doxia-tools:jar:1.0.2
[DEBUG]   Included: commons-io:commons-io:jar:1.4
[DEBUG]   Included: commons-validator:commons-validator:jar:1.2.0
[DEBUG]   Included: commons-beanutils:commons-beanutils:jar:1.7.0
[DEBUG]   Included: commons-digester:commons-digester:jar:1.6
[DEBUG]   Included: commons-logging:commons-logging:jar:1.0.4
[DEBUG]   Included: oro:oro:jar:2.0.8
[DEBUG]   Included: xml-apis:xml-apis:jar:1.0.b2
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0
[DEBUG]   Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7
[DEBUG]   Included: org.codehaus.plexus:plexus-velocity:jar:1.1.7
[DEBUG]   Included: org.apache.velocity:velocity:jar:1.5
[DEBUG]   Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.0
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-apt:jar:1.0
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-fml:jar:1.0
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-xdoc:jar:1.0
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:2.3
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.9
[DEBUG]   Included: org.apache.maven.shared:file-management:jar:1.2.1
[DEBUG]   Included: org.apache.maven.shared:maven-shared-io:jar:1.1
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:2.0.6
[DEBUG]   Included: org.apache.maven.shared:maven-dependency-analyzer:jar:1.4
[DEBUG]   Included: asm:asm:jar:3.3.1
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG]   Included: org.apache.maven.shared:maven-dependency-tree:jar:2.1
[DEBUG]   Included: org.eclipse.aether:aether-util:jar:0.9.0.M2
[DEBUG]   Included: org.apache.maven.shared:maven-common-artifact-filters:jar:1.4
[DEBUG]   Included: org.apache.maven.shared:maven-invoker:jar:2.0.11
[DEBUG]   Included: commons-lang:commons-lang:jar:2.6
[DEBUG]   Included: commons-collections:commons-collections:jar:3.2.1
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-dependency-plugin:2.8:tree from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-dependency-plugin:2.8, parent: sun.misc.Launcher$AppClassLoader@58644d46]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-dependency-plugin:2.8:tree' with basic configurator -->
[DEBUG]   (f) appendOutput = false
[DEBUG]   (f) localRepository =       id: local
      url: file:///C:/Users/dgmislrh/.m2/repository/
   layout: default
snapshots: [enabled => true, update => always]
 releases: [enabled => true, update => always]

[DEBUG]   (f) outputType = text
[DEBUG]   (s) skip = false
[DEBUG]   (f) tokens = standard
[DEBUG]   (f) verbose = false
[DEBUG]   (f) project = MavenProject: com.freestyle.gpchat:gpchat:0.0.1-SNAPSHOT @ C:\myproject\workspace\gpchat\pom.xml
[DEBUG] -- end configuration --
[DEBUG] building maven31 dependency graph for com.freestyle.gpchat:gpchat:war:0.0.1-SNAPSHOT
[DEBUG] Could not find metadata commons-logging:commons-logging/maven-metadata.xml in local (C:\Users\dgmislrh\.m2\repository)
[DEBUG] Skipped remote request for commons-logging:commons-logging/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Could not find metadata avalon-framework:avalon-framework-api/maven-metadata.xml in local (C:\Users\dgmislrh\.m2\repository)
[DEBUG] Skipped remote request for avalon-framework:avalon-framework-api/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=154, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=67, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=0, ConflictResolver.conflictItemCount=122, DefaultDependencyCollector.collectTime=16, DefaultDependencyCollector.transformTime=0}
[DEBUG] com.freestyle.gpchat:gpchat:war:0.0.1-SNAPSHOT
[DEBUG]    javax.servlet:jstl:jar:1.2:compile
[DEBUG]    junit:junit:jar:3.8.1:test
[DEBUG]    org.springframework:spring-core:jar:4.2.0.RELEASE:compile
[DEBUG]    org.springframework:spring-web:jar:4.2.0.RELEASE:compile
[DEBUG]       org.springframework:spring-aop:jar:4.2.0.RELEASE:compile
[DEBUG]          aopalliance:aopalliance:jar:1.0:compile
[DEBUG]       org.springframework:spring-beans:jar:4.2.0.RELEASE:compile
[DEBUG]       org.springframework:spring-context:jar:4.2.0.RELEASE:compile
[DEBUG]    org.springframework:spring-webmvc:jar:4.2.0.RELEASE:compile
[DEBUG]       org.springframework:spring-expression:jar:4.2.0.RELEASE:compile
[DEBUG]    org.springframework:spring-jdbc:jar:4.2.0.RELEASE:compile
[DEBUG]       org.springframework:spring-tx:jar:4.2.0.RELEASE:compile
[DEBUG]    org.springframework:spring-orm:jar:4.2.0.RELEASE:compile
[DEBUG]    org.aspectj:aspectjrt:jar:1.8.7:compile
[DEBUG]    org.aspectj:aspectjweaver:jar:1.8.9:compile
[DEBUG]    org.apache.struts:struts2-core:jar:2.3.28.1:compile
[DEBUG]       org.apache.struts.xwork:xwork-core:jar:2.3.28.1:compile
[DEBUG]          asm:asm:jar:3.3:compile
[DEBUG]          asm:asm-commons:jar:3.3:compile
[DEBUG]             asm:asm-tree:jar:3.3:compile
[DEBUG]       org.freemarker:freemarker:jar:2.3.22:compile
[DEBUG]       ognl:ognl:jar:3.0.14:compile
[DEBUG]          javassist:javassist:jar:3.11.0.GA:compile
[DEBUG]       commons-io:commons-io:jar:2.2:compile
[DEBUG]    org.apache.struts:struts2-spring-plugin:jar:2.3.28.1:compile
[DEBUG]    org.apache.struts:struts2-convention-plugin:jar:2.3.28.1:compile
[DEBUG]    org.hibernate:hibernate-core:jar:4.3.5.Final:compile
[DEBUG]       org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile
[DEBUG]       org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
[DEBUG]       org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
[DEBUG]       dom4j:dom4j:jar:1.6.1:compile
[DEBUG]          xml-apis:xml-apis:jar:1.0.b2:compile
[DEBUG]       org.hibernate.common:hibernate-commons-annotations:jar:4.0.4.Final:compile
[DEBUG]       org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[DEBUG]       antlr:antlr:jar:2.7.7:compile
[DEBUG]       org.jboss:jandex:jar:1.1.0.Final:compile
[DEBUG]    org.hibernate:hibernate-entitymanager:jar:4.3.11.Final:compile
[DEBUG]    org.postgresql:postgresql:jar:9.4.1208:compile
[DEBUG]    commons-fileupload:commons-fileupload:jar:1.3.1:compile
[DEBUG]    com.cloudhopper.proxool:proxool:jar:0.9.1:compile
[DEBUG]       com.cloudhopper.proxool:proxool-cglib:jar:0.9.1:compile
[DEBUG]       avalon-framework:avalon-framework-api:jar:4.3:compile
[DEBUG]          avalon-logkit:avalon-logkit:jar:2.1:compile
[DEBUG]             javax.servlet:servlet-api:jar:2.3:compile
[DEBUG]             geronimo-spec:geronimo-spec-javamail:jar:1.3.1-rc3:compile
[DEBUG]             geronimo-spec:geronimo-spec-jms:jar:1.1-rc4:compile
[DEBUG]    org.apache.httpcomponents:httpcore:jar:4.3.2:compile
[DEBUG]    org.apache.httpcomponents:httpmime:jar:4.3.2:compile
[DEBUG]       org.apache.httpcomponents:httpclient:jar:4.3.2:compile
[DEBUG]          commons-codec:commons-codec:jar:1.6:compile
[DEBUG]    com.fasterxml.jackson.core:jackson-databind:jar:2.6.3:compile
[DEBUG]    com.fasterxml.jackson.core:jackson-core:jar:2.6.3:compile
[DEBUG]    com.fasterxml.jackson.core:jackson-annotations:jar:2.6.3:compile
[DEBUG]    log4j:log4j:jar:1.2.17:compile
[DEBUG]    javax.mail:mail:jar:1.4.7:compile
[DEBUG]       javax.activation:activation:jar:1.1:compile
[DEBUG]    commons-logging:commons-logging:jar:1.1.1:compile
[DEBUG]    com.belerweb:pinyin4j:jar:2.5.0:compile
[DEBUG]    com.google.zxing:core:jar:3.2.0:compile
[DEBUG]    org.apache.commons:commons-lang3:jar:3.0:compile
[DEBUG]    commons-beanutils:commons-beanutils:jar:1.9.2:compile
[DEBUG]       commons-collections:commons-collections:jar:3.2.1:compile
[DEBUG]    cglib:cglib:jar:3.1:compile
[DEBUG]       org.ow2.asm:asm:jar:4.2:compile
[INFO] com.freestyle.gpchat:gpchat:war:0.0.1-SNAPSHOT
[INFO] +- javax.servlet:jstl:jar:1.2:compile
[INFO] +- junit:junit:jar:3.8.1:test
[INFO] +- org.springframework:spring-core:jar:4.2.0.RELEASE:compile
[INFO] +- org.springframework:spring-web:jar:4.2.0.RELEASE:compile
[INFO] |  +- org.springframework:spring-aop:jar:4.2.0.RELEASE:compile
[INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  +- org.springframework:spring-beans:jar:4.2.0.RELEASE:compile
[INFO] |  \- org.springframework:spring-context:jar:4.2.0.RELEASE:compile
[INFO] +- org.springframework:spring-webmvc:jar:4.2.0.RELEASE:compile
[INFO] |  \- org.springframework:spring-expression:jar:4.2.0.RELEASE:compile
[INFO] +- org.springframework:spring-jdbc:jar:4.2.0.RELEASE:compile
[INFO] |  \- org.springframework:spring-tx:jar:4.2.0.RELEASE:compile
[INFO] +- org.springframework:spring-orm:jar:4.2.0.RELEASE:compile
[INFO] +- org.aspectj:aspectjrt:jar:1.8.7:compile
[INFO] +- org.aspectj:aspectjweaver:jar:1.8.9:compile
[INFO] +- org.apache.struts:struts2-core:jar:2.3.28.1:compile
[INFO] |  +- org.apache.struts.xwork:xwork-core:jar:2.3.28.1:compile
[INFO] |  |  +- asm:asm:jar:3.3:compile
[INFO] |  |  \- asm:asm-commons:jar:3.3:compile
[INFO] |  |     \- asm:asm-tree:jar:3.3:compile
[INFO] |  +- org.freemarker:freemarker:jar:2.3.22:compile
[INFO] |  +- ognl:ognl:jar:3.0.14:compile
[INFO] |  |  \- javassist:javassist:jar:3.11.0.GA:compile
[INFO] |  \- commons-io:commons-io:jar:2.2:compile
[INFO] +- org.apache.struts:struts2-spring-plugin:jar:2.3.28.1:compile
[INFO] +- org.apache.struts:struts2-convention-plugin:jar:2.3.28.1:compile
[INFO] +- org.hibernate:hibernate-core:jar:4.3.5.Final:compile
[INFO] |  +- org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile
[INFO] |  +- org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
[INFO] |  +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
[INFO] |  +- dom4j:dom4j:jar:1.6.1:compile
[INFO] |  |  \- xml-apis:xml-apis:jar:1.0.b2:compile
[INFO] |  +- org.hibernate.common:hibernate-commons-annotations:jar:4.0.4.Final:compile
[INFO] |  +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[INFO] |  +- antlr:antlr:jar:2.7.7:compile
[INFO] |  \- org.jboss:jandex:jar:1.1.0.Final:compile
[INFO] +- org.hibernate:hibernate-entitymanager:jar:4.3.11.Final:compile
[INFO] +- org.postgresql:postgresql:jar:9.4.1208:compile
[INFO] +- commons-fileupload:commons-fileupload:jar:1.3.1:compile
[INFO] +- com.cloudhopper.proxool:proxool:jar:0.9.1:compile
[INFO] |  +- com.cloudhopper.proxool:proxool-cglib:jar:0.9.1:compile
[INFO] |  \- avalon-framework:avalon-framework-api:jar:4.3:compile (version selected from constraint [4.1.5,))
[INFO] |     \- avalon-logkit:avalon-logkit:jar:2.1:compile
[INFO] |        +- javax.servlet:servlet-api:jar:2.3:compile
[INFO] |        +- geronimo-spec:geronimo-spec-javamail:jar:1.3.1-rc3:compile
[INFO] |        \- geronimo-spec:geronimo-spec-jms:jar:1.1-rc4:compile
[INFO] +- org.apache.httpcomponents:httpcore:jar:4.3.2:compile
[INFO] +- org.apache.httpcomponents:httpmime:jar:4.3.2:compile
[INFO] |  \- org.apache.httpcomponents:httpclient:jar:4.3.2:compile
[INFO] |     \- commons-codec:commons-codec:jar:1.6:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.6.3:compile
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.6.3:compile
[INFO] +- com.fasterxml.jackson.core:jackson-annotations:jar:2.6.3:compile
[INFO] +- log4j:log4j:jar:1.2.17:compile
[INFO] +- javax.mail:mail:jar:1.4.7:compile
[INFO] |  \- javax.activation:activation:jar:1.1:compile
[INFO] +- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- com.belerweb:pinyin4j:jar:2.5.0:compile
[INFO] +- com.google.zxing:core:jar:3.2.0:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.0:compile
[INFO] +- commons-beanutils:commons-beanutils:jar:1.9.2:compile
[INFO] |  \- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] \- cglib:cglib:jar:3.1:compile
[INFO]    \- org.ow2.asm:asm:jar:4.2:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.591 s
[INFO] Finished at: 2016-06-16T14:12:19+08:00
[INFO] Final Memory: 14M/175M
[INFO] ------------------------------------------------------------------------


推荐:maven管理Java web项目WEB-INF/lib中jar包不能被引入的问题解决

1.新导入的maven管理达到Java web项目,发现WEB-INF/lib中的jar包不能被导入。如下图: 2.选中项目右键–属性–Java build path 找Libraries选项中, 点击右边的

   选中项目,右键->run as ,选择maven build ...,然后在对话框中的Goals项填入" dependency:tree",再在"debug output"打上勾,并将此项启动的名字改为"showDependency-tree",然后点击“Debug

相关阅读排行


用户评论

游客

相关内容推荐

最新文章

×

×

请激活账号

为了能正常使用评论、编辑功能及以后陆续为用户提供的其他产品,请激活账号。

您的注册邮箱: 修改

重新发送激活邮件 进入我的邮箱

如果您没有收到激活邮件,请注意检查垃圾箱。