平时项目大多用到的是war包,今天实现了一个简单功能,无需部署到web服务器上,只需本地跑java代码即可,因此只要生成一个jar包。那么怎么让maven项目打成一个可以使用java命令跑的jar包呢?这里通过maven插件实现:

  首先修改pom.xml文件,这里需要新增build节点,在build里加入plugins节点:一个用来

<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.inspur.chinanet</groupId>
<artifactId>point-circle</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging> <name>point-circle</name>
<url>http://maven.apache.org</url> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties> <dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>4.3.12.RELEASE</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>com.vividsolutions</groupId>
<artifactId>jts</artifactId>
<version>1.8</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.2.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>com.inspur.chinanet.point.App</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>
${project.build.directory}/lib
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

  上面的pom文件里有两个plugin,第一个是在jar包中的META-INF/MANIFEST.MF中指定Main-Class,指定lib库的jar包依赖classpath;第二个是把依赖到的lib库jar包都复制到配置的classpathPrefix目录下,这一步不做的话运行打出来的jar包会报错,因为相关依赖的jar包虽然配置了classpath但其实该classpath下并没有真实的jar包存在。addClasspath为true说明需要在MANIFEST.MF加上classpath并配置依赖包,classpathPrefix指定依赖包所在的目录,mainClass指定MANIFEST.MF中的Main-Class。${project.build.directory}这变量是maven内置的,系统会自动寻找,其实就编译class的目录target,这里配置的${project.build.directory}/lib,在我本机就是E:\workspace\point-circle\target\lib。每次修改完pom配置文件之后,记得在Eclipse右击项目,点击Update Project让修改生效。

  执行maven打包命令:

