Gld Extension Release Module pom.xml: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "<pre> <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/PO...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Internal=
* [[Gld_Extension_Development#New_Extension|gld Extension Development]]
=Template=
<pre>
<pre>
<project xmlns="http://maven.apache.org/POM/4.0.0"
<project xmlns="http://maven.apache.org/POM/4.0.0"
Line 9: Line 15:


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


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


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

Latest revision as of 21:14, 19 January 2017

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>