2

I am currently setting up a Java EE project with IntelliJ. For local testing I am using a local Jboss wildfly where I deploy the application via artifacts and a run configuration defined in Idea.

I would like to use the "deployable datasource approach" where the jdbc driver and the corresponding mysql-ds.xml descriptor file is deployed manually to jboss.

In the deployment dialog of the run configuration I am able to choose the driver .jar file but IntelliJ doesn't show the mysql-ds.xml file.

Is there any way to deploy this additional descriptor file outside of an archive?

Arjan Tijms
  • 37,782
  • 12
  • 108
  • 140
peez80
  • 1,583
  • 2
  • 15
  • 32

2 Answers2

0

You can use wildfly-maven-plugin here is complete example how to add datasource

abk
  • 106
  • 1
  • 4
0

you can also use external wildfly home specified at plugin level like this

abk
  • 106
  • 1
  • 4