E:\workspace\point-circle>mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building point-circle 0.0.-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ point-circle ---
[INFO] Deleting E:\workspace\point-circle\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ point-circle ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\workspace\point-circle\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ point-circle ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling source files to E:\workspace\point-circle\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ point-circle ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\workspace\point-circle\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ point-circle ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling source file to E:\workspace\point-circle\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.:test (default-test) @ point-circle ---
[INFO] Surefire report directory: E:\workspace\point-circle\target\surefire-reports -------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.inspur.chinanet.point.AppTest
Tests run: , Failures: , Errors: , Skipped: , Time elapsed: 0.063 sec Results : Tests run: , Failures: , Errors: , Skipped: [INFO]
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ point-circle ---
[INFO] Building jar: E:\workspace\point-circle\target\point-circle-0.0.-SNAPSHOT.jar
[INFO]
[INFO] --- maven-dependency-plugin:2.8:copy-dependencies (copy) @ point-circle ---
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.pom (2 KB at 4.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia/1.0-alpha-10/doxia-1.0-alpha-10.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia/1.0-alpha-10/doxia-1.0-alpha-10.pom (9 KB at 48.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-parent/6/maven-parent-6.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-parent/6/maven-parent-6.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.pom (2 KB at 10.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia/1.0/doxia-1.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia/1.0/doxia-1.0.pom (10 KB at 224.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-parent/10/maven-parent-10.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-parent/10/maven-parent-10.pom (31 KB at 475.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/reporting/maven-reporting-impl/2.0.5/maven-reporting-impl-2.0.5.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/reporting/maven-reporting-impl/2.0.5/maven-reporting-impl-2.0.5.pom (5 KB at 75.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.pom (3 KB at 32.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.pom (8 KB at 121.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.pom (5 KB at 69.7 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-sitetools/1.0/doxia-sitetools-1.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-sitetools/1.0/doxia-sitetools-1.0.pom (10 KB at 170.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.pom (2 KB at 9.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-components/1.1.12/plexus-components-1.1.12.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-components/1.1.12/plexus-components-1.1.12.pom (3 KB at 81.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.pom (2 KB at 17.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-container-default/1.0-alpha-20/plexus-container-default-1.0-alpha-20.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-container-default/1.0-alpha-20/plexus-container-default-1.0-alpha-20.pom (3 KB at 53.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-containers/1.0-alpha-20/plexus-containers-1.0-alpha-20.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-containers/1.0-alpha-20/plexus-containers-1.0-alpha-20.pom (2 KB at 16.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/1.3/plexus-utils-1.3.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/1.3/plexus-utils-1.3.pom (2 KB at 7.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.pom (3 KB at 32.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.pom (8 KB at 96.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/velocity/velocity/1.5/velocity-1.5.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/velocity/velocity/1.5/velocity-1.5.pom (8 KB at 113.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-collections/commons-collections/3.1/commons-collections-3.1.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-collections/commons-collections/3.1/commons-collections-3.1.pom (6 KB at 102.4 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.pom (4 KB at 38.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.pom (3 KB at 16.4 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-modules/1.0/doxia-modules-1.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-modules/1.0/doxia-modules-1.0.pom (3 KB at 30.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.pom (3 KB at 31.7 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.pom (3 KB at 22.8 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.pom (2 KB at 15.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-doxia-tools/1.0.2/maven-doxia-tools-1.0.2.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-doxia-tools/1.0.2/maven-doxia-tools-1.0.2.pom (6 KB at 114.6 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-components/11/maven-shared-components-11.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-components/11/maven-shared-components-11.pom (9 KB at 148.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-io/commons-io/1.4/commons-io-1.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-io/commons-io/1.4/commons-io-1.4.pom (13 KB at 313.6 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/commons/commons-parent/7/commons-parent-7.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/commons/commons-parent/7/commons-parent-7.pom (18 KB at 159.7 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.pom (9 KB at 88.7 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.pom (346 B at 9.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-archiver/2.3/plexus-archiver-2.3.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-archiver/2.3/plexus-archiver-2.3.pom (4 KB at 78.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-io/2.0.6/plexus-io-2.0.6.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-io/2.0.6/plexus-io-2.0.6.pom (3 KB at 18.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/3.0.9/plexus-utils-3.0.9.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/3.0.9/plexus-utils-3.0.9.pom (4 KB at 44.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.pom (4 KB at 66.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom (4 KB at 82.6 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-components/8/maven-shared-components-8.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-components/8/maven-shared-components-8.pom (3 KB at 39.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-parent/7/maven-parent-7.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-parent/7/maven-parent-7.pom (21 KB at 345.8 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact/2.0.2/maven-artifact-2.0.2.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact/2.0.2/maven-artifact-2.0.2.pom (765 B at 10.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven/2.0.2/maven-2.0.2.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven/2.0.2/maven-2.0.2.pom (13 KB at 194.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact-manager/2.0.2/maven-artifact-manager-2.0.2.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact-manager/2.0.2/maven-artifact-manager-2.0.2.pom (2 KB at 10.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-repository-metadata/2.0.2/maven-repository-metadata-2.0.2.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-repository-metadata/2.0.2/maven-repository-metadata-2.0.2.pom (2 KB at 8.7 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.pom (588 B at 7.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom (7 KB at 80.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom (3 KB at 19.7 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-dependency-analyzer/1.4/maven-dependency-analyzer-1.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-dependency-analyzer/1.4/maven-dependency-analyzer-1.4.pom (6 KB at 89.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/asm/asm/3.3.1/asm-3.3.1.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/asm/asm/3.3.1/asm-3.3.1.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/asm/asm-parent/3.3.1/asm-parent-3.3.1.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/asm/asm-parent/3.3.1/asm-parent-3.3.1.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-project/2.0.5/maven-project-2.0.5.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-project/2.0.5/maven-project-2.0.5.pom (2 KB at 15.8 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven/2.0.5/maven-2.0.5.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven/2.0.5/maven-2.0.5.pom (6 KB at 66.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-settings/2.0.5/maven-settings-2.0.5.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-settings/2.0.5/maven-settings-2.0.5.pom (2 KB at 12.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-model/2.0.5/maven-model-2.0.5.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-model/2.0.5/maven-model-2.0.5.pom (3 KB at 35.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-profile/2.0.5/maven-profile-2.0.5.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-profile/2.0.5/maven-profile-2.0.5.pom (2 KB at 12.6 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact-manager/2.0.5/maven-artifact-manager-2.0.5.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact-manager/2.0.5/maven-artifact-manager-2.0.5.pom (2 KB at 18.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-repository-metadata/2.0.5/maven-repository-metadata-2.0.5.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-repository-metadata/2.0.5/maven-repository-metadata-2.0.5.pom (2 KB at 12.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact/2.0.5/maven-artifact-2.0.5.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact/2.0.5/maven-artifact-2.0.5.pom (727 B at 9.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-project/2.2.0/maven-project-2.2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-project/2.2.0/maven-project-2.2.0.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven/2.2.0/maven-2.2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven/2.2.0/maven-2.2.0.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-settings/2.2.0/maven-settings-2.2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-settings/2.2.0/maven-settings-2.2.0.pom (3 KB at 14.8 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-model/2.2.0/maven-model-2.2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-model/2.2.0/maven-model-2.2.0.pom (4 KB at 43.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-profile/2.2.0/maven-profile-2.2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-profile/2.2.0/maven-profile-2.2.0.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact-manager/2.2.0/maven-artifact-manager-2.2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact-manager/2.2.0/maven-artifact-manager-2.2.0.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-repository-metadata/2.2.0/maven-repository-metadata-2.2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-repository-metadata/2.2.0/maven-repository-metadata-2.2.0.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact/2.2.0/maven-artifact-2.2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact/2.2.0/maven-artifact-2.2.0.pom (2 KB at 11.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-registry/2.2.0/maven-plugin-registry-2.2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-registry/2.2.0/maven-plugin-registry-2.2.0.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.pom (2 KB at 14.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/eclipse/aether/aether/0.9.0.M2/aether-0.9.0.M2.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/eclipse/aether/aether/0.9.0.M2/aether-0.9.0.M2.pom (28 KB at 353.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact/2.0.8/maven-artifact-2.0.8.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact/2.0.8/maven-artifact-2.0.8.pom (2 KB at 15.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven/2.0.8/maven-2.0.8.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven/2.0.8/maven-2.0.8.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-model/2.0.8/maven-model-2.0.8.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-model/2.0.8/maven-model-2.0.8.pom (4 KB at 63.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-project/2.0.8/maven-project-2.0.8.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-project/2.0.8/maven-project-2.0.8.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-settings/2.0.8/maven-settings-2.0.8.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-settings/2.0.8/maven-settings-2.0.8.pom (3 KB at 22.8 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-profile/2.0.8/maven-profile-2.0.8.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-profile/2.0.8/maven-profile-2.0.8.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact-manager/2.0.8/maven-artifact-manager-2.0.8.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact-manager/2.0.8/maven-artifact-manager-2.0.8.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-repository-metadata/2.0.8/maven-repository-metadata-2.0.8.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-repository-metadata/2.0.8/maven-repository-metadata-2.0.8.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-registry/2.0.8/maven-plugin-registry-2.0.8.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-registry/2.0.8/maven-plugin-registry-2.0.8.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-api/2.0.8/maven-plugin-api-2.0.8.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-api/2.0.8/maven-plugin-api-2.0.8.pom (2 KB at 15.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11.pom (5 KB at 105.4 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/reporting/maven-reporting-impl/2.0.5/maven-reporting-impl-2.0.5.jar
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-io/commons-io/1.4/commons-io-1.4.jar
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-doxia-tools/1.0.2/maven-doxia-tools-1.0.2.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar (54 KB at 616.8 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/reporting/maven-reporting-impl/2.0.5/maven-reporting-impl-2.0.5.jar (21 KB at 99.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar (89 KB at 397.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar (38 KB at 137.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-io/commons-io/1.4/commons-io-1.4.jar (107 KB at 383.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/commons-digester/commons-digester/1.6/commons-digester-1.6.jar (165 KB at 514.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar (107 KB at 321.6 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar (10 KB at 25.7 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/velocity/velocity/1.5/velocity-1.5.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar (8 KB at 15.7 KB/sec)
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar (11 KB at 21.4 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-doxia-tools/1.0.2/maven-doxia-tools-1.0.2.jar (41 KB at 79.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/velocity/velocity/1.5/velocity-1.5.jar (383 KB at 647.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar (46 KB at 71.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar (19 KB at 25.8 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-archiver/2.3/plexus-archiver-2.3.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-archiver/2.3/plexus-archiver-2.3.jar (183 KB at 232.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/3.0.9/plexus-utils-3.0.9.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar (28 KB at 31.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/3.0.9/plexus-utils-3.0.9.jar (227 KB at 258.6 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar (22 KB at 23.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar (48 KB at 51.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-io/2.0.6/plexus-io-2.0.6.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-io/2.0.6/plexus-io-2.0.6.jar (57 KB at 56.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-dependency-analyzer/1.4/maven-dependency-analyzer-1.4.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar (46 KB at 41.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/asm/asm/3.3.1/asm-3.3.1.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/asm/asm/3.3.1/asm-3.3.1.jar (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.jar (37 KB at 31.7 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.jar (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar (131 KB at 106.8 KB/sec)
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-dependency-analyzer/1.4/maven-dependency-analyzer-1.4.jar (27 KB at 20.9 KB/sec)
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.jar (42 KB at 31.7 KB/sec)
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar (39 KB at 29.0 KB/sec)
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11.jar (29 KB at 20.3 KB/sec)
[INFO] Copying commons-dbcp-1.2..jar to E:\workspace\point-circle\target\lib\commons-dbcp-1.2..jar
[INFO] Copying spring-expression-4.3..RELEASE.jar to E:\workspace\point-circle\target\lib\spring-expression-4.3..RELEASE.jar
[INFO] Copying jts-1.8.jar to E:\workspace\point-circle\target\lib\jts-1.8.jar
[INFO] Copying commons-pool-1.3.jar to E:\workspace\point-circle\target\lib\commons-pool-1.3.jar
[INFO] Copying hamcrest-core-1.3.jar to E:\workspace\point-circle\target\lib\hamcrest-core-1.3.jar
[INFO] Copying spring-aop-4.3..RELEASE.jar to E:\workspace\point-circle\target\lib\spring-aop-4.3..RELEASE.jar
[INFO] Copying spring-web-4.3..RELEASE.jar to E:\workspace\point-circle\target\lib\spring-web-4.3..RELEASE.jar
[INFO] Copying junit-4.12.jar to E:\workspace\point-circle\target\lib\junit-4.12.jar
[INFO] Copying commons-logging-1.2.jar to E:\workspace\point-circle\target\lib\commons-logging-1.2.jar
[INFO] Copying spring-jdbc-4.3..RELEASE.jar to E:\workspace\point-circle\target\lib\spring-jdbc-4.3..RELEASE.jar
[INFO] Copying spring-webmvc-4.3..RELEASE.jar to E:\workspace\point-circle\target\lib\spring-webmvc-4.3..RELEASE.jar
[INFO] Copying spring-core-4.3..RELEASE.jar to E:\workspace\point-circle\target\lib\spring-core-4.3..RELEASE.jar
[INFO] Copying spring-context-4.3..RELEASE.jar to E:\workspace\point-circle\target\lib\spring-context-4.3..RELEASE.jar
[INFO] Copying ojdbc14-10.2.0.2..jar to E:\workspace\point-circle\target\lib\ojdbc14-10.2.0.2..jar
[INFO] Copying spring-beans-4.3..RELEASE.jar to E:\workspace\point-circle\target\lib\spring-beans-4.3..RELEASE.jar
[INFO] Copying spring-context-support-4.3..RELEASE.jar to E:\workspace\point-circle\target\lib\spring-context-support-4.3..RELEASE.jar
[INFO] Copying spring-tx-4.3..RELEASE.jar to E:\workspace\point-circle\target\lib\spring-tx-4.3..RELEASE.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ point-circle ---
[INFO] Installing E:\workspace\point-circle\target\point-circle-0.0.-SNAPSHOT.jar to E:\Users\wulf\.m2\repository\com\inspur\chinanet\point-circle\0.0.-SNAPSHOT\point-circle-0.0.-SNAPSHOT.jar
[INFO] Installing E:\workspace\point-circle\pom.xml to E:\Users\wulf\.m2\repository\com\inspur\chinanet\point-circle\0.0.-SNAPSHOT\point-circle-0.0.-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.180 s
[INFO] Finished at: --25T21::+:
[INFO] Final Memory: 23M/196M
[INFO] ------------------------------------------------------------------------

  看下我们打出来的jar包里的MANIFEST.MF目录和内容:point-circle-0.0.1-SNAPSHOT.jar\META-INF\MANIFEST.MF

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Built-By: wulf
Class-Path: lib/spring-core-4.3.12.RELEASE.jar lib/commons-logging-1.2
.jar lib/spring-context-support-4.3.12.RELEASE.jar lib/spring-beans-4
.3.12.RELEASE.jar lib/spring-context-4.3.12.RELEASE.jar lib/spring-ao
p-4.3.12.RELEASE.jar lib/spring-expression-4.3.12.RELEASE.jar lib/spr
ing-web-4.3.12.RELEASE.jar lib/spring-webmvc-4.3.12.RELEASE.jar lib/s
pring-jdbc-4.3.12.RELEASE.jar lib/spring-tx-4.3.12.RELEASE.jar lib/jt
s-1.8.jar lib/commons-dbcp-1.2.2.jar lib/commons-pool-1.3.jar lib/ojd
bc14-10.2.0.2.0.jar
Created-By: Apache Maven 3.3.9
Build-Jdk: 1.8.0_102
Main-Class: com.inspur.chinanet.point.App

  上面列出了classpath里所依赖到的jar包列表、主class。最后打开命令行界面执行jar包:

E:\>cd E:\workspace\point-circle\target

E:\workspace\point-circle\target>java -jar point-circle-0.0.-SNAPSHOT.jar
Exception in thread "main" java.lang.NullPointerException
at com.inspur.chinanet.point.App.main(App.java:)

  空指针是spring的注入问题,这里说明可执行jar包出炉了。但如果我把这个新鲜烤出来的jar包复制到另一个地方,比如E盘,再执行就报找不到依赖的jar包了:

E:\>java -jar point-circle-0.0.-SNAPSHOT.jar
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: com/vividsolutions/jts/io/ParseException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:)
at java.lang.Class.privateGetMethodRecursive(Class.java:)
at java.lang.Class.getMethod0(Class.java:)
at java.lang.Class.getMethod(Class.java:)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:)
Caused by: java.lang.ClassNotFoundException: com.vividsolutions.jts.io.ParseException
at java.net.URLClassLoader.findClass(URLClassLoader.java:)
at java.lang.ClassLoader.loadClass(ClassLoader.java:)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:)
at java.lang.ClassLoader.loadClass(ClassLoader.java:)
... more

  看来这个面包只能在面包店里吃了,我打包带走就吃不了。这是因为classpath已经设定了依赖jar包的位置了,只能到当前目录target的lib目录下找,你拿到其他地方还想跑也可以,那么请你一并把lib目录复制过去吧。难道我吃个面包还得随身带个烤面包机吗?是的,但是我们不用到处复制,把烤面包机放进面包里就可以了。这里我们就要用到另一个maven插件了,它可以把我们所依赖的jar包一并打入我们自己的jar包里。我们干掉之前那两个plugin,换成maven-assembly-plugin这个plugin,改后的pom文件:

<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.inspur.chinanet</groupId>
<artifactId>point-circle</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging> <name>point-circle</name>
<url>http://maven.apache.org</url> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties> <dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>4.3.12.RELEASE</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>com.vividsolutions</groupId>
<artifactId>jts</artifactId>
<version>1.8</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.2.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>com.inspur.chinanet.point.App</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

  再次执行打包命令:

E:\workspace\point-circle>mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building point-circle 0.0.-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ point-circle ---
[INFO] Deleting E:\workspace\point-circle\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ point-circle ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\workspace\point-circle\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ point-circle ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling source files to E:\workspace\point-circle\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ point-circle ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\workspace\point-circle\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ point-circle ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling source file to E:\workspace\point-circle\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.:test (default-test) @ point-circle ---
[INFO] Surefire report directory: E:\workspace\point-circle\target\surefire-reports -------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.inspur.chinanet.point.AppTest
Tests run: , Failures: , Errors: , Skipped: , Time elapsed: 0.068 sec Results : Tests run: , Failures: , Errors: , Skipped: [INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ point-circle ---
[INFO] Building jar: E:\workspace\point-circle\target\point-circle-0.0.-SNAPSHOT.jar
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-:single (make-assembly) @ point-circle ---
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-common-artifact-filters/1.1/maven-common-artifact-filters-1.1.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-common-artifact-filters/1.1/maven-common-artifact-filters-1.1.pom (3 KB at 6.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.pom (7 KB at 18.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-components/7/maven-shared-components-7.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-components/7/maven-shared-components-7.pom (3 KB at 8.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-core/2.0/maven-core-2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-core/2.0/maven-core-2.0.pom (6 KB at 17.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-settings/2.0/maven-settings-2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-settings/2.0/maven-settings-2.0.pom (2 KB at 3.8 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-parameter-documenter/2.0/maven-plugin-parameter-documenter-2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-parameter-documenter/2.0/maven-plugin-parameter-documenter-2.0.pom (2 KB at 4.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.pom (2 KB at 2.7 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/reporting/maven-reporting/2.0/maven-reporting-2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/reporting/maven-reporting/2.0/maven-reporting-2.0.pom (504 B at 1.6 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.pom (2 KB at 2.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-error-diagnostics/2.0/maven-error-diagnostics-2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-error-diagnostics/2.0/maven-error-diagnostics-2.0.pom (812 B at 2.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-registry/2.0/maven-plugin-registry-2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-registry/2.0/maven-plugin-registry-2.0.pom (2 KB at 3.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-monitor/2.0/maven-monitor-2.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-monitor/2.0/maven-monitor-2.0.pom (400 B at 1.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/1.4.2/plexus-utils-1.4.2.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/1.4.2/plexus-utils-1.4.2.pom (2 KB at 17.7 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.pom (2 KB at 8.8 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom (2 KB at 15.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.pom (767 B at 9.7 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom (6 KB at 65.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-interpolation/1.7/plexus-interpolation-1.7.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-interpolation/1.7/plexus-interpolation-1.7.pom (3 KB at 8.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-archiver/1.0-alpha-12/plexus-archiver-1.0-alpha-12.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-archiver/1.0-alpha-12/plexus-archiver-1.0-alpha-12.pom (2 KB at 16.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-io/1.0-alpha-4/plexus-io-1.0-alpha-4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-io/1.0-alpha-4/plexus-io-1.0-alpha-4.pom (2 KB at 11.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/file-management/1.1/file-management-1.1.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/file-management/1.1/file-management-1.1.pom (3 KB at 8.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-components/4/maven-shared-components-4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-components/4/maven-shared-components-4.pom (3 KB at 6.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-parent/4/maven-parent-4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-parent/4/maven-parent-4.pom (0 B at 0.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-io/1.0/maven-shared-io-1.0.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-io/1.0/maven-shared-io-1.0.pom (3 KB at 9.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-active-collections/1.0-beta-2/plexus-active-collections-1.0-beta-2.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-active-collections/1.0-beta-2/plexus-active-collections-1.0-beta-2.pom (3 KB at 8.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-container-default/1.0-alpha-22/plexus-container-default-1.0-alpha-22.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-container-default/1.0-alpha-22/plexus-container-default-1.0-alpha-22.pom (3 KB at 9.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-containers/1.0-alpha-22/plexus-containers-1.0-alpha-22.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-containers/1.0-alpha-22/plexus-containers-1.0-alpha-22.pom (2 KB at 5.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-api/2.0.4/maven-plugin-api-2.0.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-api/2.0.4/maven-plugin-api-2.0.4.pom (643 B at 2.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven/2.0.4/maven-2.0.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven/2.0.4/maven-2.0.4.pom (12 KB at 37.4 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-project/2.0.4/maven-project-2.0.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-project/2.0.4/maven-project-2.0.4.pom (2 KB at 5.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-settings/2.0.4/maven-settings-2.0.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-settings/2.0.4/maven-settings-2.0.4.pom (2 KB at 4.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.pom (3 KB at 8.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.pom (2 KB at 4.4 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact-manager/2.0.4/maven-artifact-manager-2.0.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact-manager/2.0.4/maven-artifact-manager-2.0.4.pom (2 KB at 3.6 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-repository-metadata/2.0.4/maven-repository-metadata-2.0.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-repository-metadata/2.0.4/maven-repository-metadata-2.0.4.pom (2 KB at 4.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact/2.0.4/maven-artifact-2.0.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact/2.0.4/maven-artifact-2.0.4.pom (765 B at 2.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-archiver/2.4/maven-archiver-2.4.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-archiver/2.4/maven-archiver-2.4.pom (4 KB at 46.6 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-archiver/1.0-alpha-11/plexus-archiver-1.0-alpha-11.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-archiver/1.0-alpha-11/plexus-archiver-1.0-alpha-11.pom (2 KB at 20.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-container-default/1.0-alpha-15/plexus-container-default-1.0-alpha-15.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-container-default/1.0-alpha-15/plexus-container-default-1.0-alpha-15.pom (2 KB at 18.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-containers/1.0-alpha-15/plexus-containers-1.0-alpha-15.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-containers/1.0-alpha-15/plexus-containers-1.0-alpha-15.pom (2 KB at 19.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-component-api/1.0-alpha-15/plexus-component-api-1.0-alpha-15.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-component-api/1.0-alpha-15/plexus-component-api-1.0-alpha-15.pom (948 B at 25.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-classworlds/1.2-alpha-6/plexus-classworlds-1.2-alpha-6.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-classworlds/1.2-alpha-6/plexus-classworlds-1.2-alpha-6.pom (3 KB at 66.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-io/1.0-alpha-3/plexus-io-1.0-alpha-3.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-io/1.0-alpha-3/plexus-io-1.0-alpha-3.pom (2 KB at 17.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom (3 KB at 23.0 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom (2 KB at 21.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom (3 KB at 41.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/2.0.1/plexus-utils-2.0.1.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/2.0.1/plexus-utils-2.0.1.pom (4 KB at 10.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.pom (4 KB at 8.6 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-common-artifact-filters/1.0-alpha-1/maven-common-artifact-filters-1.0-alpha-1.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-common-artifact-filters/1.0-alpha-1/maven-common-artifact-filters-1.0-alpha-1.pom (2 KB at 4.7 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-components/6/maven-shared-components-6.pom
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-shared-components/6/maven-shared-components-6.pom (4 KB at 8.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.jar
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-archiver/1.0-alpha-12/plexus-archiver-1.0-alpha-12.jar
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-common-artifact-filters/1.1/maven-common-artifact-filters-1.1.jar
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-interpolation/1.7/plexus-interpolation-1.7.jar
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/file-management/1.1/file-management-1.1.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-archiver/1.0-alpha-12/plexus-archiver-1.0-alpha-12.jar (173 KB at 1857.8 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact-manager/2.0.2/maven-artifact-manager-2.0.2.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.jar (32 KB at 60.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-repository-metadata/2.0.2/maven-repository-metadata-2.0.2.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-repository-metadata/2.0.2/maven-repository-metadata-2.0.2.jar (20 KB at 18.2 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-active-collections/1.0-beta-2/plexus-active-collections-1.0-beta-2.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-interpolation/1.7/plexus-interpolation-1.7.jar (50 KB at 45.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-io/1.0-alpha-4/plexus-io-1.0-alpha-4.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/file-management/1.1/file-management-1.1.jar (31 KB at 21.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-api/2.0.4/maven-plugin-api-2.0.4.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-common-artifact-filters/1.1/maven-common-artifact-filters-1.1.jar (30 KB at 19.9 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-project/2.0.4/maven-project-2.0.4.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact-manager/2.0.2/maven-artifact-manager-2.0.2.jar (49 KB at 32.1 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-active-collections/1.0-beta-2/plexus-active-collections-1.0-beta-2.jar (21 KB at 12.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-archiver/2.4/maven-archiver-2.4.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-io/1.0-alpha-4/plexus-io-1.0-alpha-4.jar (48 KB at 27.4 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/2.0.1/plexus-utils-2.0.1.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-project/2.0.4/maven-project-2.0.4.jar (107 KB at 59.5 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact/2.0.4/maven-artifact-2.0.4.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-archiver/2.4/maven-archiver-2.4.jar (20 KB at 10.4 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-plugin-api/2.0.4/maven-plugin-api-2.0.4.jar (9 KB at 4.3 KB/sec)
Downloading: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.jar
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.jar (30 KB at 14.7 KB/sec)
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/codehaus/plexus/plexus-utils/2.0.1/plexus-utils-2.0.1.jar (217 KB at 101.0 KB/sec)
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-artifact/2.0.4/maven-artifact-2.0.4.jar (79 KB at 33.4 KB/sec)
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.jar (79 KB at 33.2 KB/sec)
Downloaded: http://211.140.17.101:8031/nexus/content/groups/group_migu/org/apache/maven/shared/maven-repository-builder/1.0-alpha-2/maven-repository-builder-1.0-alpha-2.jar (23 KB at 9.2 KB/sec)
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] org/springframework/scheduling/ already added, skipping
[INFO] org/springframework/ui/ already added, skipping
[INFO] org/springframework/cache/ already added, skipping
[INFO] META-INF/spring.tooling already added, skipping
[INFO] META-INF/spring.schemas already added, skipping
[INFO] META-INF/spring.handlers already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] META-INF/spring.tooling already added, skipping
[INFO] META-INF/spring.schemas already added, skipping
[INFO] META-INF/spring.handlers already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] org/springframework/remoting/ already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] org/springframework/web/ already added, skipping
[INFO] META-INF/spring.tooling already added, skipping
[INFO] META-INF/spring.schemas already added, skipping
[INFO] META-INF/spring.handlers already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] META-INF/spring.tooling already added, skipping
[INFO] META-INF/spring.schemas already added, skipping
[INFO] META-INF/spring.handlers already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] META-INF/spring.tooling already added, skipping
[INFO] META-INF/spring.schemas already added, skipping
[INFO] META-INF/spring.handlers already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/apache/ already added, skipping
[INFO] org/apache/commons/ already added, skipping
[INFO] META-INF/NOTICE.txt already added, skipping
[INFO] META-INF/LICENSE.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/apache/ already added, skipping
[INFO] org/apache/commons/ already added, skipping
[INFO] META-INF/NOTICE.txt already added, skipping
[INFO] META-INF/LICENSE.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] Building jar: E:\workspace\point-circle\target\point-circle-0.0.-SNAPSHOT-jar-with-dependencies.jar
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] org/springframework/scheduling/ already added, skipping
[INFO] org/springframework/ui/ already added, skipping
[INFO] org/springframework/cache/ already added, skipping
[INFO] META-INF/spring.tooling already added, skipping
[INFO] META-INF/spring.schemas already added, skipping
[INFO] META-INF/spring.handlers already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] META-INF/spring.tooling already added, skipping
[INFO] META-INF/spring.schemas already added, skipping
[INFO] META-INF/spring.handlers already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] org/springframework/remoting/ already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] org/springframework/web/ already added, skipping
[INFO] META-INF/spring.tooling already added, skipping
[INFO] META-INF/spring.schemas already added, skipping
[INFO] META-INF/spring.handlers already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] META-INF/spring.tooling already added, skipping
[INFO] META-INF/spring.schemas already added, skipping
[INFO] META-INF/spring.handlers already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/springframework/ already added, skipping
[INFO] META-INF/spring.tooling already added, skipping
[INFO] META-INF/spring.schemas already added, skipping
[INFO] META-INF/spring.handlers already added, skipping
[INFO] META-INF/notice.txt already added, skipping
[INFO] META-INF/license.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/apache/ already added, skipping
[INFO] org/apache/commons/ already added, skipping
[INFO] META-INF/NOTICE.txt already added, skipping
[INFO] META-INF/LICENSE.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] org/apache/ already added, skipping
[INFO] org/apache/commons/ already added, skipping
[INFO] META-INF/NOTICE.txt already added, skipping
[INFO] META-INF/LICENSE.txt already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ point-circle ---
[INFO] Installing E:\workspace\point-circle\target\point-circle-0.0.-SNAPSHOT.jar to E:\Users\wulf\.m2\repository\com\inspur\chinanet\point-circle\0.0.-SNAPSHOT\point-circle-0.0.-SNAPSHOT.jar
[INFO] Installing E:\workspace\point-circle\pom.xml to E:\Users\wulf\.m2\repository\com\inspur\chinanet\point-circle\0.0.-SNAPSHOT\point-circle-0.0.-SNAPSHOT.pom
[INFO] Installing E:\workspace\point-circle\target\point-circle-0.0.-SNAPSHOT-jar-with-dependencies.jar to E:\Users\wulf\.m2\repository\com\inspur\chinanet\point-circle\0.0.-SNAPSHOT\point-circle-0.0.-SNAPSHOT-jar-with-dependencies.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.621 s
[INFO] Finished at: --26T11::+:
[INFO] Final Memory: 29M/230M
[INFO] ------------------------------------------------------------------------

  这次生成的jar包里多了很多东西,而且名称也变了:point-circle-0.0.1-SNAPSHOT-jar-with-dependencies.jar。我们把它复制到E盘执行,这次没问题了:

C:\Users\wulf>e:

E:\>java -jar point-circle-0.0.-SNAPSHOT-jar-with-dependencies.jar
Exception in thread "main" java.lang.NullPointerException
at com.inspur.chinanet.point.App.main(App.java:)

  还可以用另外一个插件maven-shade-plugin来代替maven-assembly-plugin,修改后的pom文件如下:

<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.inspur.chinanet</groupId>
<artifactId>point-circle</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging> <name>point-circle</name>
<url>http://maven.apache.org</url> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties> <dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>4.3.12.RELEASE</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>4.3.12.RELEASE</version>
</dependency>
<dependency>
<groupId>com.vividsolutions</groupId>
<artifactId>jts</artifactId>
<version>1.8</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.2.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.inspur.chinanet.point.App</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

  执行maven打包:

E:\workspace\point-circle>mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building point-circle 0.0.-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ point-circle ---
[INFO] Deleting E:\workspace\point-circle\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ point-circle ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ point-circle ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling source files to E:\workspace\point-circle\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ point-circle ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\workspace\point-circle\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ point-circle ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling source file to E:\workspace\point-circle\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.:test (default-test) @ point-circle ---
[INFO] Surefire report directory: E:\workspace\point-circle\target\surefire-reports -------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.inspur.chinanet.point.AppTest
Tests run: , Failures: , Errors: , Skipped: , Time elapsed: 0.036 sec Results : Tests run: , Failures: , Errors: , Skipped: [INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ point-circle ---
[INFO] Building jar: E:\workspace\point-circle\target\point-circle-0.0.-SNAPSHOT.jar
[INFO]
[INFO] --- maven-shade-plugin:2.4.:shade (default) @ point-circle ---
[INFO] Including org.springframework:spring-core:jar:4.3..RELEASE in the shaded jar.
[INFO] Including commons-logging:commons-logging:jar:1.2 in the shaded jar.
[INFO] Including org.springframework:spring-context-support:jar:4.3..RELEASE in the shaded jar.
[INFO] Including org.springframework:spring-beans:jar:4.3..RELEASE in the shaded jar.
[INFO] Including org.springframework:spring-context:jar:4.3..RELEASE in the shaded jar.
[INFO] Including org.springframework:spring-aop:jar:4.3..RELEASE in the shaded jar.
[INFO] Including org.springframework:spring-expression:jar:4.3..RELEASE in the shaded jar.
[INFO] Including org.springframework:spring-web:jar:4.3..RELEASE in the shaded jar.
[INFO] Including org.springframework:spring-webmvc:jar:4.3..RELEASE in the shaded jar.
[INFO] Including org.springframework:spring-jdbc:jar:4.3..RELEASE in the shaded jar.
[INFO] Including org.springframework:spring-tx:jar:4.3..RELEASE in the shaded jar.
[INFO] Including com.vividsolutions:jts:jar:1.8 in the shaded jar.
[INFO] Including commons-dbcp:commons-dbcp:jar:1.2. in the shaded jar.
[INFO] Including commons-pool:commons-pool:jar:1.3 in the shaded jar.
[INFO] Including com.oracle:ojdbc14:jar:10.2.0.2. in the shaded jar.
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing E:\workspace\point-circle\target\point-circle-0.0.-SNAPSHOT.jar with E:\workspace\point-circle\target\point-circle-0.0.-SNAPSHOT-shaded.jar
[INFO] Dependency-reduced POM written at: E:\workspace\point-circle\dependency-reduced-pom.xml
[INFO] Dependency-reduced POM written at: E:\workspace\point-circle\dependency-reduced-pom.xml
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ point-circle ---
[INFO] Installing E:\workspace\point-circle\target\point-circle-0.0.-SNAPSHOT.jar to E:\Users\wulf\.m2\repository\com\inspur\chinanet\point-circle\0.0.-SNAPSHOT\point-circle-0.0.-SNAPSHOT.jar
[INFO] Installing E:\workspace\point-circle\dependency-reduced-pom.xml to E:\Users\wulf\.m2\repository\com\inspur\chinanet\point-circle\0.0.-SNAPSHOT\point-circle-0.0.-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.557 s
[INFO] Finished at: --26T16::+:
[INFO] Final Memory: 28M/195M
[INFO] ------------------------------------------------------------------------

  注意这里会生成两个jar,一个带original前缀一个没带,我们要用的是没带的。

让maven生成可运行jar包的更多相关文章

  1. maven 打包可运行jar包(转)

    目录 1.前提 2.方法一:使用maven-jar-plugin和maven-dependency-plugin插件打包 3.方法二:使用maven-assembly-plugin插件打包 4.方法三 ...

  2. spring boot maven打包可运行jar包

    普通打包之后在程序目录运行,或者编写bat运行时会提示“没有主清单属性”,这是因为并没有找到main()方法,需要我们指明告诉java程序 我bat中的代码 @echo off title mytit ...

  3. 使用maven生成可执行jar包(包含依赖)

    零零散散找了一些文章,有些感觉好乱,自己整理一下 以下是pom.xml里的配置,本来有很多依赖包,为了不让配置看着很长,我删了一些dependencies中我自己项目中引入的jar包 <proj ...

  4. gradle结合spring-boot生成可运行jar包,并打印日志

    1.用gradle把springboot项目打包成jar 1.1 build.gradle 中添加 buildscript { repositories { mavenLocal() maven { ...

  5. 利用MAVEN打包可运行jar包,包括依赖的第三方包

    转载自:http://bglmmz.iteye.com/blog/2058914 背景: 另一篇文章说了如何利用IDEA来打包,现在来说说如何利用MAVEN打包 目标:应用本身打成一个jar包,依赖的 ...

  6. 【Maven学习】Maven打包生成普通jar包、可运行jar包、包含所有依赖的jar包

    http://blog.csdn.net/u013177446/article/details/54134394 ******************************************* ...

  7. IDEA配置打可运行jar包

    IDEA打包可以运行的jar包大体有两种方式:一种是比较方便的配置maven:一种是直接配置IDEA采用Build Artifacts打包. 配置maven打包,在pom.xml里面配置build插件 ...

  8. JAVA生成(可执行)Jar包的全面详解说明 [打包][SpringBoot][Eclipse][IDEA][Maven][Gradle][分离][可执行]

    辛苦所得,转载还请注明: https://www.cnblogs.com/applerosa/p/9739007.html  得空整理了关于java 开发中,所有打包方式的 一个操作方法, 有基于ID ...

  9. Maven将java项目打包生成可运行jar

    Maven将java项目打包生成可运行jar Maven插件配置 <plugins> <plugin> <groupId>org.apache.maven.plug ...

随机推荐

  1. linux 挂在新硬盘

    记录一下    全忘了..... PS 测试服务器的主板太差劲了,没有多余的电源接口,只能把光驱的电源拿出来,才能让硬盘使用.把硬盘装好后,我们用 fdisk -l 查看下: 图中可以看出 /dev/ ...

  2. mysql简单的增删改查

    增加 MYSQL>insert into class (stu,name,age) values (1,'zhangsan',23);(回车) 另外,如果输入的是中文的话,在windows下可能 ...

  3. C语言,C#,Java,JavaScript之强类型与弱类型

    奇葩的我今天想到一个坑爹的问题,都说Java是强类型的语言,JavaScript是弱类型的语言. 嗯嗯,那初学时候的C语言呢? 呵呵哒,突然觉得短路了.说Java是强类型的语言是因为遇到这样的情况: ...

  4. 深入理解SELECT ... LOCK IN SHARE MODE和SELECT ... FOR UPDATE

    概念和区别 SELECT ... LOCK IN SHARE MODE走的是IS锁(意向共享锁),即在符合条件的rows上都加了共享锁,这样的话,其他session可以读取这些记录,也可以继续添加IS ...

  5. 二路归并排序,利用递归,时间复杂度o(nlgn)

    public class MergeSort { public void mergeSort(int[]data, int left, int right) { if(left >= right ...

  6. docker之DockerSwarm的了解

    这次一起了解下docker Swarm,什么是dockerSwarm. 什么是docker Swarm 产品背景 使用docker的流程,ssh到一台服务器,运行docker命令来运行本机的docke ...

  7. BZOJ 1185 [HNOI2007]最小矩形覆盖:凸包 + 旋转卡壳

    题目链接:https://www.lydsy.com/JudgeOnline/problem.php?id=1185 题意: 给出二维平面上的n个点,问你将所有点覆盖的最小矩形面积. 题解: 先找出凸 ...

  8. canvas画的北斗七星和大熊座

    用canvas画的北斗七星和大熊座,主要用到的知识点是:canvas.定时器. html代码: <body> <canvas id="canvas" width= ...

  9. jmeter的学习(配置环境)

    jmeter是一款开源工具.解压即可使用 前提要安装配置jdk.验证jdk是否安装配置成功.运行cmd输入“ java -version” 如上图所示.jdk安装配置成功:64位版本1.8 现在即可进 ...

  10. Shell 自定义函数

    语法: function fname() { 程序段} 例子: #!/bin/bash ## 定义函数,分子除以分母,算利润.占有率等## 参数1:分子## 参数2:分母 function divfu ...