social-apiの設定を元に役割を説明します。
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<!-- 親要素 -->
<parent>
<!-- プロジェクトの識別の名前 ルートパッケージ名が一般的 -->
<groupId>com.aipo.container</groupId>
<!-- 作ったものの名前 -->
<artifactId>aipo-container</artifactId>
<!-- バージョン -->
<version>8.0.1-draft</version>
<!-- 相対パス -->
<relativePath>../pom-draft.xml</relativePath>
</parent>
<!-- プロジェクト設定 -->
<groupId>com.aipo</groupId>
<artifactId>aipo-social-api</artifactId>
<packaging>jar</packaging>
<name>Aipo OpenSocial Container Social API</name>
<!-- ビルド設定 -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<configuration>
<target>
<copy todir="../war/target/container/WEB-INF/lib"
verbose="false" overwrite="true">
<fileset dir="./target" includes="*.jar" />
</copy>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- 依存関係 -->
<dependencies>
<dependency>
<groupId>com.aipo.container</groupId>
<artifactId>aipo-container-core</artifactId>
<version>${aipo.version}</version>
</dependency>
</dependencies>
</project>


