Questions tagged [wildfly-maven-plugin]

for questions related to the WildFly Maven Plugin, developed by the JBoss.org Community

This is for questions related to the WildFly Maven Plugin, developed by the JBoss.org Community

The WildFly Maven Plugin (wildfly-maven-plugin) is used to deploy, redeploy, undeploy or run your application. You can also deploy or undeploy artifacts, such as JDBC drivers, and add or remove resources. There is also the ability to execute CLI commands.

Homepage

https://docs.jboss.org/wildfly/plugins/maven/latest/

18 questions
3
votes
2 answers

How can I change WildFly listening ports with Maven?

I'm using wildfly-maven-plugin for my integration tests. How can I change port default numbers(8080, 8443)? I couldn't find any configuration property for those port numbers. UPDATE I tried yntelectual's answer but ports numbers are still in their…
Jin Kwon
  • 20,295
  • 14
  • 115
  • 184
1
vote
1 answer

Wildfly Maven Plugin - commands seem to have no effect

I am using the Wildfly Maven Plugin and it is working, in that it turns on, runs web application, however I am having trouble with my custom configurations, namely: Setting the Root logger and Console logger to debug mode Allowing connections from…
E.S.
  • 2,733
  • 6
  • 36
  • 71
1
vote
1 answer

WildFly-maven-plugin: WFLYCTL0412: Required services that are not installed:

I am trying to configure WildFly using wildfly-maven-plugin and I keep getting different exceptions, but non of my approaches works. Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:2.0.1.Final:execute-commands (Configure2) on…
Serafins
  • 1,237
  • 1
  • 17
  • 36
1
vote
1 answer

Wildfly 15 wildfly-maven-plugin

We're planning to migrate from Wildfly 8.2.1 to Wildfly 15. However, we're getting an error executing Wildfly Maven Plugin. It's complaining about an Unexpected element '{urn:jboss:cli:3.4}jboss-cli' and jboss-cli.xml: ParseError at…
jersey-city-ninja
  • 1,038
  • 11
  • 23
0
votes
1 answer

Wildfly Maven Plugin does not keep the Wildfly instance running in the background

I have a continuous build job for a Maven Java Project and I need the built application to be deployed to a WildFly 21 instance at the end of the job, which must be kept up and running. Since it's a Maven project, I'm planning on using WildFly Maven…
0
votes
0 answers

Over wildfly-maven-plugin - JBoss DB driver connection addition using maven command failing

We are using wildfly-maven-plugin configured in pom.xml. Over that we are trying to install Oracle DB Driver and trying to configure DB Connection Pool in JBoss subsystem. Please find the pom.xml configuration for wildfly-maven-plugin …
Dev Anand Sadasivam
  • 699
  • 7
  • 21
  • 49
0
votes
0 answers

How can I deploy two projects with the mvn wildfly:run command

Can I deploy two projects while using the command maven mvn wildfly:run My two projects are defined in a parent pom.xml file like so ... project-rest-api web-frontend ... Both projects…
ScottFree
  • 582
  • 6
  • 23
0
votes
1 answer

Is there a way to run a Wildfly bootable jar with external configurations?

I am currently evaluating if Wildfly bootable jar is a valid candidate to migrate from Thorntail. I am having trouble finding a way to externalize application properties. Is there a way to have external properties such as HTTP ports, JDBC drivers…
0
votes
0 answers

Why does the wildfly server started from the wildfly-maven-plugin not shutdown?

I start a wildfly server from the wildfly-maven-plugin in order to perform integration-tests. Every once in a while, the server does not shut down properly, and the java process does not terminate. I get: WARN [org.jboss.as.controller]…
0
votes
1 answer

wildfly-maven-plugin wildfly:start blocks if management-port is not 9990

The behavior of wildfly:start (Maven-Goals of the wildfly-maven-plugin) seems wrong when I change the (management-)port (see https://docs.jboss.org/wildfly/plugins/maven/latest/examples/run-example.html for description). wildfly:start should not…
Igor
  • 1,582
  • 6
  • 19
  • 49
0
votes
2 answers

wildfly.maven.plugin deploys nothing if packaging is set to pom

I am using Maven in order to automatically download a dependency, set up (and start) the JBoss server and deploy that downloaded dependency there. I created a pom.xml, which uses several Maven-Plugins. For JBoss-related interactions I am using the…
Igor
  • 1,582
  • 6
  • 19
  • 49
0
votes
2 answers

Duplicate classes wildfly maven plugin

I am using the wildfly-maven-plugin version 1.0.2.Final. When I run mvn install wildfly:deploy I get compilation errors for duplicate classes. These errors do not occur when I run the build without deploying.
ABC123
  • 1,037
  • 2
  • 20
  • 44
0
votes
0 answers

Wildfly Maven Plugin not updating config

We used to be able to update our Wildfly app server configuration (standalone-full-ha.xml) using wildfly-maven-plugin 1.0.2.Final. It stopped working when we switched to version 1.2.2.Final. We're still on Wildfy 8.2.1. I had to upgrade the plugin…
jersey-city-ninja
  • 1,038
  • 11
  • 23
0
votes
1 answer

wildfly-maven-plugin deployment over SSL works once then "connection error"

I'm getting a weird behavior after securing Wildfly Admin console to use HTTPS, and configuring my pom.xml to deploy over https. (I tried on versions 8.2.1 and 10.1.0, standalone mode). I can only (re)deploy once successfully. After that, I get…
jersey-city-ninja
  • 1,038
  • 11
  • 23
0
votes
1 answer

Maven wildfly deployment with multiple servers (standalone)

in my environment I have two wildfly server where I want to deploy with the wildfly-maven-plugin. The servers differ in the name dev01 and dev02 but have the same port 9993 and username and password. My understanding is that the wildfly-maven-plugin…
1
2