Wildfly server plugin

The wildfly server plugin

License

License

Categories

Categories

WildFly Container Application Servers Maven Build Tools
GroupId

GroupId

org.lorislab.maven
ArtifactId

ArtifactId

wildfly-maven-plugin
Last Version

Last Version

1.2.3
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Wildfly server plugin
The wildfly server plugin
Project URL

Project URL

https://github.com/lorislab-archived/wildfly-maven-plugin
Project Organization

Project Organization

lorislab
Source Code Management

Source Code Management

https://github.com/lorislab-archived/wildfly-maven-plugin

Download wildfly-maven-plugin

How to add to project

<plugin>
    <groupId>org.lorislab.maven</groupId>
    <artifactId>wildfly-maven-plugin</artifactId>
    <version>1.2.3</version>
</plugin>

Dependencies

compile (5)

Group / Artifact Type Version
org.apache.maven : maven-project jar 2.2.1
org.apache.maven : maven-plugin-api jar 3.3.1
commons-io : commons-io jar 2.6
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Deploy your application to the Wildfly server

License CircleCI Maven Central GitHub tag (latest SemVer)

Goals

  • deploy - copy the artifact to the local wildfly server.
  • docker-deploy - copy the artifact to the wildfly docker container.
  • docker-undeploy - delete the artifact from the wildfly docker container.

Parameters

absolutePath

  • description: The deployments absolute path directory.
  • property: org.lorislab.maven.wildfly.server.path
  • default: <not_defined>
  • goals:
    • docker-deploy
    • docker-undeploy
    • deploy

pattern

  • description: The file pattern for delete artifact from server deployments directory.
  • property: org.lorislab.maven.wildfly.pattern
  • default: ${project.artifactId}-*.${project.packaging}
  • goals:
    • docker-undeploy

targetDirName

  • description: The directory name in the deploy directory.
  • property:
  • default: ${project.build.finalName}.${project.packaging}
  • goals:
    • docker-deploy
    • docker-undeploy
    • deploy

deployDir

  • description: The directory to deploy for exploded
  • property:
  • default: ${project.build.directory}/${project.build.finalName}
  • goals:
    • docker-deploy
    • docker-undeploy
    • deploy

deployFile

  • description: The path of the file to deploy.
  • property:
  • default: ${project.build.directory}/${project.build.finalName}.${project.packaging}
  • goals:
    • docker-deploy
    • docker-undeploy
    • deploy

deployments

  • description: The name of the deployments directory.
  • property: org.lorislab.maven.wildfly.server.deployments
  • default: deployments
  • goals:
    • docker-deploy
    • docker-undeploy
    • deploy

profile

  • description: The profile.
  • property: org.lorislab.maven.wildfly.server.profile
  • default: standalone
  • goals:
    • docker-deploy
    • docker-undeploy
    • deploy

widlflyDir

  • description: The local server directory.
  • property: org.lorislab.maven.wildfly.server.dir
  • default: standalone
  • goals:
    • docker-deploy
    • docker-undeploy
    • deploy

container

  • description: The profile.
  • property: org.lorislab.maven.wildfly.container
  • default: ${project.artifactId}
  • goals:
    • docker-deploy
    • docker-undeploy

exploded

  • description: The exploded flag. If true copy director and not artifact to the server
  • property: org.lorislab.maven.wildfly.exploded
  • default: false
  • goals:
    • docker-deploy
    • docker-undeploy
    • deploy

Examples

Docker

<plugin>
    <groupId>org.lorislab.maven</groupId>
    <artifactId>wildfly-maven-plugin</artifactId>
    <version>1.1.0</version>
    <executions>
        <execution>
            <phase>install</phase>
            <goals>
                <goal>docker-deploy</goal>
            </goals>
            <configuration>
                <container>${project.artifactId}</container>
                <widlflyDir>/opt/jboss/wildfly</widlflyDir>
            </configuration>
        </execution>
    </executions>
</plugin>
<plugin>
    <groupId>org.lorislab.maven</groupId>
    <artifactId>wildfly-maven-plugin</artifactId>
    <version>1.1.0</version>
    <executions>
        <execution>
            <phase>clean</phase>
            <goals>
                <goal>docker-undeploy</goal>
            </goals>
            <configuration>
                <absolutePath>/deployments</absolutePath>
            </configuration>
        </execution>
    </executions>
</plugin>

Localhost

<plugin>
    <groupId>org.lorislab.maven</groupId>
    <artifactId>jboss-server-plugin</artifactId>
    <version>1.1.0</version>
    <executions>
        <execution>
            <phase>install</phase>
            <goals>
                <goal>deploy</goal>
            </goals>
            <configuration>
                <jbossDir>${JBOSS_HOME}</jbossDir>
            </configuration>
        </execution>
    </executions>
</plugin>
org.lorislab.maven

lorislab.org archived projects

Versions

Version
1.2.3
1.2.1