Gld Extension Release Module pom.xml

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Template

<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>

    <name>GLD Extension for JBoss Data Grid 7 Release Module</name>

    <parent>
        <groupId>io.novaordis.gld.extensions.jboss-datagrid</groupId>
        <artifactId>jboss-datagrid-7-root</artifactId>
        <version>1.0.0-SNAPSHOT-24</version>
    </parent>

    <artifactId>jboss-datagrid-7-release</artifactId>
    <packaging>pom</packaging>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.6</version>
                <configuration>
                    <!--
                          finalName impacts only the locally built artifact, not the name of the artifact that gets
                          deployed in the repository.
                    -->
                    <finalName>${extension.name}-${project.version}</finalName>
                    <appendAssemblyId>false</appendAssemblyId>
                    <descriptors>
                        <descriptor>src/assembly/release.xml</descriptor>
                    </descriptors>
                </configuration>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>io.novaordis.gld.extensions.jboss-datagrid</groupId>
            <artifactId>jboss-datagrid-7</artifactId>
            <version>${project.version}</version>
        </dependency>
    </dependencies>

</project>