1.构建基本配置工程:
即简单的一个pom文件定义基本的内容,目前本事例只是修改配置deploy相关的配置,配置如下:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.wmmad</groupId>
<artifactId>all</artifactId>
<version>1</version>
<packaging>pom</packaging>
<distributionManagement>
<repository>
<id>wmmad.releases</id>
<name>releases</name>
<url>http://localhost:8081/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>