Skip to content

ef-labs/oss-parent-vertx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 

Repository files navigation

Englishtown oss-parent-vertx

This should be the parent pom for Englishtown OSS vert.x 3.x maven projects.

Configuration

Add the following to your pom:

Parent pom

    <parent>
        <groupId>com.englishtown</groupId>
        <artifactId>oss-parent-vertx</artifactId>
        <version>2.0.0-SNAPSHOT</version>
    </parent>

Distribution site element.

This cannot be added in the parent due to this issue: http://jira.codehaus.org/browse/SCM-531

    <distributionManagement>
        <site>
            <id>sling.englishtown.com</id>
            <url>
                dav:https://sling.englishtown.com/content/docs/${project.groupId}/${project.artifactId}/${project.version}
            </url>
        </site>
    </distributionManagement>

SCM element

This cannot be added in the parent due to this issue: http://jira.codehaus.org/browse/SCM-531

    <scm>
        <connection>scm:git:https://github.com/englishtown/${project.artifactId}.git</connection>
        <developerConnection>scm:git:ssh://git@github.com/englishtown/${project.artifactId}.git</developerConnection>
        <tag>HEAD</tag>
        <url>https://github.com/englishtown/${project.artifactId}</url>
    </scm>

Maven plugins

Note: Currently unavailable for vert.x 3

    <build>
        <plugins>
            <plugin>
                <groupId>io.vertx</groupId>
                <artifactId>vertx-maven-plugin</artifactId>
                <!--
                You can specify a configFile and number of instances to run for the runMod task here if you want
                <configuration>
                    <configFile>/path/to/MyVerticle.conf</configFile>
                    <instances>1</instances>
                </configuration>
                -->
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

Example commands

Snapshot deployment

mvn clean deploy

jgitflow

mvn jgitflow:release-start

mvn jgitflow:release-finish

About

Parent pom for OSS vert.x projects

Resources

Stars

Watchers

Forks

Packages

No packages published