使用下面的MVN pom文件,我执行'mvn eclipse:clean eclipse:eclipse'。我得到了一个Eclipse项目,该项目配置了我在“库”中的本地仓库的所有依赖项 - 除了Apache Mina。为什么Mina在图书馆中缺失,如何将其与其他图书一起添加? mvn没有报告任何错误。
<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>org.blah.tab</groupId>
<artifactId>TAB</artifactId>
<version>0.1</version>
<packaging>jar</packaging>
<name>TAB</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.12</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.mina</groupId>
<artifactId>mina-core</artifactId>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>3.0.5.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>3.0.5.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>3.0.5.RELEASE</version>
</dependency>
</dependencies>
其他信息: Apache Maven 3.0.3(r1075438; 2011-02-28 12:31:09-0500) Maven主页:/ usr / share / maven Java版本:1.6.0_26,供应商:Apple Inc. Java home:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home 默认语言环境:en_US,平台编码:MacRoman 操作系统名称:“mac os x”,版本:“10.6.7”,arch:“x86_64”,系列:“mac”
答案 0 :(得分:1)
尝试使用-X选项以获得更多调试